Skip to content

Commit

Permalink
[#ip-210] add 400 where missing (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele De Cupis authored May 26, 2021
1 parent f69b690 commit 1014339
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions openapi/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ paths:
examples: {}
'401':
description: Unauthorized
'403':
description: Forbidden.
'429':
description: Too many requests
'500':
Expand Down Expand Up @@ -224,6 +226,8 @@ paths:
examples: {}
'401':
description: Unauthorized
'403':
description: Forbidden.
'429':
description: Too many requests
'500':
Expand Down Expand Up @@ -277,6 +281,8 @@ paths:
email: QUEUED
'401':
description: Unauthorized
'403':
description: Forbidden.
'404':
description: No message found for the provided ID.
schema:
Expand Down Expand Up @@ -305,6 +311,8 @@ paths:
version: 1
'401':
description: Unauthorized
'403':
description: Forbidden.
'404':
description: No user found for the provided fiscal code.
schema:
Expand Down Expand Up @@ -335,6 +343,8 @@ paths:
version: 1
'401':
description: Unauthorized
'403':
description: Forbidden.
'404':
description: No user found for the provided fiscal code.
schema:
Expand Down Expand Up @@ -397,6 +407,8 @@ paths:
unsubscriptions: []
'401':
description: Unauthorized
'403':
description: Forbidden.
'404':
description: Subscriptions feed not available yet.
schema:
Expand Down Expand Up @@ -434,6 +446,8 @@ paths:
$ref: '#/definitions/ProblemJson'
'401':
description: Unauthorized.
'403':
description: Forbidden.
'429':
description: Too many requests.
'500':
Expand Down
14 changes: 14 additions & 0 deletions openapi/index.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ paths:
examples: {}
"401":
description: Unauthorized
'403':
description: Forbidden.
"429":
description: Too many requests
"500":
Expand Down Expand Up @@ -207,6 +209,8 @@ paths:
examples: {}
"401":
description: Unauthorized
'403':
description: Forbidden.
"429":
description: Too many requests
"500":
Expand Down Expand Up @@ -251,6 +255,8 @@ paths:
email: QUEUED
"401":
description: Unauthorized
'403':
description: Forbidden.
"404":
description: No message found for the provided ID.
schema:
Expand All @@ -276,6 +282,8 @@ paths:
version: 1
"401":
description: Unauthorized
'403':
description: Forbidden.
"404":
description: No user found for the provided fiscal code.
schema:
Expand Down Expand Up @@ -306,6 +314,8 @@ paths:
version: 1
"401":
description: Unauthorized
'403':
description: Forbidden.
"404":
description: No user found for the provided fiscal code.
schema:
Expand Down Expand Up @@ -352,6 +362,8 @@ paths:
unsubscriptions: []
"401":
description: Unauthorized
'403':
description: Forbidden.
"404":
description: Subscriptions feed not available yet.
schema:
Expand Down Expand Up @@ -388,6 +400,8 @@ paths:
$ref: "#/definitions/ProblemJson"
"401":
description: Unauthorized.
'403':
description: Forbidden.
"429":
description: Too many requests.
"500":
Expand Down

0 comments on commit 1014339

Please sign in to comment.