-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Api 33824 claim date added to generate pdf (#15332)
* Changes to be committed: modified: modules/claims_api/app/controllers/claims_api/v2/veterans/disability_compensation_controller.rb modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json modified: modules/claims_api/config/schemas/v2/526.json new file: modules/claims_api/config/schemas/v2/generate_pdf_526.json new file: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/generate_pdf_example.json modified: modules/claims_api/lib/claims_api/v2/disability_compensation_pdf_mapper.rb new file: modules/claims_api/spec/fixtures/v2/veterans/disability_compensation/form_526_generate_pdf_json_api.json modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb modified: modules/claims_api/spec/requests/v2/veterans/rswag_disability_compensation_request_spec.rb modified: modules/claims_api/spec/support/swagger_shared_components/v2.rb * API-33824 claim date added to generate pdf * Allows generate_pdf endpoint to accept a form witha claimDate value * Creates generate_pdf_526.json as schema for endpoint * Creates generate_pdf_example.json as example request for endpoint * Creates form_526_generate_pdf_json_api.json as request example used in tests for endpoint * Reverts before actions changes from previous generatePDF update since this now uses its own JSON validation * Recompiles dev and prod swagger docs * Removes character limit, previously added from Docker container OAS valdations, on state objects in 526 and generate_pdf_526 json files since it is capped at 2, character limit is not needed Changes to be committed: modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json modified: modules/claims_api/app/swagger/claims_api/v2/production/swagger.json * Fxes missed merge resolution * API-33824 claim date added to generate pdf * Reverts changes made previously to 526.json, which will not be used as the schema for the generate PDF endpoint now * Adds JSON files for the generate PDF endpoint, validations should be inline with firefly updates OAS * schema - generate_pdf_526.json * example file for docs - generate_pdf_example.json * example file for tests - form_526_generate_pdf_json_api.json * Generates swagger docs to reflect updates/changes * Adds one more test in RSpec to handle difference in phone numbers that is currently only for generate PDF Changes to be committed: modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json modified: modules/claims_api/app/swagger/claims_api/v2/production/swagger.json modified: modules/claims_api/config/schemas/v2/526.json modified: modules/claims_api/config/schemas/v2/generate_pdf_526.json modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/generate_pdf_example.json modified: modules/claims_api/spec/fixtures/v2/veterans/disability_compensation/form_526_generate_pdf_json_api.json modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb * Updates swagger docs to show money with no decimal for generatePDF examples * Reverts phone number update, going to ignore Firefly OAS for this value, also fixes a 526.json phone number that only had 8 characters in example but requires 10
- Loading branch information
1 parent
ddf5362
commit 49722c5
Showing
11 changed files
with
1,710 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
297 changes: 109 additions & 188 deletions
297
modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
Large diffs are not rendered by default.
Oops, something went wrong.
181 changes: 53 additions & 128 deletions
181
modules/claims_api/app/swagger/claims_api/v2/production/swagger.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.