Method Param(string, RestParamType, bool?, RestParamDataType, string?)
Declares a parameter: described in OpenAPI, and when client request validation is on, a missing
required one or a value that does not convert to dataType is answered with 400.
A path parameter must be a segment of the template and is always required, so
required left null means required for a path parameter and optional
for the others.
public RestVerbDefinition Param(string name, RestParamType type = RestParamType.Query, bool? required = null, RestParamDataType dataType = RestParamDataType.String, string? description = null)