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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | www/py-drf-yasg | 1.21.15_1 newest | none known | - | [email protected] | - |
| DragonFly | www/py-drf-yasg | 1.21.10 | none known | - | [email protected] | - |
| HardenedBSD | www/py-drf-yasg | 1.21.15_1 newest | no data | - | [email protected] | - |
| GhostBSD | www/py-drf-yasg | 1.21.15_1 newest | no 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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.21.15_1 | 1.21.15_1 | 1.21.4 | 1.21.10_1 | 1.21.15_1 |
| FreeBSD:14:quarterly | 1.21.15_1 | 1.21.15_1 | n/a | 1.21.10_1 | 1.21.15_1 |
| FreeBSD:15:latest | 1.21.15_1 | 1.21.15_1 | n/a | 1.21.10_1 | 1.21.10_1 |
| FreeBSD:15:quarterly | 1.21.15_1 | 1.21.15_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.21.15_1 | 1.21.15_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 7
${PYTHON_PKGNAMEPREFIX}django52>=4.0: www/py-django52${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.13.0: www/py-djangorestframework${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1: devel/py-inflection${PYTHON_PKGNAMEPREFIX}pytz>=2021.1: devel/py-pytz${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0: net/py-uritemplate${PYTHON_PKGNAMEPREFIX}packaging>=21.0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1: devel/py-pyyaml
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 33
- archivers/liblz4
- archivers/zstd
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sqlite3
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-attrs
- devel/py-importlib-resources
- devel/py-inflection
- devel/py-jsonschema
- devel/py-jsonschema-specifications
- devel/py-packaging
- devel/py-pytz
- devel/py-pyyaml
- devel/py-referencing
- devel/py-rpds-py
- devel/py-swagger-spec-validator
- devel/py-typing-extensions
- devel/readline
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- net/py-uritemplate
- print/indexinfo
- textproc/expat2
- textproc/libyaml
- www/py-asgiref
- www/py-django52
- www/py-djangorestframework
No port depends on this one.
Configuration
Options name: www_drf-yasg
| Option | Default | Description |
|---|---|---|
| VALIDATION | on | Enable built-in OpenAPI validation mechanisms |
- USES
- python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}*drf-yasg
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| drf_yasg-1.21.15.tar.gz | 5.153419e+06 | ef86838c4ef10dcd3ac1ebf2be601cbe02978b999671caa43667f7c9db961468 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.