Skip to content

Commit 86342b0

Browse files
committed
Add groupId to schema and examples
1 parent 09bd418 commit 86342b0

File tree

9 files changed

+16
-1
lines changed

9 files changed

+16
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"data": {
33
"attributes": {
44
"cost": 10.25,
5+
"groupId": "abc123",
56
"lineItem": "Letter",
67
"quantity": 22,
78
"specificationId": "da0b1495-c7cb-468c-9d81-07dee089d728",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"data": {
33
"attributes": {
44
"cost": 10.25,
5+
"groupId": "abc123",
56
"lineItem": "Letter",
67
"quantity": 22,
78
"specificationId": "da0b1495-c7cb-468c-9d81-07dee089d728",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"data": {
33
"attributes": {
4+
"groupId": "abc123",
45
"reasonCode": 100,
56
"reasonText": "failed validation",
67
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"data": [
33
{
44
"attributes": {
5+
"groupId": "abc123",
56
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
67
"status": "PENDING"
78
},

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"data": {
33
"attributes": {
4+
"groupId": "abc123",
45
"reasonCode": 100,
56
"reasonText": "failed validation",
67
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"data": [
33
{
44
"attributes": {
5+
"groupId": "abc123",
56
"reasonCode": 100,
67
"reasonText": "failed validation",
78
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",

specification/api/components/schemas/letterItem.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
specificationId:
1616
type: string
1717
example: 2WL5eYSWGzCHlGmzNxuqVusPxDg
18+
groupId:
19+
type: string
20+
example: abc123
1821
status:
1922
$ref: "./letterStatus.yml"
2023
reasonCode:

specification/api/components/schemas/miData.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ properties:
1212
specificationId:
1313
type: string
1414
example: da0b1495-c7cb-468c-9d81-07dee089d728
15+
groupId:
16+
type: string
17+
example: abc123
1518
timestamp:
1619
type: string
1720
format: date-time

specification/api/components/schemas/miItem.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ properties:
99
attributes:
1010
type: object
1111
properties:
12-
messageReference:
12+
specificationId:
1313
type: string
1414
example: da0b1495-c7cb-468c-9d81-07dee089d728
15+
groupId:
16+
type: string
17+
example: abc123
1518
timestamp:
1619
type: string
1720
format: date-time

0 commit comments

Comments
 (0)