mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-10 18:25:03 -04:00
updated flask and flasgger
This commit is contained in:
parent
42de0752a1
commit
ee0727bfb3
3 changed files with 3 additions and 3 deletions
3
main.py
3
main.py
|
@ -34,7 +34,8 @@ def create_app(test_config=None):
|
|||
|
||||
# Restful API hookup
|
||||
app.register_blueprint(rest_api.api_bp)
|
||||
app.json_encoder = LazyJSONEncoder
|
||||
app.json_provider_class = LazyJSONEncoder
|
||||
app.json = LazyJSONEncoder(app)
|
||||
|
||||
dirname = os.path.dirname(__file__)
|
||||
with open(os.path.join(dirname, 'matweb/oas/components.yml')) as file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue