Created
September 15, 2023 15:43
-
-
Save visomar/fc85e7909cac89920e7523454c1bc26d to your computer and use it in GitHub Desktop.
API sample
This file contains hidden or 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
components: {} | |
info: | |
title: Hello API | |
version: "1.0" | |
openapi: 3.0.1 | |
paths: | |
/: | |
delete: | |
operationId: index | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API | |
get: | |
operationId: index_4 | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API | |
head: | |
operationId: index_3 | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API | |
options: | |
operationId: index_1 | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API | |
patch: | |
operationId: index_5 | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API | |
post: | |
operationId: index_6 | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API | |
put: | |
operationId: index_2 | |
responses: | |
"200": | |
content: | |
'*/*': | |
schema: | |
type: string | |
description: said hello to world successfully. | |
summary: Say hello. | |
tags: | |
- Hello REST API |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment