BSD Ports

www/py-drf-yasg 1.21.10 DragonFly

Yet Another Swagger Generator

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
python, www
Package size
2587.8 KiB, 14876.3 KiB installed

Description

Generate 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)

In the other systems

The newest version among them is 1.21.15, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/py-drf-yasg1.21.10none known-[email protected]-
FreeBSDwww/py-drf-yasg1.21.15_1 newestnone known-[email protected]-
HardenedBSDwww/py-drf-yasg1.21.15_1 newestno data-[email protected]-
GhostBSDwww/py-drf-yasg1.21.15_1 newestno data-[email protected]-

Install

Binary package:

pkg install py311-drf-yasg

From DPorts:

cd /usr/dports/www/py-drf-yasg && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 9

No port depends on this one.