forked from loafle/openapi-generator-original
* Commit leftover snapshot changes * Add logic to deal with non-JSON body params If the spec specifies a list of consumes MIME types, default to the first MIME type in the list instead of "application/json" (the user may still override this by passing "Content-Type" in options.headers). Additionally, only perform explicit JSON serialization if the data type of the body parameter is not "string", or if it is string, only when the content type is "application/json". * Update snapshots