Commit 848f74c
Backports 4.0.11 (#2282)
* Add option to disable sorted parameters (#2248)
* Add option to disable sorted parameters
Signed-off-by: Michael Edgar <[email protected]>
* Document default property value, remove redundant parameter sort
Signed-off-by: Michael Edgar <[email protected]>
---------
Signed-off-by: Michael Edgar <[email protected]>
* fix: use array item schema ref when available instead of inline schema (#2256)
* fix: use array item schema ref when available instead of inline schema
Signed-off-by: Michael Edgar <[email protected]>
* Use `@Schema(type)` to determine items or merge strategy
Dereference single-dimension array component when available in
`readClassSchema` and `typeToSchema`.
Signed-off-by: Michael Edgar <[email protected]>
* Include all four varieties of array implementation in `@Schema` test
Signed-off-by: Michael Edgar <[email protected]>
---------
Signed-off-by: Michael Edgar <[email protected]>
* fix: preserve Schema annotation `nullable` after setting type (#2257)
* fix: preserve Schema annotation `nullable` after setting type
Signed-off-by: Michael Edgar <[email protected]>
* Avoid use of deprecated example property in test case
Signed-off-by: Michael Edgar <[email protected]>
* Add "else" branch in SchemaSupport#setTypeList, revert SchemaFactory chg
Signed-off-by: Michael Edgar <[email protected]>
---------
Signed-off-by: Michael Edgar <[email protected]>
* fix: skip class introspection when `$ref` is derived from annotation (#2266)
* fix: skip class introspection when implementation is given in annotation
Signed-off-by: Michael Edgar <[email protected]>
* fix: skip class introspection when `$ref` is derived from annotation
Signed-off-by: Michael Edgar <[email protected]>
Co-authored-by: Andrew Rouse <[email protected]>
---------
Signed-off-by: Michael Edgar <[email protected]>
Co-authored-by: Andrew Rouse <[email protected]>
---------
Signed-off-by: Michael Edgar <[email protected]>
Co-authored-by: Andrew Rouse <[email protected]>1 parent a1ff079 commit 848f74c
File tree
18 files changed
+424
-47
lines changed- core
- src
- main/java/io/smallrye/openapi
- api
- internal/models/media
- runtime
- io/schema
- scanner
- dataobject
- spi
- test
- java/io/smallrye/openapi/runtime/scanner
- resources/io/smallrye/openapi/runtime/scanner
- extension-jaxrs/src/test
- java/io/smallrye/openapi/runtime/scanner
- resources/io/smallrye/openapi/runtime/scanner
18 files changed
+424
-47
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | | - | |
172 | 173 | | |
173 | 174 | | |
Lines changed: 57 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
312 | 313 | | |
313 | 314 | | |
314 | | - | |
315 | | - | |
316 | | - | |
| 315 | + | |
317 | 316 | | |
318 | 317 | | |
319 | | - | |
320 | | - | |
321 | | - | |
| 318 | + | |
322 | 319 | | |
323 | 320 | | |
324 | 321 | | |
325 | 322 | | |
326 | | - | |
327 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
332 | 334 | | |
333 | | - | |
334 | | - | |
335 | | - | |
| 335 | + | |
| 336 | + | |
336 | 337 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
| |||
531 | 534 | | |
532 | 535 | | |
533 | 536 | | |
| 537 | + | |
534 | 538 | | |
535 | 539 | | |
536 | 540 | | |
537 | | - | |
538 | | - | |
| 541 | + | |
| 542 | + | |
539 | 543 | | |
540 | 544 | | |
541 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
542 | 548 | | |
| 549 | + | |
| 550 | + | |
543 | 551 | | |
544 | 552 | | |
545 | 553 | | |
| |||
597 | 605 | | |
598 | 606 | | |
599 | 607 | | |
| 608 | + | |
600 | 609 | | |
601 | 610 | | |
602 | 611 | | |
603 | | - | |
604 | | - | |
| 612 | + | |
605 | 613 | | |
606 | 614 | | |
607 | | - | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
608 | 618 | | |
| 619 | + | |
| 620 | + | |
609 | 621 | | |
610 | 622 | | |
611 | 623 | | |
| |||
727 | 739 | | |
728 | 740 | | |
729 | 741 | | |
730 | | - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
731 | 757 | | |
732 | 758 | | |
733 | 759 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
259 | 263 | | |
260 | 264 | | |
261 | 265 | | |
| |||
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
295 | | - | |
| 299 | + | |
296 | 300 | | |
297 | 301 | | |
298 | 302 | | |
| |||
301 | 305 | | |
302 | 306 | | |
303 | 307 | | |
304 | | - | |
| 308 | + | |
305 | 309 | | |
306 | 310 | | |
307 | 311 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
| 133 | + | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| |||
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
333 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
334 | 338 | | |
335 | 339 | | |
336 | 340 | | |
337 | | - | |
| 341 | + | |
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
341 | 345 | | |
342 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
343 | 349 | | |
344 | 350 | | |
345 | 351 | | |
| |||
367 | 373 | | |
368 | 374 | | |
369 | 375 | | |
370 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
371 | 379 | | |
372 | 380 | | |
373 | 381 | | |
| |||
482 | 490 | | |
483 | 491 | | |
484 | 492 | | |
485 | | - | |
486 | | - | |
487 | 493 | | |
488 | 494 | | |
489 | 495 | | |
490 | 496 | | |
491 | | - | |
| 497 | + | |
492 | 498 | | |
493 | 499 | | |
494 | 500 | | |
495 | | - | |
496 | 501 | | |
497 | 502 | | |
498 | 503 | | |
| |||
0 commit comments