Skip to content

Commit ea964f7

Browse files
committed
定義書更新
1 parent 9d3b253 commit ea964f7

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

docs/cuculus-openapi.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ paths:
2323
content:
2424
application/json:
2525
schema:
26-
$ref: '#/components/schemas/UserResponse'
26+
$ref: '#/components/schemas/UserProfile'
2727
'401':
2828
description: JWTが無効、または期限切れ
2929
'404':
@@ -48,7 +48,7 @@ paths:
4848
content:
4949
application/json:
5050
schema:
51-
$ref: '#/components/schemas/UserResponse'
51+
$ref: '#/components/schemas/UserProfile'
5252
'404':
5353
description: ユーザーが見つかりませんでした。
5454
tags:
@@ -69,7 +69,7 @@ paths:
6969
content:
7070
application/json:
7171
schema:
72-
$ref: '#/components/schemas/UserResponse'
72+
$ref: '#/components/schemas/UserProfile'
7373
'404':
7474
description: ユーザーが見つかりませんでした。
7575
tags:
@@ -92,7 +92,7 @@ paths:
9292
schema:
9393
type: array
9494
items:
95-
$ref: '#/components/schemas/PostResponse'
95+
$ref: '#/components/schemas/UserPost'
9696
'404':
9797
description: ユーザーが見つかりませんでした。
9898
tags:
@@ -118,7 +118,7 @@ paths:
118118
schema:
119119
type: array
120120
items:
121-
$ref: '#/components/schemas/UserResponse'
121+
$ref: '#/components/schemas/UserProfile'
122122
'404':
123123
description: ユーザーが見つかりませんでした。
124124
tags:
@@ -144,7 +144,7 @@ paths:
144144
schema:
145145
type: array
146146
items:
147-
$ref: '#/components/schemas/UserResponse'
147+
$ref: '#/components/schemas/UserProfile'
148148
'404':
149149
description: ユーザーが見つかりませんでした。
150150
tags:
@@ -254,7 +254,7 @@ paths:
254254
content:
255255
application/json:
256256
schema:
257-
$ref: '#/components/schemas/AuthResponse'
257+
$ref: '#/components/schemas/AuthToken'
258258
'400':
259259
description: 認証コードが違います。
260260
'403':
@@ -290,7 +290,7 @@ paths:
290290
content:
291291
application/json:
292292
schema:
293-
$ref: '#/components/schemas/AuthResponse'
293+
$ref: '#/components/schemas/AuthToken'
294294
'400':
295295
description: ユーザー名またはパスワードが間違っている。
296296
tags:
@@ -306,7 +306,7 @@ paths:
306306
content:
307307
application/json:
308308
schema:
309-
$ref: '#/components/schemas/TokenResponse'
309+
$ref: '#/components/schemas/AccessToken'
310310
'401':
311311
description: auth_tokenが無効、または期限切れ
312312
tags:
@@ -445,7 +445,7 @@ paths:
445445
content:
446446
application/json:
447447
schema:
448-
$ref: '#/components/schemas/PostResponse'
448+
$ref: '#/components/schemas/UserPost'
449449
'401':
450450
description: ''
451451
tags:
@@ -468,7 +468,7 @@ paths:
468468
content:
469469
application/json:
470470
schema:
471-
$ref: '#/components/schemas/PostResponse'
471+
$ref: '#/components/schemas/UserPost'
472472
'404':
473473
description: 投稿が見つかりませんでした。
474474
tags:
@@ -562,7 +562,7 @@ paths:
562562
content:
563563
application/json:
564564
schema:
565-
$ref: '#/components/schemas/PostResponse'
565+
$ref: '#/components/schemas/UserPost'
566566
'401':
567567
description: ''
568568
'404':
@@ -586,7 +586,7 @@ paths:
586586
content:
587587
application/json:
588588
schema:
589-
$ref: '#/components/schemas/PostResponse'
589+
$ref: '#/components/schemas/UserPost'
590590
'401':
591591
description: ''
592592
'404':
@@ -611,7 +611,7 @@ paths:
611611
content:
612612
application/json:
613613
schema:
614-
$ref: '#/components/schemas/PostResponse'
614+
$ref: '#/components/schemas/UserPost'
615615
'401':
616616
description: ''
617617
'404':
@@ -635,7 +635,7 @@ paths:
635635
content:
636636
application/json:
637637
schema:
638-
$ref: '#/components/schemas/PostResponse'
638+
$ref: '#/components/schemas/UserPost'
639639
'401':
640640
description: ''
641641
'404':
@@ -673,7 +673,7 @@ paths:
673673
schema:
674674
type: array
675675
items:
676-
$ref: '#/components/schemas/PostResponse'
676+
$ref: '#/components/schemas/UserPost'
677677
tags:
678678
- timelines
679679
security:
@@ -707,7 +707,7 @@ paths:
707707
content:
708708
application/json:
709709
schema:
710-
$ref: '#/components/schemas/InvitationsInfo'
710+
$ref: '#/components/schemas/UserInvitations'
711711
'401':
712712
description: 認証エラー
713713
tags:
@@ -764,7 +764,7 @@ components:
764764
required:
765765
- invitation_only
766766
- maintenance
767-
UserResponse:
767+
UserProfile:
768768
type: object
769769
properties:
770770
id:
@@ -851,7 +851,7 @@ components:
851851
- id
852852
- author
853853
- posted_at
854-
PostResponse:
854+
UserPost:
855855
type: object
856856
properties:
857857
id:
@@ -950,7 +950,7 @@ components:
950950
- code
951951
- username
952952
- password
953-
AuthResponse:
953+
AuthToken:
954954
type: object
955955
properties:
956956
access_token:
@@ -974,7 +974,7 @@ components:
974974
required:
975975
- username
976976
- password
977-
TokenResponse:
977+
AccessToken:
978978
type: object
979979
properties:
980980
access_token:
@@ -1015,7 +1015,7 @@ components:
10151015
required:
10161016
- code
10171017
- issued_at
1018-
InvitationsInfo:
1018+
UserInvitations:
10191019
type: object
10201020
properties:
10211021
remaining_invitations:

0 commit comments

Comments
 (0)