aaronpliu
7 years agoFrequent Contributor
How to resolve the same parameter in both path and header
The swagger(.json) defined a parameter with the same name in header and path, as a result, Only one (parameter in metaHeader) is available, and then missing in path. We knew that ReadyAPI is not allowed to the same parameter in properties. Do you know an alternative solution for that?
For example:
"parameters": [
{
"name": "IDCard",
"in": "path",
"required": true,
"format": "int64"
},
{
"name": "IDCard",
"in": "header",
"required": false,
"description": "MetaHeader.IDCard",
"format": "string"
}
]