Can the ApiExplorer provide a way to generate documentation which details the Properties (and their data annotations) of an ApiController action paramater?
If the action method of a Web API Controller accepts a complex type model object, then currently the ApiExplorer will generate documentation stipulating the name of the parameter and its description.
Consumers of the API should ALSO be made aware which properties are Required and what restrictions apply to the data they send in ...
e.g. Required annotations, Range annotations like [StringLength(50, MinimumLength = 1)] and all the others...
If the action method of a Web API Controller accepts a complex type model object, then currently the ApiExplorer will generate documentation stipulating the name of the parameter and its description.
Consumers of the API should ALSO be made aware which properties are Required and what restrictions apply to the data they send in ...
e.g. Required annotations, Range annotations like [StringLength(50, MinimumLength = 1)] and all the others...