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
- 10 days ago
- 16 days ago