View | Details | Raw Unified | Return to bug 18120
Collapse All | Expand All

(-)a/api/v1/swagger/paths/acquisitions_vendors.json (-6 / +5 lines)
Lines 2-8 Link Here
2
  "/acquisitions/vendors": {
2
  "/acquisitions/vendors": {
3
    "get": {
3
    "get": {
4
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
4
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
5
      "operationId": "list",
5
      "operationId": "listVendors",
6
      "tags": ["acquisitions","vendors"],
6
      "tags": ["acquisitions","vendors"],
7
      "produces": [
7
      "produces": [
8
        "application/json"
8
        "application/json"
Lines 51-57 Link Here
51
    },
51
    },
52
    "post": {
52
    "post": {
53
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
53
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
54
      "operationId": "add",
54
      "operationId": "addVendor",
55
      "tags": ["acquisitions","vendors"],
55
      "tags": ["acquisitions","vendors"],
56
      "parameters": [{
56
      "parameters": [{
57
        "name": "body",
57
        "name": "body",
Lines 95-101 Link Here
95
  "/acquisitions/vendors/{vendor_id}": {
95
  "/acquisitions/vendors/{vendor_id}": {
96
    "get": {
96
    "get": {
97
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
97
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
98
      "operationId": "get",
98
      "operationId": "getVendor",
99
      "tags": ["acquisitions","vendors"],
99
      "tags": ["acquisitions","vendors"],
100
      "parameters": [{
100
      "parameters": [{
101
        "$ref": "../parameters.json#/vendoridPathParam"
101
        "$ref": "../parameters.json#/vendoridPathParam"
Lines 137-143 Link Here
137
    },
137
    },
138
    "put": {
138
    "put": {
139
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
139
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
140
      "operationId": "update",
140
      "operationId": "updateVendor",
141
      "tags": ["acquisitions","vendors"],
141
      "tags": ["acquisitions","vendors"],
142
      "parameters": [{
142
      "parameters": [{
143
        "$ref": "../parameters.json#/vendoridPathParam"
143
        "$ref": "../parameters.json#/vendoridPathParam"
Lines 187-193 Link Here
187
    },
187
    },
188
    "delete": {
188
    "delete": {
189
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
189
      "x-mojo-controller": "Koha::REST::V1::Acquisitions::Vendors",
190
      "operationId": "delete",
190
      "operationId": "deleteVendor",
191
      "tags": ["acquisitions","vendors"],
191
      "tags": ["acquisitions","vendors"],
192
      "parameters": [{
192
      "parameters": [{
193
        "$ref": "../parameters.json#/vendoridPathParam"
193
        "$ref": "../parameters.json#/vendoridPathParam"
194
- 

Return to bug 18120