openapi-codegen icon indicating copy to clipboard operation
openapi-codegen copied to clipboard

[Feature request] Support for text/plain bodies

Open pahjbo opened this issue 11 months ago • 0 comments

It would be nice if there were support for text/plain bodies, which can quite often appear on the "leaf" resources of REST APIs

The generated code should have a body parameter with whatever the atomic type of the body is set to, then the typing of the interface would be stronger than currently in this situation.

pahjbo avatar Mar 26 '24 12:03 pahjbo