Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Added bearerAuth to securitySchemes for rest endpoint

givanz0f1727855fe9
diff --git a/public/rest/default/openapi.json b/public/rest/default/openapi.json
old mode 100644
new mode 100755
index 02470b9..8978c78
--- a/public/rest/default/openapi.json
+++ b/public/rest/default/openapi.json
@@ -23,11 +23,18 @@
],
"security": [
{
+ "bearerAuth": [],
"basicAuth": []
}
],
"components": {
"securitySchemes": {
+ "bearerAuth": {
+ "type": "http",
+ "scheme": "bearer",
+ "in": "header",
+ "description": "Use api auth token as credential"
+ },
"basicAuth": {
"type": "http",
"scheme": "basic",