Skip to content

Commit 1814cdf

Browse files
committed
Fix Product Id in search
1 parent b7fb1ac commit 1814cdf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

infrastructure/swagger/07_components--schemas--domain.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ components:
180180
nullable: true
181181
example:
182182
results:
183-
- org_code: "xyzzy"
183+
- org_code: "F5H1R"
184184
product_teams:
185185
- product_team_id: "55e86121-3826-468c-a6f0-dd0f1fbc0259"
186186
cpm_product_team_id: "a9a9694d-001b-45ce-9f2a-6c9bf80ae0d0"
187187
products:
188-
- id: "P.123"
189-
product_team_id: "1234"
188+
- id: "P.1X3-XYZ"
189+
product_team_id: "55e86121-3826-468c-a6f0-dd0f1fbc0259"
190190
name: "My Great Product 1"
191191
ods_code: "F5H1R"
192192
status: "active"
@@ -197,8 +197,8 @@ components:
197197
- product_team_id: "24ac1857-f718-4905-813f-52da930c3ea1"
198198
cpm_product_team_id: "152705aa-0342-487f-a654-64bba814a847"
199199
products:
200-
- id: "P.xyz"
201-
product_team_id: "5678"
200+
- id: "P.4Y6-ABC"
201+
product_team_id: "24ac1857-f718-4905-813f-52da930c3ea1"
202202
name: "My Great Product 3"
203203
ods_code: "F5H1R"
204204
status: "active"

infrastructure/swagger/12_components--responses.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ components:
6666
example:
6767
errors:
6868
- code: "CONFLICT"
69-
message: "Product Team cannot be deleted as it still has associated Product Ids ['P.123-XYZ', 'P.456-ABC']"
69+
message: "Product Team cannot be deleted as it still has associated Product Ids ['P.1X3-XYZ', 'P.4Y6-ABC']"
7070
BadRequest:
7171
description: Bad request (multiple error types)
7272
content:

0 commit comments

Comments
 (0)