Skip to content

Commit 3c1bdf3

Browse files
committed
Fix basic security
1 parent e295a80 commit 3c1bdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/rest_demo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class NotFoundResponse(BaseModel):
3636
security = [
3737
{"jwt": []},
3838
{"oauth2": ["write:pets", "read:pets"]},
39-
{"basic": basic}
39+
{"basic": []}
4040
]
4141

4242
app.config["FLASK_OPENAPI_VALIDATE_RESPONSE"] = True

0 commit comments

Comments
 (0)