Skip to content

Commit

Permalink
[v2] Port "Allow x-ms-paths not to start with /" (Azure#4152)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Mar 25, 2024
1 parent da69517 commit 54dc57a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion schema/swagger-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,16 @@
]
},
"xmsPaths": {
"$ref": "#/definitions/paths"
"type": "object",
"description": "Relative paths to the individual endpoints. They must be relative to the 'basePath'.",
"patternProperties": {
"^x-.*$": {
"$ref": "#/definitions/vendorExtension"
}
},
"additionalProperties": {
"$ref": "#/definitions/pathItem"
}
},
"xmsExternal": {
"type": "boolean"
Expand Down

0 comments on commit 54dc57a

Please sign in to comment.