core-api / python-openapi-codec

An OpenAPI codec for Core API.
Other
33 stars 35 forks source link

Graceful handling of 'file' fields in JSON links. #27

Closed tomchristie closed 7 years ago

tomchristie commented 7 years ago

type='file' isn't really valid with encoding="application/json". In order to ensure that we still produce valid output we coerce these to "string" instead.