tornado openapi3:Tornado OpenAPI 3请求和响应验证库 源码
龙卷风OpenAPI 3 Tornado OpenAPI 3请求和响应验证库。 提供 Web框架和库之间的集成,以根据规范验证请求和响应对象。 用法 向请求处理程序添加验证 from openapi_core import create_spec # type: ignore from openapi_core . exceptions import OpenAPIError # type: ignore from openapi_core . deserializing . exceptions import DeserializeError # type: ignore from openapi_core . schema . media_types . exceptions import ( # type: ignore InvalidContentType ,
用户评论