[Koha-bugs] [Bug 33145] Invalid specification for ERM routes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 6 13:41:48 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33145
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #147780|0 |1
is obsolete| |
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 147782
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147782&action=edit
Bug 33145: Fix ERM swagger specs
This patch adds the missing 'Provider name' parameter definition to the
various ERM paths that were missing it.
Test plan
1) Run:
docker run --rm -v $PWD/api/v1/swagger:/swagger \
jeanberu/swagger-cli \
swagger-cli validate swagger/swagger.yaml
=> FAIL: The spec is not valid!
2) Apply this patch
3) Repeat 1
=> SUCCESS: Tests pass!
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Edit: tcohen edited the test plan because of the failure to install
swagger-cli cleanly
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list