-
Notifications
You must be signed in to change notification settings - Fork 0
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
Change content type back to application/json for H2 files #585
Conversation
21e8855
to
8ce9bfc
Compare
…tent_type, reset back to application/json
8ce9bfc
to
c6b4757
Compare
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.
one nitpicky comment suggestion, and two nitpicky questions re: tests, but the application logic change LGTM.
Co-authored-by: Johnathan Martin <jmartin-sul@users.noreply.github.com>
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.
thanks for the openapi.yml edit, and for rolling in the tests @edsu experimented with for reproducing the undesired 400 in #586! had a note to myself to add the former and to try doing the latter 🎉
requesting changes for a small thing: i think the openapi comment needs to be moved to the /v1/disk
route. no good deed, and all that 😬
5d9941d
to
930a199
Compare
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.
🌮
Why was this change made? 🤔
Part of sul-dlss/happy-heron#3075
Needs to go with sul-dlss/happy-heron#3083 and sul-dlss/sdr-client#284
Todo:
application/json
files can be set to content typeapplication/x-stanford-json
if you do not want validation to occurHow was this change tested? 🤨
On QA with H2 and added new specs here