Skip to content

Commit 895f0a4

Browse files
committed
Add error status codes for new APIs
1 parent a3c599d commit 895f0a4

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed

en/identity-server/next/docs/apis/restapis/application.yaml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3942,6 +3942,28 @@ paths:
39423942
example:
39433943
status: "Processing"
39443944
details: "Application sharing process triggered successfully."
3945+
'400':
3946+
description: Bad Request
3947+
content:
3948+
application/json:
3949+
schema:
3950+
$ref: '#/components/schemas/Error'
3951+
'401':
3952+
description: Unauthorized
3953+
'403':
3954+
description: Forbidden
3955+
'404':
3956+
description: Not Found
3957+
content:
3958+
application/json:
3959+
schema:
3960+
$ref: '#/components/schemas/Error'
3961+
'500':
3962+
description: Server Error
3963+
content:
3964+
application/json:
3965+
schema:
3966+
$ref: '#/components/schemas/Error'
39453967
x-codeSamples:
39463968
- lang: Curl
39473969
source: |
@@ -4035,6 +4057,28 @@ paths:
40354057
application/json:
40364058
schema:
40374059
$ref: '#/components/schemas/ProcessSuccessResponse'
4060+
'400':
4061+
description: Bad Request
4062+
content:
4063+
application/json:
4064+
schema:
4065+
$ref: '#/components/schemas/Error'
4066+
'401':
4067+
description: Unauthorized
4068+
'403':
4069+
description: Forbidden
4070+
'404':
4071+
description: Not Found
4072+
content:
4073+
application/json:
4074+
schema:
4075+
$ref: '#/components/schemas/Error'
4076+
'500':
4077+
description: Server Error
4078+
content:
4079+
application/json:
4080+
schema:
4081+
$ref: '#/components/schemas/Error'
40384082
x-codeSamples:
40394083
- lang: Curl
40404084
source: |
@@ -4090,6 +4134,28 @@ paths:
40904134
example:
40914135
status: "Processing"
40924136
details: "Application sharing process triggered successfully."
4137+
'400':
4138+
description: Bad Request
4139+
content:
4140+
application/json:
4141+
schema:
4142+
$ref: '#/components/schemas/Error'
4143+
'401':
4144+
description: Unauthorized
4145+
'403':
4146+
description: Forbidden
4147+
'404':
4148+
description: Not Found
4149+
content:
4150+
application/json:
4151+
schema:
4152+
$ref: '#/components/schemas/Error'
4153+
'500':
4154+
description: Server Error
4155+
content:
4156+
application/json:
4157+
schema:
4158+
$ref: '#/components/schemas/Error'
40934159
x-codeSamples:
40944160
- lang: Curl
40954161
source: |
@@ -4134,6 +4200,28 @@ paths:
41344200
example:
41354201
status: "Processing"
41364202
details: "Application unsharing process triggered successfully."
4203+
'400':
4204+
description: Bad Request
4205+
content:
4206+
application/json:
4207+
schema:
4208+
$ref: '#/components/schemas/Error'
4209+
'401':
4210+
description: Unauthorized
4211+
'403':
4212+
description: Forbidden
4213+
'404':
4214+
description: Not Found
4215+
content:
4216+
application/json:
4217+
schema:
4218+
$ref: '#/components/schemas/Error'
4219+
'500':
4220+
description: Server Error
4221+
content:
4222+
application/json:
4223+
schema:
4224+
$ref: '#/components/schemas/Error'
41374225
x-codeSamples:
41384226
- lang: Curl
41394227
source: |
@@ -4175,6 +4263,28 @@ paths:
41754263
example:
41764264
status: "Processing"
41774265
details: "Application unsharing process triggered successfully."
4266+
'400':
4267+
description: Bad Request
4268+
content:
4269+
application/json:
4270+
schema:
4271+
$ref: '#/components/schemas/Error'
4272+
'401':
4273+
description: Unauthorized
4274+
'403':
4275+
description: Forbidden
4276+
'404':
4277+
description: Not Found
4278+
content:
4279+
application/json:
4280+
schema:
4281+
$ref: '#/components/schemas/Error'
4282+
'500':
4283+
description: Server Error
4284+
content:
4285+
application/json:
4286+
schema:
4287+
$ref: '#/components/schemas/Error'
41784288
x-codeSamples:
41794289
- lang: Curl
41804290
source: |

0 commit comments

Comments
 (0)