3
Example support for requests
Source: Kong/insomnia#3563 · opened by @codeasashu
Is your feature request related to a problem? Please describe. I want to add examples for requests (just like they have in postman) to showcase the expected responses, when sharing with a team. This gives a place to share, modify and improve the responses a lot. This is usually the case when APIs are being discussed and designed, before the actual development. This will also help generate expected openapi response definitions (using oneOf) from the pool of examples I have for a request. Describe the solution you'd like Request can have an additional tab, called "examples" where I can input: • expected response HTTP status code (eg. 200) • expected response content type • expected response body (using the code editor) as raw text It should allow me to add as many examples as I can add. For each status codes, I can have multiple examples (which is highly unusual when json schema differs, but why not). Describe alternatives you've c…
No pledges yet. Be the first to back this.
No comments yet.