-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Description
Description
The inheritance is not working, the inherited attributes are not included in the generated files. (E.g. GetProofingConfigDto misses all ProofingConfigDto attriubtes)
Additionally, the generator warns about Objects, which SwaggerCodegen did not:
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object
openapi-generator version
3.0.2
OpenAPI declaration file content or url
https://github.com/janssen92/swagger-feedback-service-api/blob/testOpenApiGenerator/swagger-feedback.json
https://github.com/janssen92/swagger-feedback-service-api/blob/testOpenApiGenerator/swagger-feedback-conf.json
Command line used for generation
java -jar ~/git/openapi-generator/modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i swagger-feedback.json -g spring -o ~/testOpenApiGen --library spring-boot --config swagger-feedback-conf.json
But also same result with less parameters:
java -jar ~/git/openapi-generator/modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i swagger-feedback.json -g spring -o ~/testOpenApiGen
Steps to reproduce
- Checkout file(s)
- Generate Code