Skip to content

Commit

Permalink
update: openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
takeYY committed May 18, 2023
1 parent 33a812c commit 2b68778
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
openapi: 3.0.2
info:
title: Filmography API
version: 0.1.0
description: FilmographyのAPI
version: 0.1.1.1
paths:
/:
get:
Expand All @@ -11,10 +12,11 @@ paths:
operationId: default__get
responses:
"200":
description: Successful Response
description: デフォルトの結果
content:
application/json:
schema: {}
schema:
$ref: "#/components/schemas/DefaultResponse"
/jumanpp/:
post:
tags:
Expand Down Expand Up @@ -128,6 +130,22 @@ components:
- 鑑賞済み
- 未鑑賞
description: 鑑賞状況を扱う Enum
DefaultResponse:
title: DefaultResponse
type: object
properties:
status:
title: Status
type: string
description: ステータス
default: success
example: success
message:
title: Message
type: string
description: メッセージ
default: Hello, world!
example: Hello, world!
FilmAppreciationCreateModel:
title: FilmAppreciationCreateModel
type: object
Expand Down

0 comments on commit 2b68778

Please sign in to comment.