Commit ccaad06
committed
fix(jaxrs-spec/quarkus): add resteasy-reactive dep for ResponseStatus annotation
The @ResponseStatus annotation lives in org.jboss.resteasy.reactive, which is
not provided by quarkus-resteasy (classic). Add resteasy-reactive to pom.mustache
when hasResponseStatusAnnotations is set, and update both Quarkus sample poms
accordingly. Also ensure objs.put("hasResponseStatusAnnotations", ...) is always
set explicitly (true or false) so Mustache does not fall through to the global
additionalProperties value for API files with no annotated operations.1 parent 9ed1d01 commit ccaad06
4 files changed
Lines changed: 22 additions & 3 deletions
File tree
- modules/openapi-generator/src/main
- java/org/openapitools/codegen/languages
- resources/JavaJaxRS/spec/libraries/quarkus
- samples/server/petstore
- jaxrs-spec-microprofile-openapi-annotations
- jaxrs-spec-quarkus-mutiny
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
356 | 361 | | |
357 | 362 | | |
358 | 363 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments