flask-rest-jsonapi
flask-rest-jsonapi copied to clipboard
Custom content negotiation
trafficstars
- Allow an API to define a dictionary of converter functions for different content types, that are run before and after the JSON API schema sees the data. For example:
api = Api(blueprint=bp, response_renderers={ 'text/csv': render_csv }, request_parsers={ 'text/csv': parse_csv }) - Two tests added in a separate file
- Fixes #170 and/or fixes #13