[HttpPost("TestInput")]
public async Task<object> TestInput([FromForm] string fromInputText) //如何添加定性,可以让swagger渲染成多行输入(textarea)?
{
return "1";
}
[HttpPost("TestTextAreaButIsJson")]
public async Task<object> TestTextAreaButIsJson([FromForm] Dictionary<string,string> fromTextAreaButIsJson) //这是渲染成textarea的,但它要求json内容
{
return "1";
}