effect icon indicating copy to clipboard operation
effect copied to clipboard

HttpApi: Allow different response schemas for different status codes

Open fubhy opened this issue 1 year ago • 0 comments

What is the problem this feature would solve?

Some APIs rightfully respond with different payloads for the 2xx status code spectrum. Currently, the HttpApi module only accounts for a single success schema.

What is the feature you are proposing to solve the problem?

Multiple success schemas should be possible (just like multiple error schemas). Currently, it is e.g not possible to apply different response schemas for different status codes.

What alternatives have you considered?

No response

fubhy avatar Oct 01 '24 10:10 fubhy