一个可插拔的API规范生成器-python

时间:2021-06-18 20:04:34
【文件属性】:
文件名称:一个可插拔的API规范生成器-python
文件大小:85KB
文件格式:ZIP
更新时间:2021-06-18 20:04:34
其它杂项 一个可插拔的API规范生成器。当前支持OpenAPI 2.0规范(又名 Swagger 2.0)。 apispec 一个可插拔的 API 规范生成器。 目前支持 OpenAPI 规范(fka Swagger 规范)。 特性 支持 OpenAPI 规范(版本 2 和 3) 与框架无关 内置对棉花糖的支持 用于解析文档字符串的实用程序 示例应用程序来自 apispec import APISpec from apispec.ext.marshmallow import MarshmallowPlugin from apispec_webframeworks.flask import FlaskPlugin from flask import Flask from marsh import Schema, fields # 创建一个 APISpec spec = APISpec( title="Swagger Petstore", version="1.0.0", openapi_version="3.0.2", plugins=[FlaskPlugin(), MarshmallowPl
【文件预览】:
apispec-dev
----setup.py(2KB)
----.gitignore(1KB)
----readthedocs.yml(169B)
----pyproject.toml(72B)
----src()
--------apispec()
----MANIFEST.in(217B)
----.pre-commit-config.yaml(496B)
----LICENSE(1KB)
----setup.cfg(398B)
----.github()
--------FUNDING.yml(56B)
----README.rst(8KB)
----tests()
--------conftest.py(810B)
--------__init__.py(0B)
--------test_ext_marshmallow_field.py(14KB)
--------test_ext_marshmallow.py(47KB)
--------test_yaml_utils.py(908B)
--------test_core.py(33KB)
--------test_ext_marshmallow_openapi.py(22KB)
--------utils.py(1KB)
--------schemas.py(2KB)
--------test_utils.py(2KB)
--------test_ext_marshmallow_common.py(3KB)
--------plugins()
----AUTHORS.rst(4KB)
----CONTRIBUTING.rst(3KB)
----azure-pipelines.yml(840B)
----CHANGELOG.rst(33KB)
----docs()
--------install.rst(495B)
--------writing_plugins.rst(5KB)
--------special_topics.rst(4KB)
--------Makefile(7KB)
--------index.rst(6KB)
--------conf.py(1KB)
--------api_ext.rst(694B)
--------authors.rst(28B)
--------make.bat(6KB)
--------upgrading.rst(5KB)
--------quickstart.rst(3KB)
--------ecosystem.rst(154B)
--------api_core.rst(320B)
--------changelog.rst(136B)
--------license.rst(56B)
--------contributing.rst(33B)
--------using_plugins.rst(10KB)
----tox.ini(793B)

网友评论