mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 20:37:46 +00:00
Add link to Flask JSONEncoder documentation (#1484)
This commit is contained in:
@@ -20,6 +20,10 @@ instance `json_encoder` (`connexion.App:app`). If you wanna reuse the
|
||||
Connexion's date-time serialization, inherit your custom encoder from
|
||||
`connexion.apps.flask_app.FlaskJSONEncoder`.
|
||||
|
||||
For more information on the `JSONEncoder`, see the `Flask documentation`_.
|
||||
|
||||
.. _Flask Documentation: https://flask.palletsprojects.com/en/2.0.x/api/#flask.json.JSONEncoder
|
||||
|
||||
Returning status codes
|
||||
----------------------
|
||||
There are two ways of returning a specific status code.
|
||||
|
||||
Reference in New Issue
Block a user