X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2app%2Fentrypoints%2Fflask_application.py;h=c7e0ef9dff729fb8da31d9fdb9ad1ae77a58c0b9;hb=cd999dd33a2449fd8480fd641678360a749e5498;hp=e464de302fa69516590ca05e26feec946b4e660c;hpb=748a90298e8abff7f1ff2fdec6a36c2775fe7161;p=pti%2Fo2.git diff --git a/o2app/entrypoints/flask_application.py b/o2app/entrypoints/flask_application.py index e464de3..c7e0ef9 100644 --- a/o2app/entrypoints/flask_application.py +++ b/o2app/entrypoints/flask_application.py @@ -52,9 +52,11 @@ app.config.SWAGGER_UI_DOC_EXPANSION = 'list' # app.config['RESTX_MASK_HEADER'] = 'fields' app.config['RESTX_MASK_SWAGGER'] = False app.config['ERROR_INCLUDE_MESSAGE'] = False -api = Api(app, version=FLASK_API_VERSION, - title='INF O2 Services API', - description='Swagger OpenAPI document for the INF O2 Services', +api = Api( + app, version=FLASK_API_VERSION, + catch_all_404s=True, + title='INF O2 Services API', + description='Swagger OpenAPI document for the INF O2 Services', ) bus = bootstrap.bootstrap()