Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

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

Merged
lovelydinosaur merged 1 commit into
mastercore-api/python-openapi-codec:masterfrom
graceful-handling-of-file-type-in-jsoncore-api/python-openapi-codec:graceful-handling-of-file-type-in-jsonCopy head branch name to clipboard
Dec 2, 2016
Merged

Graceful handling of 'file' fields in JSON links.#27
lovelydinosaur merged 1 commit into
mastercore-api/python-openapi-codec:masterfrom
graceful-handling-of-file-type-in-jsoncore-api/python-openapi-codec:graceful-handling-of-file-type-in-jsonCopy head branch name to clipboard

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Contributor

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.

@lovelydinosaur lovelydinosaur merged commit ae04db0 into master Dec 2, 2016
@lovelydinosaur lovelydinosaur deleted the graceful-handling-of-file-type-in-json branch December 2, 2016 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.