You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: infrastructure/swagger/12_components--responses.yaml
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,38 @@ components:
71
71
errors:
72
72
- code: "VALIDATION_ERROR"
73
73
message: "SearchProductQueryParams.__root__: Please provide exactly one valid query parameter: {'product_team_id', 'organisation_code'}."
74
+
CreateProductTeamBadRequest:
75
+
description: createProductTeam Bad request
76
+
content:
77
+
application/json:
78
+
schema:
79
+
$ref: "#/components/schemas/ErrorResponse"
80
+
examples:
81
+
NotPermittedValidationError:
82
+
value:
83
+
errors:
84
+
- code: "VALIDATION_ERROR"
85
+
message: "CreateProductTeamIncomingParams.keys.0.key_type: value is not a valid enumeration member; permitted: 'product_team_id'"
86
+
FormatValidationError:
87
+
value:
88
+
errors:
89
+
- code: "VALIDATION_ERROR"
90
+
message: "CreateProductTeamIncomingParams.keys.0.key_value: Key '' does not match the expected pattern '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' associated with key type 'product_team_id'"
91
+
DuplicateKeyValidationError:
92
+
value:
93
+
errors:
94
+
- code: "VALIDATION_ERROR"
95
+
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"
101
+
MissingValue:
102
+
value:
103
+
errors:
104
+
- code: "MISSING_VALUE"
105
+
message: "CreateProductTeamIncomingParams.ods_code: field required"
0 commit comments