Unable to render this definition
The provided definition does not specify a valid version field.
Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0"
and those that match openapi: 3.0.n
(for example, openapi: 3.0.0
).
解决方法:
api中的Controller/Action 加入[HttpPost]或者 [HTTPGet]
传递参数模型存在问题.