Skip to content

Commit

Permalink
Adds maximum request example. Updates dev/swagger & prod/swagger.
Browse files Browse the repository at this point in the history
  • Loading branch information
stiehlrod committed Oct 8, 2024
1 parent e4b703c commit ff90bff
Show file tree
Hide file tree
Showing 4 changed files with 241 additions and 36 deletions.
29 changes: 12 additions & 17 deletions modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4966,8 +4966,7 @@
"serviceBranch": "Public Health Service",
"serviceComponent": "Active",
"activeDutyBeginDate": "2008-11-14",
"activeDutyEndDate": "2023-10-30",
"separationLocationCode": "98282"
"activeDutyEndDate": "2023-10-30"
}
],
"servedInActiveCombatSince911": "NO",
Expand All @@ -4985,10 +4984,6 @@
},
"receivingInactiveDutyTrainingPay": "YES"
},
"federalActivation": {
"activationDate": "2023-10-01",
"anticipatedSeparationDate": "2024-10-31"
},
"confinements": [
{
"approximateBeginDate": "2018-06-04",
Expand Down Expand Up @@ -5077,7 +5072,7 @@
"202 without a transactionId": {
"value": {
"data": {
"id": "842d260d-1ffe-4a29-b5ed-117b38bd3ad5",
"id": "4a388f05-e149-4a38-9cc2-e3ece862e217",
"type": "forms/526",
"attributes": {
"claimId": "600442191",
Expand Down Expand Up @@ -5262,7 +5257,7 @@
},
"federalActivation": {
"activationDate": "2023-10-01",
"anticipatedSeparationDate": "2024-10-05"
"anticipatedSeparationDate": "2024-10-10"
},
"confinements": [
{
Expand Down Expand Up @@ -5308,7 +5303,7 @@
"202 with a transactionId": {
"value": {
"data": {
"id": "9580281a-95bc-4a99-8171-10b987a1b887",
"id": "bcc4f0d1-71c3-4b1d-9fe7-b9c94c51ebbf",
"type": "forms/526",
"attributes": {
"claimId": "600442191",
Expand Down Expand Up @@ -10526,7 +10521,7 @@
"application/json": {
"example": {
"data": {
"id": "854bc725-fa9e-438e-bc7f-9a484160cf30",
"id": "9a083804-718e-489b-b734-b7829545ac26",
"type": "forms/526",
"attributes": {
"claimProcessType": "STANDARD_CLAIM_PROCESS",
Expand Down Expand Up @@ -14274,8 +14269,8 @@
"id": "1",
"type": "intent_to_file",
"attributes": {
"creationDate": "2024-10-03",
"expirationDate": "2025-10-03",
"creationDate": "2024-10-08",
"expirationDate": "2025-10-08",
"type": "compensation",
"status": "active"
}
Expand Down Expand Up @@ -15072,7 +15067,7 @@
"status": "422",
"detail": "Could not retrieve Power of Attorney due to multiple representatives with code: A1Q",
"source": {
"pointer": "/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/base_controller.rb:134:in `representative'"
"pointer": "/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/base_controller.rb:135:in `representative'"
}
}
]
Expand Down Expand Up @@ -15171,7 +15166,7 @@
"application/json": {
"example": {
"data": {
"id": "10295307-73bb-4825-95f5-02d6df41a4e1",
"id": "302072a0-ee9c-4936-a44b-3493a7043e4c",
"type": "individual",
"attributes": {
"code": "067",
Expand Down Expand Up @@ -15864,7 +15859,7 @@
"application/json": {
"example": {
"data": {
"id": "9abb338d-2390-472c-bb0a-8a1c7da2ba32",
"id": "730ef862-70a8-4618-b86a-de305ab97888",
"type": "organization",
"attributes": {
"code": "083",
Expand Down Expand Up @@ -17815,10 +17810,10 @@
"application/json": {
"example": {
"data": {
"id": "3b595df2-25af-4c3e-a48b-56478c80983d",
"id": "2415d8b3-ee24-475b-aa5f-41f020c71f98",
"type": "claimsApiPowerOfAttorneys",
"attributes": {
"dateRequestAccepted": "2024-10-03",
"dateRequestAccepted": "2024-10-08",
"previousPoa": null,
"representative": {
"serviceOrganization": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3579,8 +3579,7 @@
"serviceBranch": "Public Health Service",
"serviceComponent": "Active",
"activeDutyBeginDate": "2008-11-14",
"activeDutyEndDate": "2023-10-30",
"separationLocationCode": "98282"
"activeDutyEndDate": "2023-10-30"
}
],
"servedInActiveCombatSince911": "NO",
Expand All @@ -3598,10 +3597,6 @@
},
"receivingInactiveDutyTrainingPay": "YES"
},
"federalActivation": {
"activationDate": "2023-10-01",
"anticipatedSeparationDate": "2024-10-31"
},
"confinements": [
{
"approximateBeginDate": "2018-06-04",
Expand Down Expand Up @@ -3690,7 +3685,7 @@
"202 without a transactionId": {
"value": {
"data": {
"id": "53a89319-954b-4f30-96c8-c4b832d104a6",
"id": "d737a9d0-4d90-494b-a320-9daae2d126a4",
"type": "forms/526",
"attributes": {
"claimId": "600442191",
Expand Down Expand Up @@ -3875,7 +3870,7 @@
},
"federalActivation": {
"activationDate": "2023-10-01",
"anticipatedSeparationDate": "2024-10-05"
"anticipatedSeparationDate": "2024-10-10"
},
"confinements": [
{
Expand Down Expand Up @@ -3921,7 +3916,7 @@
"202 with a transactionId": {
"value": {
"data": {
"id": "a71d411d-5626-416f-9c01-366b3c2719f2",
"id": "0ceb7051-577e-4435-af6b-a2c143cbcba0",
"type": "forms/526",
"attributes": {
"claimId": "600442191",
Expand Down Expand Up @@ -9139,7 +9134,7 @@
"application/json": {
"example": {
"data": {
"id": "de754a68-be13-4767-a299-dc7587bf23ab",
"id": "0c87e56d-c6be-4629-84ca-a72b7442c5f2",
"type": "forms/526",
"attributes": {
"claimProcessType": "STANDARD_CLAIM_PROCESS",
Expand Down Expand Up @@ -12887,8 +12882,8 @@
"id": "1",
"type": "intent_to_file",
"attributes": {
"creationDate": "2024-10-03",
"expirationDate": "2025-10-03",
"creationDate": "2024-10-08",
"expirationDate": "2025-10-08",
"type": "compensation",
"status": "active"
}
Expand Down Expand Up @@ -13685,7 +13680,7 @@
"status": "422",
"detail": "Could not retrieve Power of Attorney due to multiple representatives with code: A1Q",
"source": {
"pointer": "/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/base_controller.rb:134:in `representative'"
"pointer": "/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/base_controller.rb:135:in `representative'"
}
}
]
Expand Down Expand Up @@ -13784,7 +13779,7 @@
"application/json": {
"example": {
"data": {
"id": "fc09bcf9-4334-40f9-83cd-e105223c5e77",
"id": "da0b0922-6b53-4351-a6b2-b27c78061342",
"type": "individual",
"attributes": {
"code": "067",
Expand Down Expand Up @@ -14477,7 +14472,7 @@
"application/json": {
"example": {
"data": {
"id": "da954be2-3a04-4889-adec-7ea428c56e2b",
"id": "064d4345-e018-415b-a667-618996955fa6",
"type": "organization",
"attributes": {
"code": "083",
Expand Down Expand Up @@ -16428,10 +16423,10 @@
"application/json": {
"example": {
"data": {
"id": "6ccb865e-ef3f-4999-ace0-963a62194085",
"id": "6a732110-d175-4b3a-a941-3b04201ecb46",
"type": "claimsApiPowerOfAttorneys",
"attributes": {
"dateRequestAccepted": "2024-10-03",
"dateRequestAccepted": "2024-10-08",
"previousPoa": null,
"representative": {
"serviceOrganization": {
Expand Down
Loading

0 comments on commit ff90bff

Please sign in to comment.