Default output and error behavior for call:http,openapi,grpc #978
-
Currently the default output behavior for the
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
On a side note, this discussion also applies to OpenAPI and GRPC afaik. |
Beta Was this translation helpful? Give feedback.
-
I think it's an overkill personally, as success status codes are always the same: 200 >= statusCode < 300. If you want to make specific status-based checks, then you should use response mode and a switch or whatever.
To ensure consistency with all other features, content should be the default IMHO. |
Beta Was this translation helpful? Give feedback.
-
That's possible indeed. Let's document it properly under both HTTP and OpenAPI! |
Beta Was this translation helpful? Give feedback.
-
Quick Qn: What would be the output object incase, it was a request error and hence no response object should exist. |
Beta Was this translation helpful? Give feedback.
That's possible indeed. Let's document it properly under both HTTP and OpenAPI!