Forum Discussion
RonRatovsky
Staff
6 years agoJust leave the schema of the request body empty. That would mean 'any' value.
luca
6 years agoNew Contributor
Sorry, I dont' understand your answer. This is the content of my JSON Swagger declaration:
"/Log/Insert":{
"put":{
"summary":"Insert generic logs",
"operationId":"insertLog",
"consumes":[
"application/x-www-form-urlencoded"
],
"produces":[
"text/plain"
],
"responses":{
"200":{
"description":"successful operation",
"schema":{
"type":"integer",
"format":"int64"
}
}
}
}
},
what "request body" are you refering to?
Thank you.