Replies: 1 comment 1 reply
-
Hey @codrutzu, thanks for the kind words!
Could you elaborate on what you're trying to achieve? Are you asking about the ability to define and test different response bodies for the same HTTP status code, for schemes like this: paths:
/foo:
post:
responses:
'400':
description: Bad request
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ValidationError'
- $ref: '#/components/schemas/AnotherError' |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
First of all, congratulations! I've been following this gem for a while and I was very tempted to use it in a numerous occasions. Today I had the opportunity to create an external API and decided to give it a try since Apipie does not have a support for separate set of controllers. It went really fast and was very pleased with the result. The only thing that felt missing from testing the endpoints was having a different expect for each scenarios of the same error code. I noticed in the future plans you mentioned this is on the list as well. Do we have any timeline for these plans?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions