cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
403 stars 134 forks source link

Only JSON API #334

Open metal3d opened 1 week ago

metal3d commented 1 week ago

Hi,

another option I would like to get is to make it possible to only accept a content-type. For example, I only need the REST API with Json content, not form data.

Using --skipJsonSuffix helps a lot to not complete with long lines, but our projects doesn't need others methods.

Thanks :smile:

luisfpg commented 2 days ago

I don't really understand you request. The content type is obtained from the openapi definition. Would need it together with the current and expected results.