I have a GET api in C# ApiController.
My api have an string parameter that can be empty or null.
But in swagger ui test it is mark as required filed.
How can I send empty value to string parameter in swagger?
this is my C# api:
[AcceptVerbs("Get")]
public HttpResponseMessage test(string param)
{
HttpResponseMessage response = null;
//do something
return response;
}
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.