-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
9540: add committee-rails gem to gemfile #18735
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! You will need to follow the guidance here around adding a new third party package.
@kpethtel could you validate the request specs with this: It uses this gem: https://github.com/voxpupuli/json-schema or maybe rswag-specs => https://github.com/rswag/rswag |
After talking to @stevenjcumming this morning, I believe we can rule out the json-schema gem because it doesn't understand openapi formatting. I'm still open to rswag if anyone knows how to use it to validate against yaml/json/html. Here are my responses to the checklist (cc: @LindseySaari):
I looked at several other gems including JSON::Schema and Rswag but didn't find any others that fit this exact business case. I also attempted to use the openapi parser gem to parse our yaml files in order to use the JSON::Schema gem to validate them, but I ran into issues getting it working with yaml and that gem is used by committee anyhow. I also looked at apivore, which is used in the vets-api, but as far as I can tell the gem hasn't been updated in 8 years and does not support openapi3. |
Backend-review-group approval confirmed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for PO/security approval.
Summary
Adds a the committee-rails gem to the vets-api. The gem will be used to validate request specs againt openapi documentation. Subsequent PRs will add use of the gem.
Related issue(s)
department-of-veterans-affairs/va-mobile-app#9540
Testing done
Screenshots
What areas of the site does it impact?
None
Acceptance criteria
Requested Feedback