Plugins: Support multiple HTTP methods in plugin.json routes (#39069)

* Fix: support comma-separated methods in plugin.json

* update docs about multiple methods per route
This commit is contained in:
Serge Zaitsev
2021-09-13 14:32:11 +03:00
committed by GitHub
parent e055ba3525
commit abfdfcf405
3 changed files with 16 additions and 13 deletions
@@ -340,7 +340,7 @@
},
"method": {
"type": "string",
"description": "For data source plugins. Route method matches the HTTP verb like GET or POST."
"description": "For data source plugins. Route method matches the HTTP verb like GET or POST. Multiple methods can be provided as a comma-separated list."
},
"url": {
"type": "string",