Dennis Melzer

Results 70 comments of Dennis Melzer

@robertop87 Iam using the spring generator with open feign clients and there is no full application it’s DTO + clients. Iam not aware with the Java generator and which library...

How I said iam not sure, iam not using this generator: https://openapi-generator.tech/docs/generators/java/ You see there are lot of `library` which you can select. Maybe one of this supports JsonNullable Iam...

Just checked out the source code and made a small text search. Looks like there should be something in place for java...

Sure I think you have to enable this vendor extension then it should work ``` {{#vendorExtensions.x-is-jackson-optional-nullable}} {{#isContainer}} private JsonNullable {{name}} = JsonNullable.undefined(); {{/isContainer}} {{^isContainer}} private JsonNullable {{name}} = JsonNullable.{{#defaultValue}}of({{{.}}}){{/defaultValue}}{{^defaultValue}}undefined(){{/defaultValue}}; {{/isContainer}}...

I have no idea. The `x-field-extra-annotation` is working. The jackson not ``` tag: x-field-extra-annotation: "@javax.persistence.Id" ```

Maybe you have to debug: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java#L2475

Here we have a similar issue with the Configuration names: https://github.com/OpenAPITools/openapi-generator/issues/17847 Also possible is to remove the @Configuration Annotation and we use directly the @Import from spring and then everyone...

@jpfinne Thanks for the tests :). I think a few more test cases are necessary for good coverage. Take a look at the other BeanValidation test, maybe you can expand...