While trying to convert the java model generated by openapi-generator with MapStruct getting the following exception error: No implementation was created for EmployeeMapper due to having a problem in the erroneous element org.openapitools.jackson.nullable.JsonNullable. Hint: this often means that some other a…
Tag: openapi-generator
OpenAPI generator Java Client SE
I’ve an OperAPI like this, with content “application/x-www-form-urlencoded” that i must use (the external API to implement support only that): The OpenAPI Generator Maven’s plugin creates a request class “GenerateTokenRequest” for the schema object but in API implementation…
Unable to generate interface with openapi-generator-gradle-plugin
I’m trying to generate models and controller interfaces with openapi-generator-gradle-plugin. The problem I’m having is that the plugin in generating classes instead of interfaces. A generated class looks like this: While I’m trying to generate an interface, so that I can implement it in my …
Generating POJOs using OpenAPI generator with Lombok Annotations
I am using OpenAPI generator maven plugin like one below for generating Java client code for models . When , I generate the model classes, they get generated with usual POJO field declarations and getters and setters. But what I want to do is, instead of generating getters and setters, I want my classes to ge…