chore: update openAPI to not show all endpoints as requiring authentication
This commit is contained in:
parent
3e35c49ebd
commit
560dd71228
1 changed files with 2 additions and 1 deletions
|
|
@ -110,7 +110,8 @@ def custom_openapi():
|
|||
},
|
||||
}
|
||||
|
||||
openapi_schema["security"] = [{"BearerAuth": []}, {"CookieAuth": []}]
|
||||
# Remove global security requirement - let individual endpoints specify their own security
|
||||
# openapi_schema["security"] = [{"BearerAuth": []}, {"CookieAuth": []}]
|
||||
|
||||
app.openapi_schema = openapi_schema
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue