Commit b54299f
authored
Spring request mapping mode (#13838)
* Introduce RequestMappingMode option
* generate docs
* Add test case using interfaceOnly
* Generate Samples
* Add requestMappingMode: iface to bin/configs/spring-boot-oas3.yaml
* Restore #12250: Move Feign Client url parameter under condition.
* Rename iface to api_interface.1 parent fe5601a commit b54299f
285 files changed
Lines changed: 215 additions & 171 deletions
File tree
- bin/configs
- docs/generators
- modules/openapi-generator/src
- main
- java/org/openapitools/codegen/languages
- resources/JavaSpring
- libraries/spring-cloud
- test/java/org/openapitools/codegen/java/spring
- samples
- client/petstore
- spring-cloud-date-time/src/main/java/org/openapitools/api
- spring-cloud-feign-without-url/src/main/java/org/openapitools/api
- openapi3
- client/petstore
- spring-cloud-3/src/main/java/org/openapitools/api
- spring-cloud-date-time/src/main/java/org/openapitools/api
- spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api
- spring-cloud/src/main/java/org/openapitools/api
- spring-stubs-skip-default-interface/src/main/java/org/openapitools/api
- spring-stubs/src/main/java/org/openapitools/api
- server/petstore
- spring-boot-oneof/src/main/java/org/openapitools/api
- spring-boot-springdoc/src/main/java/org/openapitools/api
- springboot-3/src/main/java/org/openapitools/api
- springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api
- springboot-delegate/src/main/java/org/openapitools/api
- springboot-implicitHeaders/src/main/java/org/openapitools/api
- springboot-reactive/src/main/java/org/openapitools/api
- springboot-source/src/main/java/org/openapitools/api
- springboot-useoptional/src/main/java/org/openapitools/api
- server/petstore
- spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/api
- spring-boot-nullable-set/src/main/java/org/openapitools/api
- spring-stubs/src/main/java/org/openapitools/api
- springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api
- springboot-beanvalidation/src/main/java/org/openapitools/api
- springboot-delegate-j8/src/main/java/org/openapitools/api
- springboot-delegate/src/main/java/org/openapitools/api
- springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/api
- springboot-implicitHeaders/src/main/java/org/openapitools/api
- springboot-reactive/src/main/java/org/openapitools/api
- springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api
- springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api
- springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api
- springboot-spring-pageable/src/main/java/org/openapitools/api
- springboot-useoptional/src/main/java/org/openapitools/api
- springboot-virtualan/src/main/java/org/openapitools/virtualan/api
- springboot/src/main/java/org/openapitools/api
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
Lines changed: 59 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
| |||
116 | 134 | | |
117 | 135 | | |
118 | 136 | | |
119 | | - | |
120 | 137 | | |
121 | 138 | | |
122 | 139 | | |
| |||
136 | 153 | | |
137 | 154 | | |
138 | 155 | | |
| 156 | + | |
139 | 157 | | |
140 | 158 | | |
141 | 159 | | |
| |||
208 | 226 | | |
209 | 227 | | |
210 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
211 | 238 | | |
212 | 239 | | |
213 | 240 | | |
| |||
304 | 331 | | |
305 | 332 | | |
306 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
307 | 341 | | |
308 | 342 | | |
309 | 343 | | |
| |||
498 | 532 | | |
499 | 533 | | |
500 | 534 | | |
| 535 | + | |
| 536 | + | |
501 | 537 | | |
502 | | - | |
503 | 538 | | |
504 | 539 | | |
505 | 540 | | |
| |||
582 | 617 | | |
583 | 618 | | |
584 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
585 | 633 | | |
586 | 634 | | |
587 | 635 | | |
| |||
873 | 921 | | |
874 | 922 | | |
875 | 923 | | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | 924 | | |
881 | 925 | | |
882 | 926 | | |
| |||
1121 | 1165 | | |
1122 | 1166 | | |
1123 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
1124 | 1176 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| 664 | + | |
664 | 665 | | |
665 | 666 | | |
666 | 667 | | |
| |||
674 | 675 | | |
675 | 676 | | |
676 | 677 | | |
677 | | - | |
| 678 | + | |
678 | 679 | | |
679 | 680 | | |
680 | 681 | | |
| |||
687 | 688 | | |
688 | 689 | | |
689 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
690 | 706 | | |
691 | 707 | | |
692 | 708 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
0 commit comments