Skip to content

Commit

Permalink
Merge pull request #3961 from Agnul97/fix-xmlContentAddedErrorsOpenAp…
Browse files Browse the repository at this point in the history
…iDoc

FIX - error section on openApi doc.
  • Loading branch information
Coduz authored Mar 14, 2024
2 parents b884439 + 786963a commit c3d3718
Show file tree
Hide file tree
Showing 154 changed files with 727 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ paths:
responses:
200:
$ref: '../openapi.yaml#/components/responses/countResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessInfoListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ paths:
responses:
200:
$ref: '../openapi.yaml#/components/responses/countResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessPermissionListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessPermission'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -49,6 +51,8 @@ paths:
responses:
204:
description: The AccessPermission has been deleted
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessPermissionListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -59,6 +61,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessPermissionListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ paths:
responses:
200:
$ref: '../openapi.yaml#/components/responses/countResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessRoleListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessRole'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -49,6 +51,8 @@ paths:
responses:
204:
description: The AccessRole has been deleted
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessRoleListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -57,6 +59,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessRoleListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessInfo'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -47,6 +49,8 @@ paths:
responses:
204:
description: The AccessInfo has been deleted
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessInfoListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down Expand Up @@ -57,6 +59,8 @@ paths:
application/json:
schema:
$ref: './accessInfo.yaml#/components/schemas/accessInfoListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ paths:
responses:
200:
$ref: '../openapi.yaml#/components/responses/countResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ paths:
application/json:
schema:
$ref: './account.yaml#/components/schemas/accountListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ paths:
application/json:
schema:
$ref: './account.yaml#/components/schemas/account'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down Expand Up @@ -77,6 +79,8 @@ paths:
application/json:
schema:
$ref: './account.yaml#/components/schemas/account'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -97,6 +101,8 @@ paths:
responses:
204:
description: The Account has been deleted
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ paths:
application/json:
schema:
$ref: './account.yaml#/components/schemas/accountListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down Expand Up @@ -71,6 +73,8 @@ paths:
application/json:
schema:
$ref: './account.yaml#/components/schemas/account'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ paths:
application/json:
schema:
$ref: './authentication.yaml#/components/schemas/accessToken'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'
security: []
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ paths:
application/json:
schema:
$ref: './authentication.yaml#/components/schemas/loginInfo'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
500:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ paths:
application/json:
schema:
$ref: './authentication.yaml#/components/schemas/accessToken'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'
security: []
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ paths:
responses:
204:
description: Logout Successful
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
500:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ paths:
application/json:
schema:
$ref: './authentication.yaml#/components/schemas/accessToken'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'
security: [ ]
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ paths:
application/json:
schema:
$ref: './authentication.yaml#/components/schemas/accessToken'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ paths:
application/json:
schema:
$ref: './authentication.yaml#/components/schemas/accessToken'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'
security: []
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ paths:
responses:
200:
$ref: '../openapi.yaml#/components/responses/countResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ paths:
application/json:
schema:
$ref: './credential.yaml#/components/schemas/credentialListResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ paths:
application/json:
schema:
$ref: './credential.yaml#/components/schemas/credential'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -54,6 +56,8 @@ paths:
application/json:
schema:
$ref: './credential.yaml#/components/schemas/credential'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ paths:
firstLoginFailure: "2023-03-09T13:58:30.385Z"
loginFailuresReset: "2023-03-10T13:58:30.385Z"
lockoutReset: "2023-03-09T14:58:30.385Z"
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down Expand Up @@ -109,6 +111,8 @@ paths:
firstLoginFailure: "2023-03-09T13:58:30.385Z"
loginFailuresReset: "2023-03-10T13:58:30.385Z"
lockoutReset: "2023-03-09T14:58:30.385Z"
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -128,6 +132,8 @@ paths:
responses:
204:
description: The Credential has been deleted
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ paths:
firstLoginFailure: "2023-03-09T13:58:30.385Z"
loginFailuresReset: "2023-03-10T13:58:30.385Z"
lockoutReset: "2023-03-09T14:58:30.385Z"
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down Expand Up @@ -149,6 +151,8 @@ paths:
firstLoginFailure: "2023-03-09T13:58:30.385Z"
loginFailuresReset: "2023-03-10T13:58:30.385Z"
lockoutReset: "2023-03-09T14:58:30.385Z"
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ paths:
responses:
200:
$ref: '../openapi.yaml#/components/responses/countResult'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ paths:
application/json:
schema:
$ref: './dataChannel.yaml#/components/schemas/channelInfo'
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand Down
Loading

0 comments on commit c3d3718

Please sign in to comment.