diff --git a/firetail/apps/flask_app.py b/firetail/apps/flask_app.py index 9294887..82011d9 100644 --- a/firetail/apps/flask_app.py +++ b/firetail/apps/flask_app.py @@ -77,7 +77,7 @@ def common_error_handler(self, exception): def add_api(self, specification, **kwargs): api = super().add_api(specification, **kwargs) - self.app.register_blueprint(api.blueprint) + self.app.register_blueprint(api.blueprint, **kwargs.get('options', {})) if isinstance(specification, (str, pathlib.Path)): self.extra_files.append(self.specification_dir / specification) return api