Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default type of definitions containing "allOf" resolves to "undefined" #1099

Closed
nakamorichi opened this issue Oct 27, 2016 · 4 comments
Closed

Comments

@nakamorichi
Copy link

Reproduce:

https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/yaml/petstore-expanded.yaml

Solution

Treat definitions containing "allOf" as "object".

@saharj
Copy link
Contributor

saharj commented Oct 27, 2016

Would you please tell what you expect to see and what you get instead?

@nakamorichi
Copy link
Author

nakamorichi commented Oct 28, 2016

As it says in the topic, I get "undefined", whereas in the case of other objects the UI doesn't show any type. You can easily see by trying the example I linked.

@stephanebachelier
Copy link

It's related to #476

@saharj
Copy link
Contributor

saharj commented Nov 1, 2016

@Kitanotori It seems this issue is somehow related to another one, so I'm going to close this. You can follow more about the issue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants