Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#IP-210] Add 403 to API specs where missing #125

Merged
merged 1 commit into from
May 26, 2021
Merged
Show file tree
Hide file tree
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
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