Browse Source

Bug 28461: Fix orders, biblios, holds

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Jonathan Druart 2 years ago
parent
commit
4a15c972a8
  1. 25
      api/v1/swagger/paths/acquisitions_orders.json
  2. 6
      api/v1/swagger/paths/biblios.json
  3. 1
      api/v1/swagger/paths/holds.json
  4. 1
      api/v1/swagger/paths/patrons_holds.json

25
api/v1/swagger/paths/acquisitions_orders.json

@ -3,10 +3,7 @@
"get": {
"x-mojo-to": "Acquisitions::Orders#list",
"operationId": "listOrders",
"tags": [
"acquisitions",
"orders"
],
"tags": ["orders"],
"produces": [
"application/json"
],
@ -133,10 +130,7 @@
"post": {
"x-mojo-to": "Acquisitions::Orders#add",
"operationId": "addOrder",
"tags": [
"acquisitions",
"orders"
],
"tags": ["orders"],
"parameters": [
{
"name": "body",
@ -206,10 +200,7 @@
"get": {
"x-mojo-to": "Acquisitions::Orders#get",
"operationId": "getOrder",
"tags": [
"acquisitions",
"orders"
],
"tags": ["orders"],
"parameters": [
{
"$ref": "../parameters.json#/order_id_pp"
@ -280,10 +271,7 @@
"put": {
"x-mojo-to": "Acquisitions::Orders#update",
"operationId": "updateOrder",
"tags": [
"acquisitions",
"orders"
],
"tags": ["orders"],
"parameters": [
{
"$ref": "../parameters.json#/order_id_pp"
@ -348,10 +336,7 @@
"delete": {
"x-mojo-to": "Acquisitions::Orders#delete",
"operationId": "deleteOrder",
"tags": [
"acquisitions",
"orders"
],
"tags": ["orders"],
"parameters": [
{
"$ref": "../parameters.json#/order_id_pp"

6
api/v1/swagger/paths/biblios.json

@ -139,8 +139,7 @@
"x-mojo-to": "Biblios#get_items",
"operationId": "getBiblioItems",
"tags": [
"biblios",
"items"
"biblios"
],
"parameters": [
{
@ -237,8 +236,7 @@
"x-mojo-to": "Biblios#pickup_locations",
"operationId": "getBiblioPickupLocations",
"tags": [
"biblios",
"pickup_locations"
"biblios"
],
"parameters": [
{

1
api/v1/swagger/paths/holds.json

@ -521,7 +521,6 @@
"x-mojo-to": "Holds#update_priority",
"operationId": "updateHoldPriority",
"tags": [
"biblios",
"holds"
],
"parameters": [

1
api/v1/swagger/paths/patrons_holds.json

@ -4,7 +4,6 @@
"x-mojo-to": "Patrons::Holds#list",
"operationId": "getPatronHolds",
"tags": [
"patrons",
"holds"
],
"parameters": [

Loading…
Cancel
Save