File tree Expand file tree Collapse file tree 3 files changed +79
-0
lines changed
Expand file tree Collapse file tree 3 files changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ No changes identified
Original file line number Diff line number Diff line change 1+ {
2+ "swagger" : " 2.0" ,
3+ "info" : {
4+ "title" : " Swagger Fixture" ,
5+ "version" : " 1.0"
6+ },
7+ "paths" : {
8+ "/a/" : {
9+ "get" : {
10+ "parameters" : [
11+ {
12+ "name" : " " ,
13+ "in" : " body" ,
14+ "schema" : { "$ref" : " #/definitions/A1" }
15+ }
16+ ],
17+ "responses" : {
18+ "200" : {
19+ "description" : " 200 response" ,
20+ "schema" : {
21+ "type" : " array" ,
22+ "items" : { "$ref" : " #/definitions/A1" }
23+ }
24+ }
25+ }
26+ }
27+ }
28+ },
29+ "definitions" : {
30+ "A1" : {
31+ "type" : " object" ,
32+ "properties" : {
33+ "id" : { "type" : " integer" },
34+ "name" : { "type" : " string" },
35+ "a1" :{ "$ref" : " #/definitions/A1" }
36+ }
37+ }
38+ }
39+ }
Original file line number Diff line number Diff line change 1+ {
2+ "swagger" : " 2.0" ,
3+ "info" : {
4+ "title" : " Swagger Fixture" ,
5+ "version" : " 1.0"
6+ },
7+ "paths" : {
8+ "/a/" : {
9+ "get" : {
10+ "parameters" : [
11+ {
12+ "name" : " " ,
13+ "in" : " body" ,
14+ "schema" : { "$ref" : " #/definitions/A1" }
15+ }
16+ ],
17+ "responses" : {
18+ "200" : {
19+ "description" : " 200 response" ,
20+ "schema" : {
21+ "type" : " array" ,
22+ "items" : { "$ref" : " #/definitions/A1" }
23+ }
24+ }
25+ }
26+ }
27+ }
28+ },
29+ "definitions" : {
30+ "A1" : {
31+ "type" : " object" ,
32+ "properties" : {
33+ "id" : { "type" : " integer" },`
34+ "name" : { "type" : " string" },
35+ "a1" :{ "$ref" : " #/definitions/A1" }
36+ }
37+ }
38+ }
39+ }
You can’t perform that action at this time.
0 commit comments