1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-drf-yasg
7 SDESC[py35]= Automated generation of real Swagger/OpenA (PY 35)
8 SDESC[py36]= Automated generation of real Swagger/OpenA (PY 36)
9 HOMEPAGE= https://github.com/axnsan12/drf-yasg
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/d/drf-yasg
14 DISTFILE[1]= drf-yasg-1.6.1.tar.gz:main
19 OPTIONS_AVAILABLE= PY35 PY36
20 OPTIONS_STANDARD= none
21 VOPTS[py35]= PY35=ON PY36=OFF
22 VOPTS[py36]= PY35=OFF PY36=ON
24 DISTNAME= drf-yasg-1.6.1
26 LICENSE= BSDGROUP:single
28 LICENSE_FILE= BSDGROUP:{{WRKSRC}}/LICENSE.rst
32 [PY35].BUILDRUN_DEPENDS_ON= python-coreapi:single:py35
33 python-coreschema:single:py35
34 python-openapi_codec:single:py35
35 python-ruamel.yaml:single:py35
36 python-inflection:single:py35
37 python-future:single:py35
38 python-six:single:py35
39 python-uritemplate:single:py35
40 python-djangorestframework:single:py35
41 python-Django:single:py35
42 python-setuptools_scm:single:py35
43 [PY35].USES_ON= python:py35
45 [PY36].BUILDRUN_DEPENDS_ON= python-coreapi:single:py36
46 python-coreschema:single:py36
47 python-openapi_codec:single:py36
48 python-ruamel.yaml:single:py36
49 python-inflection:single:py36
50 python-future:single:py36
51 python-six:single:py36
52 python-uritemplate:single:py36
53 python-djangorestframework:single:py36
54 python-Django:single:py36
55 python-setuptools_scm:single:py36
56 [PY36].USES_ON= python:py36
58 [FILE:2837:descriptions/desc.single]
59 .. role:: python(code)
62 ########################################
63 drf-yasg - Yet another Swagger generator
64 ########################################
66 |travis| |nbsp| |codecov| |nbsp| |rtd-badge| |nbsp| |pypi-version|
68 Generate **real** Swagger/OpenAPI 2.0 specifications from a Django Rest
73 - **Django Rest Framework**: 3.7.7
74 - **Django**: 1.11.x, 2.0.x
75 - **Python**: 2.7, 3.4, 3.5, 3.6
79 * **Source**: https://github.com/axnsan12/drf-yasg/
80 * **Documentation**: https://drf-yasg.readthedocs.io/
81 * **Changelog**: https://drf-yasg.readthedocs.io/en/stable/changelog.html
82 * **Live demo**: https://drf-yasg-demo.herokuapp.com/
84 .. image:: https://www.herokucdn.com/deploy/button.svg
86 https://heroku.com/deploy?template=https://github.com/axnsan12/drf-yasg
87 :alt: heroku deploy button
93 - full support for nested Serializers and Schemas
94 - response schemas and descriptions
95 - model definitions compatible with codegen tools
96 - customization hooks at all points in the spec generation process
97 - JSON and YAML format for spec
98 - bundles latest version of
99 `swagger-ui <https://github.com/swagger-api/swagger-ui>`_ and
100 `redoc <https://github.com/Rebilly/ReDoc>`_ for viewing the generated
102 - schema view is cacheable out of the box
103 - generated Swagger schema can be automatically validated by
104 `swagger-spec-validator
105 <https://github.com/Yelp/swagger_spec_validator>`_ or
106 `flex <https://github.com/pipermerriam/flex>`_
107 - supports Django REST Framework API versioning with ``URLPathVersioning``
108 and ``NamespaceVersioning``; other DRF
109 or custom versioning schemes are not currently supported
112 https://raw.githubusercontent.com/axnsan12/drf-yasg/1.0.2/screenshots/redoc
116 :alt: redoc screenshot
118 **Fully nested request and response schemas.**
121 https://raw.githubusercontent.com/axnsan12/drf-yasg/1.0.2/screenshots/swagg
125 :alt: swagger-ui screenshot
127 **Choose between redoc and swagger-ui.**
130 https://raw.githubusercontent.com/axnsan12/drf-yasg/1.0.2/screenshots/swagg
134 :alt: model definitions screenshot
136 **Real Model definitions.**
153 The preferred instalation method is directly from pypi:
159 Additionally, if you want to use the built-in validation mechanisms (see
160 `4. Validation`_), you need to install
161 some extra requirements:
165 pip install drf-yasg[validation]
167 .. _readme-quickstart:
174 9da6d4fa16565f2e8ced27f0c543f60aadd032cb28223b9b43cc44d3262f526d 1020368 drf-yasg-1.6.1.tar.gz