Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Apr 2018 13:44:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 227344] [NEW PORT] www/py-drf-yasg: Yet Another Swagger Generator
Message-ID:  <bug-227344-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227344

            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@FreeBSD.org
          Reporter: freebsd_ports@k-worx.org
                CC: python@FreeBSD.org

Created attachment 192308
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192308&action=
=3Dedit
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 curre=
ntly
  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 firs=
t:

- update devel/py-ruamel.yaml to 0.15.37 (see also PR #227121:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227121)
- add www/py-djangorestframework (v3.8.1) to the ports tree (see also PR
#227319: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227319)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227344-21822>