File tree Expand file tree Collapse file tree 5 files changed +224
-54
lines changed
springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0 Expand file tree Collapse file tree 5 files changed +224
-54
lines changed Original file line number Diff line number Diff line change 6161 <maven-gpg-plugin .version>1.6</maven-gpg-plugin .version>
6262 <maven-release-plugin .version>2.5.3</maven-release-plugin .version>
6363 <nexus-staging-maven-plugin >1.6.8</nexus-staging-maven-plugin >
64- <swagger-api .version>2.2.0 </swagger-api .version>
64+ <swagger-api .version>2.2.2 </swagger-api .version>
6565 <swagger-ui .version>4.11.1</swagger-ui .version>
66- <classgraph .version>4.8.147 </classgraph .version>
66+ <classgraph .version>4.8.149 </classgraph .version>
6767 <webjars-locator-core .version>0.50</webjars-locator-core .version>
6868 <gmavenplus-plugin .version>1.13.1</gmavenplus-plugin .version>
6969 <jaxb-impl .version>2.1</jaxb-impl .version>
Original file line number Diff line number Diff line change 2828 "in" : " path" ,
2929 "description" : " E-Mail address to lookup for" ,
3030 "required" : true ,
31- "schema" : {}
31+ "schema" : {
32+ "type" : " string"
33+ }
3234 }
3335 ],
3436 "responses" : {
7678 "in" : " path" ,
7779 "description" : " E-Mail" ,
7880 "required" : true ,
79- "schema" : {}
81+ "schema" : {
82+ "type" : " string"
83+ }
8084 },
8185 {
8286 "name" : " firstName" ,
8387 "in" : " query" ,
8488 "description" : " First Name" ,
8589 "required" : true ,
86- "schema" : {}
90+ "schema" : {
91+ "type" : " string"
92+ }
8793 },
8894 {
8995 "name" : " lastName" ,
9096 "in" : " query" ,
9197 "description" : " Last Name" ,
9298 "required" : true ,
93- "schema" : {}
99+ "schema" : {
100+ "type" : " string"
101+ }
94102 }
95103 ],
96104 "responses" : {
109117 "headers" : {
110118 "Location" : {
111119 "style" : " simple" ,
112- "schema" : {}
120+ "schema" : {
121+ "type" : " string"
122+ }
113123 }
114124 },
115125 "content" : {
124134 "description" : " Person with such e-mail already exists" ,
125135 "content" : {
126136 "application/json" : {
127- "schema" : {}
137+ "schema" : {
138+ "type" : " string"
139+ }
128140 }
129141 }
130142 }
142154 "in" : " path" ,
143155 "description" : " E-Mail address to lookup for" ,
144156 "required" : true ,
145- "schema" : {}
157+ "schema" : {
158+ "type" : " string"
159+ }
146160 }
147161 ],
148162 "responses" : {
160174 "description" : " Person has been deleted" ,
161175 "content" : {
162176 "application/json" : {
163- "schema" : {}
177+ "schema" : {
178+ "type" : " string"
179+ }
164180 }
165181 }
166182 },
167183 "404" : {
168184 "description" : " Person with such e-mail doesn't exists" ,
169185 "content" : {
170186 "application/json" : {
171- "schema" : {}
187+ "schema" : {
188+ "type" : " string"
189+ }
172190 }
173191 }
174192 }
187205 "in" : " query" ,
188206 "required" : true ,
189207 "schema" : {
208+ "type" : " string" ,
190209 "maxLength" : 6 ,
191210 "minLength" : 4
192211 }
196215 "in" : " query" ,
197216 "required" : true ,
198217 "schema" : {
218+ "type" : " integer" ,
199219 "format" : " int32" ,
200220 "maximum" : 6 ,
201221 "minimum" : 4
216236 "required" : false ,
217237 "explode" : false ,
218238 "schema" : {
239+ "type" : " array" ,
219240 "items" : {}
220241 }
221242 }
236257 "content" : {
237258 "application/json" : {
238259 "schema" : {
260+ "type" : " array" ,
239261 "items" : {
240262 "$ref" : " #/components/schemas/ItemDTO"
241263 }
276298 "content" : {
277299 "application/json" : {
278300 "schema" : {
301+ "type" : " string" ,
279302 "format" : " uri"
280303 }
281304 }
299322 "in" : " query" ,
300323 "description" : " pass an optional search string for looking up inventory" ,
301324 "required" : false ,
302- "schema" : {}
325+ "schema" : {
326+ "type" : " string"
327+ }
303328 },
304329 {
305330 "name" : " skip" ,
306331 "in" : " query" ,
307332 "description" : " number of records to skip for pagination" ,
308333 "required" : true ,
309334 "schema" : {
335+ "type" : " integer" ,
310336 "format" : " int32" ,
311337 "minimum" : 0
312338 }
317343 "description" : " maximum number of records to return" ,
318344 "required" : true ,
319345 "schema" : {
346+ "type" : " integer" ,
320347 "format" : " int32" ,
321348 "maximum" : 50 ,
322349 "minimum" : 0
339366 "content" : {
340367 "application/json" : {
341368 "schema" : {
369+ "type" : " array" ,
342370 "items" : {
343371 "$ref" : " #/components/schemas/InventoryItem"
344372 }
351379 "content" : {
352380 "application/json" : {
353381 "schema" : {
382+ "type" : " array" ,
354383 "items" : {
355384 "$ref" : " #/components/schemas/InventoryItem"
356385 }
425454 "content" : {
426455 "application/json" : {
427456 "schema" : {
457+ "type" : " array" ,
428458 "items" : {
429459 "$ref" : " #/components/schemas/PersonDTO"
430460 }
446476 "name" : " numTelco" ,
447477 "in" : " path" ,
448478 "required" : true ,
449- "schema" : {}
479+ "schema" : {
480+ "type" : " string"
481+ }
450482 },
451483 {
452484 "name" : " adresse" ,
453485 "in" : " query" ,
454486 "required" : true ,
455- "schema" : {}
487+ "schema" : {
488+ "type" : " string"
489+ }
456490 }
457491 ],
458492 "responses" : {
470504 "description" : " I'm a teapot" ,
471505 "content" : {
472506 "application/json" : {
473- "schema" : {}
507+ "schema" : {
508+ "type" : " string"
509+ }
474510 }
475511 }
476512 }
482518 "schemas" : {
483519 "ErrorMessage" : {
484520 "properties" : {
485- "id" : {},
486- "message" : {}
521+ "id" : {
522+ "type" : " string"
523+ },
524+ "message" : {
525+ "type" : " string"
526+ }
487527 }
488528 },
489529 "PersonDTO" : {
490530 "properties" : {
491- "email" : {},
492- "firstName" : {},
493- "lastName" : {}
531+ "email" : {
532+ "type" : " string"
533+ },
534+ "firstName" : {
535+ "type" : " string"
536+ },
537+ "lastName" : {
538+ "type" : " string"
539+ }
494540 }
495541 },
496542 "ItemLightDTO" : {
497543 "properties" : {
498- "description" : {},
544+ "description" : {
545+ "type" : " string"
546+ },
499547 "price" : {
548+ "type" : " integer" ,
500549 "format" : " int32"
501550 },
502551 "deprecatedPrice" : {
552+ "type" : " integer" ,
503553 "format" : " int32" ,
504554 "deprecated" : true
505555 }
508558 "InventoryItem" : {
509559 "properties" : {
510560 "id" : {
561+ "type" : " string" ,
511562 "format" : " uuid" ,
512563 "example" : " d290f1ee-6c54-4b01-90e6-d701748f0851"
513564 },
514565 "name" : {
566+ "type" : " string" ,
515567 "example" : " Widget Adapter"
516568 },
517569 "releaseDate" : {
570+ "type" : " string" ,
518571 "example" : " 2016-08-29T09:12:33.001Z"
519572 },
520573 "manufacturer" : {
531584 "Manufacturer" : {
532585 "properties" : {
533586 "name" : {
587+ "type" : " string" ,
534588 "example" : " ACME Corporation"
535589 },
536590 "homePage" : {
591+ "type" : " string" ,
537592 "example" : " https://www.acme-corp.com"
538593 },
539594 "phone" : {
595+ "type" : " string" ,
540596 "example" : " 408-867-5309"
541597 }
542598 },
546602 },
547603 "ItemDTO" : {
548604 "properties" : {
549- "itemID" : {},
550- "description" : {},
605+ "itemID" : {
606+ "type" : " string"
607+ },
608+ "description" : {
609+ "type" : " string"
610+ },
551611 "price" : {
612+ "type" : " integer" ,
552613 "format" : " int32"
553614 },
554615 "deprecatedPrice" : {
616+ "type" : " integer" ,
555617 "format" : " int32" ,
556618 "deprecated" : true
557619 }
You can’t perform that action at this time.
0 commit comments