Description: Check whether operation parameter order is changed. If operation parameter order changed, it causes SDK breaking change.
Cause: This is considered a breaking change.
Related rules
Example: Parameter order change from a, b, e
to a, e, b
.
Old specification
"parameters": [
{
"name": "a",
"in": "body",
"required": true,
"type": "string"
},
{
"name": "b",
"in": "body",
"required": true,
"type": "string"
},
{
"name": "e",
"in": "body",
"type": "string"
},
]
New specification
"parameters": [
{
"name": "a",
"in": "body",
"required": true,
"type": "string"
},
{
"name": "e",
"in": "body",
"type": "string"
},
{
"name": "b",
"in": "body",
"required": true,
"type": "string"
},
]