v0.5-rc1: schema fixes, provider file example update

This commit is contained in:
yusing
2024-09-16 13:19:24 +08:00
parent 7a0478164f
commit 4cddd4ff71
4 changed files with 26 additions and 21 deletions

View File

@@ -108,7 +108,7 @@
"markdownDescription": "A list of [path patterns](https://pkg.go.dev/net/http#hdr-Patterns-ServeMux)",
"items": {
"type": "string",
"pattern": "^((GET|POST|DELETE|PUT|PATCH|HEAD|OPTIONS|CONNECT)\\s)?(/\\w*)+/?$",
"pattern": "^((GET|POST|DELETE|PUT|PATCH|HEAD|OPTIONS|CONNECT)\\s)?(/(\\w*|{\\w*}|{\\$}))+/?$",
"patternErrorMessage": "invalid path pattern"
}
},
@@ -123,7 +123,10 @@
"description": "Proxy headers to set",
"additionalProperties": {
"items": {
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},