Debian Codegraph @

fixtures/json/resources/resourceWithLinkedDefinitions_part1.json

raw
1 {
2 "get": {
3 "description": "Returns a pet based on ID",
4 "summary": "Find pet by ID",
5 "operationId": "getPetsById",
6 "produces": [
7 "application/json",
8 "text/html"
9 ],
10 "parameters": [
11 {
12 "name": "petId",
13 "in": "path",
14 "description": "ID of pet that needs to be fetched",
15 "required": true,
16 "type": "array",
17 "items": {
18 "type": "string"
19 },
20 "collectionFormat": "csv"
21 }
22 ],
23 "responses": {
24 "200": {
25 "description": "pet response",
26 "schema": {
27 "$ref": "Pet"
28 }
29 },
30 "default": {
31 "description": "error payload",
32 "schema": {
33 "$ref": "ErrorModel"
34 }
35 }
36 }
37 }
38 }