Files
openapi-generator/samples
Asad Saeeduddin a3ca8d55e2 [TypeScript-Fetch] Support for non-JSON body params (#6994)
* 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
2017-12-19 17:20:16 +08:00
..
2017-12-18 12:30:57 +08:00
2017-12-18 12:30:57 +08:00
2017-12-10 10:48:30 +08:00
2016-08-27 02:34:33 +03:00