We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swagger 一直转圈圈,发现是BaseVM的原因 以下是vm的代码:
public class TestVM : BaseVM { public string TestName { get; set; } }
以下是api的代码:
[ActionDescription("测试")] [HttpPost("Test")] public ActionResult Test([FromForm] TestVM vm) { return Ok(); }
运行后,后台页面正常,打开swagger ,会一直转圈圈,尝试多次后,发现不继承BaseVM,swagger 就能正常打开
The text was updated successfully, but these errors were encountered:
如果不加[FromForm]是可以的,我也没明白是为啥
Sorry, something went wrong.
No branches or pull requests
swagger 一直转圈圈,发现是BaseVM的原因
以下是vm的代码:
以下是api的代码:
运行后,后台页面正常,打开swagger ,会一直转圈圈,尝试多次后,发现不继承BaseVM,swagger 就能正常打开
The text was updated successfully, but these errors were encountered: