You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flozano
changed the title
[BUG] [java] [spring] Type-less parameters in method
[BUG] [java] [spring] Type-less parameters in generated model method
Dec 8, 2024
Bug Report Checklist
Description
Generated models omit type in a method parameter:
full reproducer project in https://github.com/flozano/reproduce-openapi-spring-issue/
openapi-generator version
7.10.0
OpenAPI declaration file content or url
https://github.com/flozano/reproduce-openapi-spring-issue/blob/master/src/main/resources/swagger-testing.yaml
Generation Details
most simple gradle configuration possible:
Steps to reproduce
just run
./gradlew build
in the reproducer project https://github.com/flozano/reproduce-openapi-spring-issue/Incorrect output details
A method like this is generated in the model:
role is in a definition like this:
and used like this in the definition that generates the offending class:
The text was updated successfully, but these errors were encountered: