-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
References and compatibility with OpenApi #224
Comments
Thanks for the example, I'll try to recreate it and solve it in the next days :) |
Also I see that it is trying to parse the open API schema:
However, I expect it to only parse the components/headers/parameters and not the entire file. After I removed
Despite the fact that open api generator validate it and correctly works with the schema. |
Sorry about the delay, I was a bit busy. Thanks for providing more insight :) |
Hey, I use both async(fro streams) and open(for rest) api. And it's quite common case when it's needed to use some structure for requests and streams at the same time:
This approach will work, but it breaks the sense of schemas - I can't use it for other languages and, for instance, front-end developers can't use it.
But official specification provide refs for such cases:
And the case not only for open api but also for other schemas for async api e.g. when two services use the same structure.
The text was updated successfully, but these errors were encountered: