From 376d6a17725e40c5890dc7eeb46f28893e1f948a Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Thu, 29 Sep 2022 01:53:56 +0200 Subject: [PATCH] swagger --- cashu/mint/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cashu/mint/app.py b/cashu/mint/app.py index 428bc05..8b722fd 100644 --- a/cashu/mint/app.py +++ b/cashu/mint/app.py @@ -5,7 +5,7 @@ import sys from fastapi import FastAPI from loguru import logger -from cashu.core.settings import CASHU_DIR, DEBUG +from cashu.core.settings import VERSION, DEBUG from cashu.lightning import WALLET from cashu.mint.migrations import m001_initial @@ -51,7 +51,8 @@ def create_app(config_object="core.settings") -> FastAPI: app = FastAPI( title="Cashu Mint", - description="Ecash wallet and mint.", + description="Ecash wallet and mint with Bitcoin Lightning support.", + version=VERSION, license_info={ "name": "MIT License", "url": "https://raw.githubusercontent.com/callebtc/cashu/main/LICENSE",