Forum Discussion
HKosova
4 years agoSmartBear Alumni (Retired)
Hi AayushiYadav,
Each HTTP status code can be defined only once per operation, so you'll need to merge all the 400 response definitions into one. For example, like this:
'400':
description: >-
Possible reasons:
* Plain text cannot be blanked.
* Any exception occurred.
* Unexpected error.
content:
application/json:
schema:
oneOf:
- $ref: "#/components/schemas/error"
- $ref: "#/components/schemas/responsenestedobj"
Related Content
- 2 years agorkadali
Recent Discussions
- 7 days agokj20nt
- 15 days agoprogrammer_j
- 20 days agotobyclements