mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-17 21:31:55 +01:00
Tweak: add Bearer to swagger
Putting here for someone more skilled to pick up
This commit is contained in:
parent
adb9d24673
commit
9748d00b6f
@ -58,7 +58,10 @@ users_router = APIRouter(
|
||||
"/user",
|
||||
name="Get accounts",
|
||||
summary="Get paginated list of accounts",
|
||||
openapi_extra=generate_filter_params_openapi(AccountFilters),
|
||||
openapi_extra={
|
||||
**generate_filter_params_openapi(AccountFilters),
|
||||
"security": [{"BearerAuth": []}],
|
||||
},
|
||||
)
|
||||
async def api_get_users(
|
||||
filters: Filters = Depends(parse_filters(AccountFilters)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user