-
Notifications
You must be signed in to change notification settings - Fork 212
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
Schema object cannot have additionalProperty LB4 App #36
Comments
It’s related to loopbackio/loopback-next#1755. I did not realize that OAS does not allow patternProperties. We need to use a different way to describe headers. |
Thanks @raymondfeng , I just started playing around with this library. |
Are these headers only for ping controller?, I just removed the ping controller spec from openapi.json file and it seems to be running now, albeit still with some complains like (Delete operation having InvalidSchemaType). |
Just for ping controller |
Based on https://swagger.io/docs/specification/data-models/data-types/#object, we can probably use free form object. |
Mario, feel free to submit a patch. Thanks! |
Steps to reproduce
Make sure it works thru browser. Then follow the oasgraph quick start guide as follows:
using wget http://localhost:3000/openapi.json
The following error was received:
Attached openapi.json file.
openapi.json.txt
The text was updated successfully, but these errors were encountered: