|
Lines 93-111
Link Here
|
| 93 |
} |
93 |
} |
| 94 |
} |
94 |
} |
| 95 |
}, |
95 |
}, |
| 96 |
"/checkouts/{checkout_id}/renewability": { |
96 |
"/checkouts/{checkout_id}/allows_renewal": { |
| 97 |
"get": { |
97 |
"get": { |
| 98 |
"x-mojo-to": "Checkout#renewability", |
98 |
"x-mojo-to": "Checkouts#allows_renewal", |
| 99 |
"operationId": "renewabilityCheckout", |
99 |
"operationId": "allows_renewalCheckout", |
| 100 |
"tags": ["patrons", "checkouts"], |
100 |
"tags": ["patrons", "checkouts"], |
| 101 |
"parameters": [{ |
101 |
"parameters": [{ |
| 102 |
"$ref": "../parameters.json#/checkoutIdPathParam" |
102 |
"$ref": "../parameters.json#/checkout_id_pp" |
| 103 |
}], |
103 |
}], |
| 104 |
"produces": ["application/json"], |
104 |
"produces": ["application/json"], |
| 105 |
"responses": { |
105 |
"responses": { |
| 106 |
"200": { |
106 |
"200": { |
| 107 |
"description": "Checkout renewability", |
107 |
"description": "Checkout renewability information", |
| 108 |
"schema": { "$ref": "../definitions.json#/renewability" } |
108 |
"schema": { "$ref": "../definitions.json#/allows_renewal" } |
| 109 |
}, |
109 |
}, |
| 110 |
"403": { |
110 |
"403": { |
| 111 |
"description": "Forbidden", |
111 |
"description": "Forbidden", |