Debian Codegraph @

fixtures/json/cascade-ref-expanded.json

raw
1 {
2 "swagger": "2.0",
3 "consumes":[
4 "application/json"
5 ],
6 "produces":[
7 "application/json"
8 ],
9 "schemes":[
10 "http"
11 ],
12 "host": "api.example.com",
13 "info":{
14 "description":"recursively following JSON references",
15 "title":"test 1",
16 "contact":{
17 "name":"Fred"
18 },
19 "version":"0.1.1"
20 },
21 "paths":{
22 "/getAll":{
23 "get":{
24 "operationId":"getAll",
25 "parameters":[
26 {
27 "description":"max number of results",
28 "name":"a",
29 "in":"body",
30 "schema":{
31 "type":"string"
32 }
33 }
34 ],
35 "responses":{
36 "200":{
37 "description":"Success",
38 "schema":{
39 "type":"array",
40 "items":{
41 "type":"string"
42 }
43 }
44 }
45 }
46 }
47 }
48 },
49 "definitions":{
50 "a":{
51 "type":"string"
52 },
53 "b":{
54 "type":"array",
55 "items":{
56 "type":"string"
57 }
58 }
59 }
60 }