Added meta for api /docs
This commit is contained in:
+8
-1
@@ -45,7 +45,14 @@ def create_app(config_object="lnbits.settings") -> FastAPI:
|
||||
"""
|
||||
configure_logger()
|
||||
|
||||
app = FastAPI()
|
||||
app = FastAPI(
|
||||
title="LNbits API",
|
||||
description="API for LNbits, the free and open source bitcoin wallet and accounts system with plugins.",
|
||||
license_info={
|
||||
"name": "MIT License",
|
||||
"url": "https://raw.githubusercontent.com/lnbits/lnbits-legend/main/LICENSE",
|
||||
},
|
||||
)
|
||||
app.mount("/static", StaticFiles(packages=[("lnbits", "static")]), name="static")
|
||||
app.mount(
|
||||
"/core/static",
|
||||
|
||||
Reference in New Issue
Block a user