Browse Source

Bug 25944: Schema fix for illrequests route

The illrequests path was missing the `comments` and `status_alias`
embedable relations in the path specification.

Test plan:
1/ Ensure you have the latest Mojolicious + OpenAPI modules installed.
2/ Navigate to the ill requests page and note that the table is empty.
3/ Note that under the networking tab in your browsers developer tools
that the api call fails with a 400 error.
4/ Apply the patch
5/ Refresh the page
6/ The table should now load and the api route should return a proper
200 response.
7/ Signoff

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Applied the patch to a production server that was having the 400
error on the main ILL page, and the error was gone.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.11.x
Martin Renvoize 2 years ago
parent
commit
40ab030060
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 4
      api/v1/swagger/paths/illrequests.json

4
api/v1/swagger/paths/illrequests.json

@ -18,7 +18,9 @@
"library",
"capabilities",
"metadata",
"requested_partners"
"requested_partners",
"comments",
"status_alias"
]
}
}, {

Loading…
Cancel
Save