Forum Discussion
HKosova
SmartBear Alumni (Retired)
In OpenAPI 2.0:
swagger: "2.0"
...
paths:
/something:
get:
produces:
- application/json
- application/xml
responses:
200:
description: OK
schema:
...
In OpenAPI 3.0:
openapi: 3.0.0
...
paths:
/something:
get:
responses:
'200':
description: OK
content:
application/json:
schema:
...
application/xml:
schema:
...
Related Content
- 8 years ago
- 11 years ago
- 5 years ago
Recent Discussions
- 3 days ago
- 4 days ago
- 21 days ago