swagger-codegen-generators
swagger-codegen-generators copied to clipboard
feat: update Java Micronaut generator to support Micronaut 3
- fix useBeanValidation option application
- add support for choosing Reactive Streams implementation for generated code through library option
- remove
@Controllerannotation from generated interfaces, as it is not@Inheritedanyway - use jakarta inject implementation instead of javax, as Micronaut now uses it by default
- generate stub controllers when skipSupportFiles is disabled to be able to run tests and start generated application
- fix bean validation annotations
- add cookies parameters support
- use
@Bodyinstead of@QueryValuefor form parameters generation - update pom.xml to use Micronaut 3
closes #946
This should not brake anything, as I've left RxJava 2 as default Reactive Streams implementation. The only thing I'm not sure about is removal of @Controller from generated interfaces. Haven't checked if it was inherited to implementation classes with Micronaut 2. But Micronaut generator is marked as experimental anyway.
@HugoMario, can you please take a look at this.
hey @Paullo612 sorry for this long delay, I'm going to check this.