ErikWittern / openapi-snippet

Generates code snippets for given Swagger / Open API documents
MIT License
115 stars 66 forks source link

Generate Snippets for Multiple Content-Types #72

Closed bpross closed 3 years ago

bpross commented 3 years ago

Adds support for generating snippets for endpoint methods that support multiple content-types. Endpoints might support uploading files using multipart/form-data, but otherwise support application/json for other modifications. As it stands this library has the following behavior:

This PR address those concerns by:

bpross commented 3 years ago

@ErikWittern do you mind taking a look when you have a change? Thanks!

ErikWittern commented 3 years ago

@bpross I just merged #71, which introduced a conflict with this PR. Would you be willing to resolve the conflict?

bpross commented 3 years ago

@ErikWittern conflict resolved.