Plugins: Update schema of scopes from string to string array (#39337)

* Plugins: Update schema of scopes from string to string array

* Update metadata.md
This commit is contained in:
Zoltán Bedi
2021-09-17 14:04:56 +02:00
committed by GitHub
parent 81756cd702
commit 4eff846285
2 changed files with 25 additions and 27 deletions
@@ -370,8 +370,11 @@
"description": "URL to fetch the authentication token."
},
"scopes": {
"type": "string",
"description": ""
"type": "array",
"description": "The list of scopes that your application should be granted access to.",
"items": {
"type": "string"
}
},
"params": {
"type": "object",
@@ -409,21 +412,17 @@
"format": "uri"
},
"scopes": {
"type": "string",
"description": ""
"type": "array",
"description": "The list of scopes that your application should be granted access to.",
"items": {
"type": "string"
}
},
"params": {
"type": "object",
"description": "Parameters for the JWT token authentication request.",
"additionalProperties": false,
"properties": {
"scopes": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
},
"token_uri": {
"type": "string",
"description": ""