SDK Error
ARM and Data plane OpenAPI(swagger) specs
Paths in x-ms-paths must overload a normal path in the paths section, i.e. a path in the x-ms-paths must either be same as a path in the paths section or a path in the paths sections followed by additional parameters.
The x-ms-paths
extension allows us to overload an existing path based on path parameters. We cannot specify an x-ms-paths
without a path that already exists in the paths
section. For more details about this extension please refer here.
The x-ms-paths
overload an existing path only, not adhering to this rule would violate the applicability of the extension itself.
Ensure that the x-ms-paths
is overloading an existing url path in the paths
section.
"paths":{
"/foo":{
...
}
},
"x-ms-paths":{
"/foo?op=baz":{
...
}
}
"paths":{
"/foo":{
...
}
},
"x-ms-paths":{
"/bar?op=baz":{
...
}
}