Skip to content

Commit e190581

Browse files
committed
Add Item Exists error
1 parent 74c6f65 commit e190581

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

infrastructure/swagger/12_components--responses.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ components:
7272
- code: "VALIDATION_ERROR"
7373
message: "SearchProductQueryParams.__root__: Please provide exactly one valid query parameter: {'product_team_id', 'organisation_code'}."
7474
CreateProductTeamBadRequest:
75-
description: searchProductTeam Bad request
75+
description: createProductTeam Bad request
7676
content:
7777
application/json:
7878
schema:
@@ -93,6 +93,11 @@ components:
9393
errors:
9494
- code: "VALIDATION_ERROR"
9595
message: "CreateProductTeamIncomingParams.keys: Ensure that product_team_id only exists once within keys."
96+
ItemExistsValidationError:
97+
value:
98+
errors:
99+
- code: "VALIDATION_ERROR"
100+
message: "Item already exists"
96101
MissingValue:
97102
value:
98103
errors:

0 commit comments

Comments
 (0)