-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support more options for openapi3 responses #59
Support more options for openapi3 responses #59
Conversation
We can access it without passing as an argument
@tuwilof I made a small refactoring, hope it doesn't bother you. Now tests are failing because more info has appeared about responses that use references (for example 404s ones). But I think now it is working right because there was information missing: there was no schema. What do you think? |
Thanks, this refactoring is good. Yes, now the work is going right. You can change the speed.json test file so that the test doesn't fail, and then I'll merge PR. |
Ok, I'll change it. Only seems that it breaks compatibility... |
And also allow using $ref in response
ef81d3d
to
47d8389
Compare
I have published your changes in the new version of the tomograph 3.2.0 |
Thank you so much for being so cooperative! |
This request adds missing support for parsing responses with the same status code, but different content types. E.g.:
It also adds good support for using
$ref
in aresponses
like this:And also add support for responses without payloads: