Closed nickgaya closed 4 years ago
@macisamuele, @lucafavatella: Any thoughts on this?
This is great, thanks! We should probably default the config value to True
in the next major release, and then start a deprecation process. Not using base64 goes against the spec.
Define a
SwaggerFormat
for the "byte" string format that base64-encodes binary data to wire and base64-decodes from wire to a Pythonbytes
object.This behavior is not backward-compatible so I added a config option to enable it, disabled by default.
Related: #146