Skip to content

Commit

Permalink
remove FlaskApp
Browse files Browse the repository at this point in the history
  • Loading branch information
huberrob committed Jan 2, 2024
1 parent 0c89cc6 commit 2c1be8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fuji_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def create_app(config):
ROOT_DIR = Path(__file__).parent
YAML_DIR = config["SERVICE"]["yaml_directory"]

app = connexion.FlaskApp(__name__, specification_dir=YAML_DIR)
# app = connexion.FlaskApp(__name__, specification_dir=YAML_DIR)
app = connexion.App(__name__, specification_dir=YAML_DIR)

API_YAML = ROOT_DIR.joinpath(YAML_DIR, config["SERVICE"]["openapi_yaml"])
app.app.json_encoder = encoder.JSONEncoder

Expand Down

0 comments on commit 2c1be8e

Please sign in to comment.