I am trying to add a reference to a global parameter in an operation in swagger doc in below manner, but couldn't figure out a way to do this in swashbuckle.
"paths": {
"<path>": {
"post": {
"parameters": [{"$ref": "#/parameters/<globalparam>"}]
}
}
}
I checked out NonBodyParameter() but it doesn't have ref field defined. Is it possible to achieve this via Swashbuckle.AspNetCore?