Forum Discussion
RonRatovsky
5 years agoModerator
Are you talking about query parameter or parameters in the payload (form data)?
- luca5 years agoNew Contributor
I'm talking about the payload (POST data).
- RonRatovsky5 years agoModerator
Just leave the schema of the request body empty. That would mean 'any' value.
- luca5 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.
Related Content
- 6 years agoZach_Aars
- 5 years agopaulvinders