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

null output when trying to load the following sample swagger specs #17

Closed
guptasu opened this issue Dec 15, 2016 · 2 comments
Closed

null output when trying to load the following sample swagger specs #17

guptasu opened this issue Dec 15, 2016 · 2 comments
Assignees

Comments

@guptasu
Copy link
Contributor

guptasu commented Dec 15, 2016

Test files live inside directory:

https://github.com/googleapis/api-compiler/tree/master/src/test/java/com/google/api/tools/framework/importers/swagger/testdata

library_example_yaml.yaml
additional_properties.json
top_level_security_ext.json
x_google_allow_extension_all.json
x_google_allow_extension_all_with_existing_catchall_methods.json

@timburks May be the change you are making currently to make some real world swagger files work, would automatically fix this problem.

@timburks
Copy link
Contributor

These specs all load following this commit. The problem was that the generator was missing support for pattern properties at the top level.

@timburks timburks self-assigned this Dec 16, 2016
@guptasu
Copy link
Contributor Author

guptasu commented Dec 16, 2016

Cool. thanks

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

No branches or pull requests

2 participants