mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-22 11:24:19 +01:00
swagger
This commit is contained in:
@@ -5,7 +5,7 @@ import sys
|
|||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
from loguru import logger
|
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.lightning import WALLET
|
||||||
from cashu.mint.migrations import m001_initial
|
from cashu.mint.migrations import m001_initial
|
||||||
|
|
||||||
@@ -51,7 +51,8 @@ def create_app(config_object="core.settings") -> FastAPI:
|
|||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="Cashu Mint",
|
title="Cashu Mint",
|
||||||
description="Ecash wallet and mint.",
|
description="Ecash wallet and mint with Bitcoin Lightning support.",
|
||||||
|
version=VERSION,
|
||||||
license_info={
|
license_info={
|
||||||
"name": "MIT License",
|
"name": "MIT License",
|
||||||
"url": "https://raw.githubusercontent.com/callebtc/cashu/main/LICENSE",
|
"url": "https://raw.githubusercontent.com/callebtc/cashu/main/LICENSE",
|
||||||
|
|||||||
Reference in New Issue
Block a user