Skip to content

Commit 5937fa4

Browse files
committed
CCM-11580: OAS syntax fixes
Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form
1 parent 02abed9 commit 5937fa4

32 files changed

Lines changed: 34 additions & 92 deletions

lambdas/api-handler/src/handlers/hello-world.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

specification/api/components/examples/createMI/requests/createMI.json renamed to specification/api/components/examples/createMI/requests/createMIRequest.json

File renamed without changes.

specification/api/components/examples/createMI/responses/createMI.json renamed to specification/api/components/examples/createMI/responses/createMIResponse.json

File renamed without changes.

specification/api/components/examples/getLetter/responses/getLetter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"attributes": {
44
"reasonCode": 100,
55
"reasonText": "failed validation",
6-
"requestedProductionStatus": "ACTIVE",
76
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
87
"status": "REJECTED"
98
},

specification/api/components/examples/getLetters/responses/getLetters.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"data": [
33
{
44
"attributes": {
5-
"requestedProductionStatus": "ACTIVE",
65
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
76
"status": "PENDING"
87
},

specification/api/components/examples/patchLetter/requests/patchLetter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"attributes": {
44
"reasonCode": 100,
55
"reasonText": "failed validation",
6-
"requestedProductionStatus": "ACTIVE",
76
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
87
"status": "REJECTED"
98
},

specification/api/components/examples/patchLetter/responses/patchLetter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"attributes": {
44
"reasonCode": 100,
55
"reasonText": "failed validation",
6-
"requestedProductionStatus": "ACTIVE",
76
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
87
"status": "REJECTED"
98
},

specification/api/components/examples/postLetter/requests/postLetter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"attributes": {
55
"reasonCode": 100,
66
"reasonText": "failed validation",
7-
"requestedProductionStatus": "ACTIVE",
87
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
98
"status": "REJECTED"
109
},

specification/api/components/examples/postLetter/responses/postLetter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"attributes": {
55
"reasonCode": 100,
66
"reasonText": "failed validation",
7-
"requestedProductionStatus": "ACTIVE",
87
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
98
"status": "REJECTED"
109
},

specification/api/components/parameters/correlationId.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ description: |-
66
required: false
77
schema:
88
type: string
9-
examples:
10-
- 11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA
9+
example: 11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA

0 commit comments

Comments
 (0)