Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,31 @@ paths:
name: "ユーザー4"
- id: 5
name: "ユーザー5"
/api/users/{id}:
get:
summary: Returns a list of users.
description: Optional extended description in CommonMark or HTML.
parameters:
- in: path
name: id
schema:
type: integer
required: true
tags:
- appsFoo
operationId: getUser
responses:
'200':
description: A JSON of user
content:
application/json:
schema:
type: object
items:
$ref: '#/components/schemas/User'
example:
- id: 1
name: "ユーザー1"
components:
schemas:
User:
Expand Down