Updated security schemes

This commit is contained in:
Azeez Muibi
2025-03-19 14:47:02 +01:00
parent 36fb04cbdc
commit 903082506e
+4 -16
View File
@@ -667,22 +667,10 @@
}
},
"securitySchemes": {
"petstore_auth": {
"type": "oauth2",
"flows": {
"implicit": {
"authorizationUrl": "https://petstore3.swagger.io/oauth/authorize",
"scopes": {
"write:pets": "modify pets in your account",
"read:pets": "read your pets"
}
}
}
},
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "header"
"basicAuth": {
"type": "http",
"scheme": "basic",
"description": "Basic Authentication method is implemented. Each request should contain Authorization header with Base64 encoded username:password"
}
}
}