William Cheng
William Cheng
the following works for me ``` java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g jaxrs-spec -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -o /tmp/jaxrs --additional-properties interfaceOnly=true --openapi-generator-ignore-list "src/gen/java/org/openapitools/api/RestApplication.java" ``` as confirmed by the output log ``` [main] INFO...
can you share your pom.xml? did you use the `openapiGeneratorIgnoreList` option in the maven plugin? (another workaround is simply delete the file via command for example after the code generation...
> Obviously, in our case that would mean adding such a line to all the openapi definitions > Is it possible to make the generation configurable? technically we can but...
> A better approach I think would be to add a comment next to the discriminator, that would explain the nullable omission. E.g. "Nullable-annotation omitted since the discriminator is implicitly...
thanks for the pr let's give it a try
@david-marconis Hi David, thanks for the PR and sorry for the delay in reviewing as we've got many many PRs from the awesome community. I'll review this week and let...
I tested with ``` java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g csharp -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/1f8b90c4a660c8e6c6a7732847b2b964b5997c99/modules/openapi-generator/src/test/resources/3_0/enum_discriminator_inheritance.yaml -o /tmp/csharp23 --additional-properties targetFramework=net8.0 ``` but got errors when running `dotnet build` in the output folder: ``` Build...
cc @OpenAPITools/generator-core-team
thanks for the explanation. will try to get this merged this week
can you please file a PR to start with? that would make the code review a lot easier