Skip to content

Commit

Permalink
fix validation errors as suggested by openapi generator
Browse files Browse the repository at this point in the history
Signed-off-by: Kavindu Dodanduwa <[email protected]>
  • Loading branch information
Kavindu-Dodan committed Feb 14, 2024
1 parent b049da7 commit e145fe2
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions service/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ paths:
schema:
$ref: '#/components/schemas/failure'
'401':
$ref: '#/components/schemas/401'
description: Unauthorized - You need credentials to access the API
'403':
$ref: '#/components/schemas/403'
description: Forbidden - You are not authorized to access the API
'404':
description: Flag not found
content:
Expand Down Expand Up @@ -81,9 +81,9 @@ paths:
schema:
$ref: '#/components/schemas/bulkEvaluationFailure'
'401':
$ref: '#/components/schemas/401'
description: Unauthorized - You need credentials to access the API
'403':
$ref: '#/components/schemas/403'
description: Forbidden - You are not authorized to access the API
'429':
description: Rate limit reached on the Flag Management System
headers:
Expand Down Expand Up @@ -119,9 +119,9 @@ paths:
schema:
$ref: '#/components/schemas/flagChangeFailure'
'401':
$ref: '#/components/schemas/401'
description: Unauthorized - You need credentials to access the API
'403':
$ref: '#/components/schemas/403'
description: Forbidden - You are not authorized to access the API
'429':
description: Rate limit reached on the Flag Management System
headers:
Expand Down Expand Up @@ -280,8 +280,4 @@ components:
description: OpenFeature compatible error code. See https://openfeature.dev/specification/types#error-code
errorDetails:
type: string
description: Optional error details description for logging or other needs
'401':
description: Unauthorized - You need credentials to access the API
'403':
description: Forbidden - You are not authorized to access the API
description: Optional error details description for logging or other needs

0 comments on commit e145fe2

Please sign in to comment.