REST Swagger Parameter Ref Support
Currently, using $ref in a parameters does not work:
"parameters": [
{
"$ref": "#/parameters/UserId"
}
*this can cause the path to not show up as a service object method
Instead, we have to define it directly in the parameters:
"parameters": [
{
"name": "UserId",
"in": "path",
"description": "User Id",
"type": "string",
"required": true
}
]
Although, this feature does exists in Swagger 2.0:
Would like support parameter $ref for the REST broker in the future.
3
votes
