Skip to content

Commit

Permalink
2023-11-07 - Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 7, 2023
1 parent bf5ae3f commit 077c6a5
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions docs/cuculus-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
$ref: '#/components/schemas/UserWithFollows'
'404':
description: ユーザーが見つかりませんでした。
tags:
Expand All @@ -69,7 +69,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
$ref: '#/components/schemas/UserWithFollows'
'404':
description: ユーザーが見つかりませんでした。
tags:
Expand Down Expand Up @@ -898,6 +898,46 @@ components:
- protected
- url
- verified
UserWithFollows:
type: object
properties:
id:
type: number
name:
type: string
username:
type: string
created_at:
format: date-time
type: string
description:
type: string
profile_image_url:
type: string
protected:
type: boolean
url:
type: string
verified:
type: boolean
followers_count:
type: number
description: フォロワー数
example: 100
following_count:
type: number
description: フォロー数
example: 100
required:
- id
- name
- username
- created_at
- description
- profile_image_url
- protected
- url
- verified
Post:
type: object
properties:
Expand Down

0 comments on commit 077c6a5

Please sign in to comment.