-
Notifications
You must be signed in to change notification settings - Fork 13
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
swagger.json handle properties under 'allOf' #3
Comments
Thanks for this bug report. Is this something you would want to try your hand at creating a PR? It looks like we will need to do a few things:
https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/ |
Hi, Thanks for your quick response. |
Fixed in version 1.1.0 |
Thanks for the quick fix! 👌🏼 |
This appears to still be broken in 1.1.2? First time using this package, but I'm getting this same exact error. |
Affirmative, it also wasn't fixed in my case, but forgot to report that back. |
Thanks. Can the both of you provide me with a minimal openapi/swagger doc that reproduces the issue. Are your documents OpenAPI 3 or 2 (Swagger)? In 1.1.0 we changed to use We have a very simple test for this - but with the help of your minimal reproducing specs we should be able to:
|
Hi, thanks for this nice package.
However, we are currently unable to generate a form due to the following error:
Our swagger.json contains several definitions that are structured like this:
We did nothing special to the swagger configuration that I know of.
the generator-lib.js though, searches for "properties" as a direct child property which it cannot find in this case, because the properties are within an child under the "allOf" property.
anything we can do to resolve this?
The text was updated successfully, but these errors were encountered: