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

(-)a/api/v1/parameters.json (+3 lines)
Lines 2-7 Link Here
2
  "borrowernumberPathParam": {
2
  "borrowernumberPathParam": {
3
    "$ref": "parameters/patron.json#/borrowernumberPathParam"
3
    "$ref": "parameters/patron.json#/borrowernumberPathParam"
4
  },
4
  },
5
  "borrowernumberQueryParam": {
6
    "$ref": "parameters/patron.json#/borrowernumberQueryParam"
7
  },
5
  "holdIdPathParam": {
8
  "holdIdPathParam": {
6
    "$ref": "parameters/hold.json#/holdIdPathParam"
9
    "$ref": "parameters/hold.json#/holdIdPathParam"
7
  }
10
  }
(-)a/api/v1/parameters/patron.json (+7 lines)
Lines 5-9 Link Here
5
    "description": "Internal patron identifier",
5
    "description": "Internal patron identifier",
6
    "required": true,
6
    "required": true,
7
    "type": "integer"
7
    "type": "integer"
8
  },
9
  "borrowernumberQueryParam": {
10
    "name": "borrowernumber",
11
    "in": "query",
12
    "description": "Internal borrower identifier",
13
    "required": true,
14
    "type": "integer"
8
  }
15
  }
9
}
16
}
(-)a/api/v1/paths/holds.json (-6 / +1 lines)
Lines 4-14 Link Here
4
      "operationId": "listHolds",
4
      "operationId": "listHolds",
5
      "tags": ["borrowers", "holds"],
5
      "tags": ["borrowers", "holds"],
6
      "parameters": [{
6
      "parameters": [{
7
          "name": "borrowernumber",
7
          "$ref": "../parameters.json#/borrowernumberQueryParam"
8
          "in": "query",
9
          "description": "Internal borrower identifier",
10
          "required": true,
11
          "type": "integer"
12
        }
8
        }
13
      ],
9
      ],
14
      "produces": ["application/json"],
10
      "produces": ["application/json"],
15
- 

Return to bug 16699