Is your feature request related to a problem? Please describe.
I use Java and the OpenApi generator to generate classes, that use the SpringBoot resttemplate or restClient to send requests through defined REST-endpoints. These requests can have different bodies and with that different content-types. I can only set the content-type of the request through the definition of the endpoint.
Describe the solution you'd like
I would like an option, that adds a content-type method parameter. With that I can manually set the content-type of the request.
Is your feature request related to a problem? Please describe.
I use Java and the OpenApi generator to generate classes, that use the SpringBoot resttemplate or restClient to send requests through defined REST-endpoints. These requests can have different bodies and with that different content-types. I can only set the content-type of the request through the definition of the endpoint.
Describe the solution you'd like
I would like an option, that adds a content-type method parameter. With that I can manually set the content-type of the request.