openapi-generator
openapi-generator copied to clipboard
[REQ] Feature Request Description
Is your feature request related to a problem? Please describe.
I have to take the same yaml file and produce the client and server endpoints and create a straight through spring boot service. So if I call get /getPet against the SB service, it will then call /getPet. So server endpoints -> @Controller -> @Service -> client resttemplate.
It is quite tedious to setup the @Service layer to accept the call from the @Controller to in turn call the Resttemplate later.
Describe the solution you'd like
OpenAPITools already generates the server and client code from a single Yaml file. It would be great if it could (if from same yaml file) generate the tie up code as well thus creating a straight through service.
Describe alternatives you've considered
Alternative now is to roll up sleeve and hook up 100 endpoints.