Closed fromnowhereuser closed 4 years ago
Can you share either the yaml or json for this operation, please?
Ofc, thx you a lot !
"/automates/{id}": {
"get": {
"operationId": "AutomatesController_getMy",
"parameters": [],
"responses": {
"201": {
"description": "All automates are successfully returned",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AutomateDto"
}
}
}
}
}
}
}
},
You're missing the parameter in parameters
.
Hello, maybe i am doing it wrong but... i use nest with the swagger plugin. I have a service like:
The function generated with the json produced is like this:
}
My question is, why there is nothing in the if(params) test. If i add something like: rb.path('id','aabbcc') the url is ok. but... i feel like i must not modify the code generated myself right ?
Its this a bug ? or i am missing something ? Thx you in advance