public static GetParamType ( this prop, MetadataType type, Operation op ) : string | ||
prop | this | |
type | MetadataType | |
op | Operation | |
return | string |
public static string GetParamType(this MetadataPropertyType prop, MetadataType type, Operation op)
{
if (prop.ParamType != null)
return prop.ParamType;
var isRequest = type.Name == op.RequestType.Name;
return !isRequest ? "form" : GetRequestParamType(op, prop.Name);
}
MetadataTypeExtensions::GetParamType ( this attr, |