BSD Ports

www/py-drf-yasg 1.21.15_1 FreeBSD

Yet Another Swagger Generator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
www, python
Package size
2996.3 KiB, 17622.4 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
FreeBSDwww/py-drf-yasg1.21.15_1 newestnone known-[email protected]-
DragonFlywww/py-drf-yasg1.21.10none 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 py312-drf-yasg

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-drf-yasg>0:www/py-drf-yasg

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.21.15_11.21.15_11.21.41.21.10_11.21.15_1
FreeBSD:14:quarterly1.21.15_11.21.15_1n/a1.21.10_11.21.15_1
FreeBSD:15:latest1.21.15_11.21.15_1n/a1.21.10_11.21.10_1
FreeBSD:15:quarterly1.21.15_11.21.15_1n/an/an/a
FreeBSD:16:latest1.21.15_11.21.15_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

As this port's Makefile names them.

Build 2

Runtime 7

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 33

No port depends on this one.

Configuration

Options name: www_drf-yasg

OptionDefaultDescription
VALIDATIONonEnable built-in OpenAPI validation mechanisms
USES
python
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}*drf-yasg

Files

distinfo 1
FileSizeSHA256
drf_yasg-1.21.15.tar.gz5.153419e+06ef86838c4ef10dcd3ac1ebf2be601cbe02978b999671caa43667f7c9db961468
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.