File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -1159,19 +1159,19 @@ describe('swagger resolver', function () {
11591159 swagger :'2.0' ,
11601160 info :{
11611161 } ,
1162- host :" localhost:9000" ,
1162+ host :' localhost:9000' ,
11631163 schemes :[
1164- " http"
1164+ ' http'
11651165 ] ,
1166- basePath :" /2.0" ,
1166+ basePath :' /2.0' ,
11671167 paths :{
11681168 '/' :{
11691169 get :{
11701170 responses :{
1171- " 200" :{
1172- description :" Pets" ,
1171+ ' 200' :{
1172+ description :' Pets' ,
11731173 schema :{
1174- " $ref" : " #/definitions/Pet"
1174+ ' $ref' : ' #/definitions/Pet'
11751175 }
11761176 }
11771177 } ,
@@ -1184,28 +1184,28 @@ describe('swagger resolver', function () {
11841184 Cat :{
11851185 allOf : [
11861186 {
1187- " $ref" : " #/definitions/Pet"
1187+ ' $ref' : ' #/definitions/Pet'
11881188 } ,
11891189 {
1190- type : " object" ,
1190+ type : ' object' ,
11911191 properties :{
11921192 size :{
1193- type : " number"
1193+ type : ' number'
11941194 }
11951195 }
11961196 }
11971197 ]
11981198 } ,
11991199 Pet :{
1200- type : " object" ,
1200+ type : ' object' ,
12011201 properties :{
12021202 color :{
1203- " $ref" : " #/definitions/Color"
1203+ ' $ref' : ' #/definitions/Color'
12041204 }
12051205 }
12061206 } ,
12071207 Color :{
1208- " type" : " string"
1208+ ' type' : ' string'
12091209 }
12101210 }
12111211 } ;
@@ -1223,22 +1223,22 @@ describe('swagger resolver', function () {
12231223 var spec = {
12241224 swagger :'2.0' ,
12251225 info :{ } ,
1226- host :" localhost:9000" ,
1227- basePath :" /2.0" ,
1226+ host :' localhost:9000' ,
1227+ basePath :' /2.0' ,
12281228 paths :{
12291229 '/' :{
12301230 get :{
12311231 responses :{
1232- " 200" :{
1233- description :" Pets" ,
1232+ ' 200' :{
1233+ description :' Pets' ,
12341234 schema :{
1235- type : " object" ,
1235+ type : ' object' ,
12361236 allOf : [
12371237 {
1238- $ref : " #/definitions/Pet"
1238+ $ref : ' #/definitions/Pet'
12391239 } ,
12401240 {
1241- $ref : " #/definitions/Tag"
1241+ $ref : ' #/definitions/Tag'
12421242 } ]
12431243 }
12441244 }
@@ -1251,15 +1251,15 @@ describe('swagger resolver', function () {
12511251 Tag :{
12521252 properties :{
12531253 size :{
1254- type : " number"
1254+ type : ' number'
12551255 }
12561256 }
12571257 } ,
12581258 Pet :{
1259- type : " object" ,
1259+ type : ' object' ,
12601260 properties :{
12611261 name :{
1262- type : " string"
1262+ type : ' string'
12631263 }
12641264 }
12651265 }
You can’t perform that action at this time.
0 commit comments