-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
This question could be related to #13
Having an OpenAPI document and the API implementation, we would like to check whether the API is in compliance with the contract.
In an OpenAPI document you can specify more than one response code with different body in each case. It would be nice we could test each one by making multiple requests for the same endpoint, one for each status code.
To obtain different response types from the API we could add an extra parameter that could be specified using OpenAPI extension x-something https://swagger.io/docs/specification/openapi-extensions/ that would result in a header that API will interpret to return the desired response.
What do you think about?
jorgecasar
Metadata
Metadata
Assignees
Labels
No labels