OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Expected: to not display links object and not inherit for error or input request.
Description
We are using HATEOAS with openapi generator for Springboot3 java 21, the issue is all object defined in the swagger.yaml are implementing the Link, problem, for Request or ErrorResponse we don,t want it, at least we don't want to write it on the documentation api
Bug Report Checklist
display links for error or input request
Expected: to not display links object and not inherit for error or input request.
Description
We are using HATEOAS with openapi generator for Springboot3 java 21, the issue is all object defined in the swagger.yaml are implementing the Link, problem, for Request or ErrorResponse we don,t want it, at least we don't want to write it on the documentation api
openapi-generator version
7.4.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Compile project, then launch it and connect on http://localhost:8082/swagger.html
Suggest a fix
Add parameter in the Object definition in yaml to specify if we want or not extends RepresentationModel<?>
repo : https://github.com/leccyril/openapi-generator