Azure / Azure/azure-sdk-tools

[Breaking Change][False negative] Changing parameter from operation local definition to global should be a breaking change

Open
#6,520 2 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Breaking Changes Central-EngSys Spec PR Tools
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.