Created
July 21, 2026 04:00
-
-
Save rindrics/e0c1c2d04a64612a75e6f4645f2f121e to your computer and use it in GitHub Desktop.
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
| --- | |
| paths: | |
| /v0/favorite-fish: | |
| post: | |
| operationId: favorite-fish-post | |
| requestBody: | |
| required: true | |
| content: | |
| application/json: | |
| schema: | |
| type: object | |
| properties: | |
| fish: | |
| type: object | |
| properties: | |
| name: | |
| type: string | |
| example: マイワシ | |
| description: Name of favorite fish | |
| scientific_name: | |
| type: string | |
| example: Sardinops melanostictus | |
| description: Species name in "Genus species" format | |
| responses: | |
| 200: | |
| content: | |
| application/json: | |
| schema: | |
| summary: Echo back posted fish name | |
| type: object | |
| properties: | |
| message: | |
| type: string | |
| example: | |
| message: your favorite fish is マイワシ (Sardinops melanostictus), right? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment