|
Lines 2-8
Link Here
|
| 2 |
"/cities": { |
2 |
"/cities": { |
| 3 |
"get": { |
3 |
"get": { |
| 4 |
"x-mojo-to": "Cities#list", |
4 |
"x-mojo-to": "Cities#list", |
| 5 |
"operationId": "list", |
5 |
"operationId": "listCities", |
| 6 |
"tags": ["cities"], |
6 |
"tags": ["cities"], |
| 7 |
"produces": [ |
7 |
"produces": [ |
| 8 |
"application/json" |
8 |
"application/json" |
|
Lines 64-70
Link Here
|
| 64 |
}, |
64 |
}, |
| 65 |
"post": { |
65 |
"post": { |
| 66 |
"x-mojo-to": "Cities#add", |
66 |
"x-mojo-to": "Cities#add", |
| 67 |
"operationId": "add", |
67 |
"operationId": "addCity", |
| 68 |
"tags": ["cities"], |
68 |
"tags": ["cities"], |
| 69 |
"parameters": [{ |
69 |
"parameters": [{ |
| 70 |
"name": "body", |
70 |
"name": "body", |
|
Lines 120-126
Link Here
|
| 120 |
"/cities/{cityid}": { |
120 |
"/cities/{cityid}": { |
| 121 |
"get": { |
121 |
"get": { |
| 122 |
"x-mojo-to": "Cities#get", |
122 |
"x-mojo-to": "Cities#get", |
| 123 |
"operationId": "get", |
123 |
"operationId": "getCity", |
| 124 |
"tags": ["cities"], |
124 |
"tags": ["cities"], |
| 125 |
"parameters": [{ |
125 |
"parameters": [{ |
| 126 |
"$ref": "../parameters.json#/cityidPathParam" |
126 |
"$ref": "../parameters.json#/cityidPathParam" |
|
Lines 157-163
Link Here
|
| 157 |
}, |
157 |
}, |
| 158 |
"put": { |
158 |
"put": { |
| 159 |
"x-mojo-to": "Cities#update", |
159 |
"x-mojo-to": "Cities#update", |
| 160 |
"operationId": "update", |
160 |
"operationId": "updateCity", |
| 161 |
"tags": ["cities"], |
161 |
"tags": ["cities"], |
| 162 |
"parameters": [{ |
162 |
"parameters": [{ |
| 163 |
"$ref": "../parameters.json#/cityidPathParam" |
163 |
"$ref": "../parameters.json#/cityidPathParam" |
|
Lines 219-225
Link Here
|
| 219 |
}, |
219 |
}, |
| 220 |
"delete": { |
220 |
"delete": { |
| 221 |
"x-mojo-to": "Cities#delete", |
221 |
"x-mojo-to": "Cities#delete", |
| 222 |
"operationId": "delete", |
222 |
"operationId": "deleteCity", |
| 223 |
"tags": ["cities"], |
223 |
"tags": ["cities"], |
| 224 |
"parameters": [{ |
224 |
"parameters": [{ |
| 225 |
"$ref": "../parameters.json#/cityidPathParam" |
225 |
"$ref": "../parameters.json#/cityidPathParam" |
| 226 |
- |
|
|