Response body for PUT method
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2022
12:25 PM
01-26-2022
12:25 PM
Response body for PUT method
Hi there,
I'm a rookie on OA Specification, so I think I have a simple question!
Is possible to specify a body response (json) for a PUT method in swagger?
Thank you guys
Milton Fideles
B3/Brazil
Labels:
- Labels:
-
Swagger Core
-
Swagger Editor
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022
05:00 AM
02-01-2022
05:00 AM
Yes, it's possible. Check out the examples in the documentation:
- OpenAPI 3.0: Descibing Responses
- OpenAPI 2.0: Describing Responses
Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
