[Bug 227344] [NEW PORT] www/py-drf-yasg: Yet Another Swagger Generator
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 7 13:44:23 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227344
Bug ID: 227344
Summary: [NEW PORT] www/py-drf-yasg: Yet Another Swagger
Generator
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://pypi.python.org/pypi/drf-yasg
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: freebsd_ports at k-worx.org
CC: python at FreeBSD.org
Created attachment 192308
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192308&action=edit
py-drf-yasg.shar
Hello,
attached is the shar file for the Python package py-drf-yasg, that generates
real Swagger/OpenAPI 2.0 specifications from a Django Rest Framework API.
Features:
- full support for nested serializers and schemas
- response schemas and descriptions
- model definitions compatible with codegen tools
- customization hooks at all points in the spec generation process
- JSON and YAML format for spec
- bundles latest version of swagger-ui and redoc for viewing the generated
documentation
- schema view is cacheable out of the box
- generated Swagger schema can be automatically validated by
swagger-spec-validator or flex
- supports Django REST Framework API versioning with URLPathVersioning and
NamespaceVersioning (other DRF or custom versioning schemes are not currently
supported)
QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 and py36 flavor -> OK
- portlint -> OK
Note:
~~~~~
Before this package can be commited, two dependencies must be resolved first:
- update devel/py-ruamel.yaml to 0.15.37 (see also PR #227121:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227121)
- add www/py-djangorestframework (v3.8.1) to the ports tree (see also PR
#227319: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227319)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list