[Breaking Change][False negative] Changing parameter from operation local definition to global should be a breaking change
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
For example, move the following test parameter to global like the following should be a breaking change, because the default `x-ms-parameter-location` has been changed from `method` to `client`: referhttps://github.com/Azure/autorest/tree/main/docs/extensions#x-ms-parameter-location.
```
"paths": {
"/test": {
"get": {
"parameters": [
{
"name": "test",
"in": "query",
"required": true,
"type": "string"
}
...
}
}
```
```
"paths": {
"/test": {
"get": {
"parameters": [
{
"$ref": "#/parameters/Test"
}
...
}
}
"parameters": {
"Test": {
"name": "test",
"in": "query",
"required": true,
"type": "string"
}
}
Contributor guide
Assessment
This issue has not been assessed yet.