Recent Discussions
How to generate domain object relationships e.g. oneToMany.
In the existing Domain Class , we have a relationship ManyToOne. But those relationships are not appearing in the generated code.4Views0likes0CommentsHow to retain with format date-time is set as Instant instead of OffsetDateTime?
In api-final.yml file, for one of the Object (AccountContact) we have a property called updatedDt with format date-time. Earlier this property we set as Instant.now () but currently its expecting O...2Views0likes0CommentsWe have EmptyJsonReponse DTO class is not generated in part of open api auto generation tool.
We have EmptyJsonReponse DTO for one of the Controller. For that we created a class. This DTO is not generated in part of open api auto generation tool.3Views0likes0CommentsIf we use x-[class/field]-extra-annotation then it’s adding annotation but not importing class
If we use x-class-extra-annotation or x-field-extra-annotation to add class or field level annotations like these "@JsonInclude(JsonInclude.Include.NON_NULL), then it’s adding the required annotation...2Views0likes0CommentsHow to refer to models from different packages in auto generated class? Like Pageable
How to refer to models from different packages in same method in auto generated controller? Like "getAllProducts" uses "Pageable" from "org.springframework.data.domain.Pageable" and "Product from "co...2Views0likes0CommentsHow to add custom methods in auto-generated models?
How to add custom methods in auto-generated models? Like "setUrl" method in "Product" model in OAS definition.1View0likes0CommentsHow to override equals method in auto generated models with OAS object attributes?
How to override equals method in auto generated models with OAS defined object attributes using code generator plug in?2Views0likes0CommentsHow to generate primitive types instead of wrapper classes.
How to generate primitive types instead of wrapper classes. "type: boolean" is generating wrapper class variable instead of primitive type.2Views0likes0CommentsHow to deal If there is a mismatch between variable name in OAS and attribute name in model class
If there is a mismatch between variable name in OAS and response attribute name in model class then how to put the response attribute name in spec file.2Views0likes0CommentsHow to avoid generating .java classes in target folder by generator plugin
We want to generate classes in different target folder by code generator plugin.2Views0likes0Comments