Last active
November 10, 2022 22:40
-
-
Save Syuparn/0a9d22599b087f61ddfd5beb7bcbc26a to your computer and use it in GitHub Desktop.
swagger sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: "3.0.0" | |
info: | |
title: "report" | |
version: 2.0.0 | |
paths: | |
/report: | |
delete: | |
summary: deletes the report. | |
responses: | |
'204': | |
description: The resource was deleted successfully. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
version: "1.0.0" | |
title: "report" | |
description: "sample from https://swagger.io/docs/specification/2-0/describing-responses/ `Empty Response Body`" | |
paths: | |
/report: | |
delete: | |
summary: deletes the report. | |
responses: | |
204: | |
description: The resource was deleted successfully. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment