-
Hi. I am draft the API specification. Here is my question?
Since the 200 is different for each API with different response schema, but the 400-429 is same. May I combine 400-429 into one $ref?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
In OpenAPI, we don't have this feature, but you could use an Overlay to add the group as a separate step. There's a similar-ish example in the Overlays docs but please let us know if you need more context on what this is and how to do it? |
Beta Was this translation helpful? Give feedback.
-
Closing as answered. |
Beta Was this translation helpful? Give feedback.
In OpenAPI, we don't have this feature, but you could use an Overlay to add the group as a separate step. There's a similar-ish example in the Overlays docs but please let us know if you need more context on what this is and how to do it?