I am using swagger in a C# webapi controller. I am using XML comments and
would like to have annotations for a body request that I am reading within
the method and serializing with my own custom serializer. I am having a
hard time figuring out how to set the "params" to show in swagger, without
having the actually parameter in the method.
Ex:
Search([FromBody] MyObject myObject),
instead I would like to do:
Search() {
string body = await Request.Content.ReadAsStringAsync();
// custom serialization
}
--
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.