{"added":"2026-11-11T10:59:30+01:00","apiVersion":1,"behindSince":null,"buildDepends":["archivers/liblz4","archivers/zstd","devel/gettext-runtime","devel/libffi","devel/py-build","devel/py-installer","devel/py-packaging","devel/py-pyproject-hooks","devel/py-setuptools","devel/py-wheel","devel/readline","lang/python312","lang/python315","math/mpdecimal","print/indexinfo","textproc/expat2"],"categories":["www","python"],"comment":"Sane/flexible OpenAPI 3 schema generation for Django REST framework","compare":null,"dependentCount":null,"description":"This project has 3 goals:\n\n* Extract as much schema information from DRF as possible.\n* Provide flexibility to make the schema usable in the real world (not only\n  toy examples).\n* Generate a schema that works well with the most popular client generators.\n\nThe code is a heavily modified fork of the DRF OpenAPI generator, which is/was\nlacking all of the below listed features:\n\n* Serializers modelled as components. (arbitrary nesting + recursion supported)\n* @extend_schema decorator for customization of APIView, Viewsets,\n  function-based views, and @action\n* Authentication support (DRF natives included, easily extendable)\n* Custom serializer class support (easily extendable)\n* SerializerMethodField() type via type hinting or @extend_schema_field\n* i18n support, Tags extraction, Description extraction from docstrings\n* Request/response/parameter examples, Callback operations\n* Vendor specification extensions (x-*) in info, operations, parameters,\n  components, and security schemes\n* Sane fallbacks and sane operation_id naming (based on path)\n* Schema serving with SpectacularAPIView (Redoc and Swagger-UI views are\n  also available)\n* Optional input/output serializer component split","flavors":[],"html":"https://daemonports.org/www/py-dj61-drf-spectacular/","kind":"port","lastUpdate":"2026-11-11T10:59:30+01:00","license":["BSD3CLAUSE"],"licenses":["BSD-3-Clause"],"maintainer":"kai@FreeBSD.org","name":"py312-dj61-drf-spectacular","newest":false,"newestVersion":null,"noVulnData":false,"origin":"www/py-dj61-drf-spectacular","otherSystems":[],"packages":[{"repo":"FreeBSD:14:latest","versions":["-","0.30.0","-","-","0.30.0"]},{"repo":"FreeBSD:14:quarterly","versions":["-","-","n/a","-","-"]},{"repo":"FreeBSD:15:latest","versions":["0.30.0","0.30.0","n/a","-","-"]},{"repo":"FreeBSD:15:quarterly","versions":["-","-","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:latest","versions":["-","0.30.0","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:quarterly","versions":["n/a","n/a","n/a","n/a","n/a"]}],"pkgName":"py312-dj61-drf-spectacular-0.30.0","related":["www/py-dj60-drf-spectacular","www/py-dj60-drf-spectacular-sidecar","www/py-dj61-drf-spectacular-sidecar","www/py-drf-spectacular","www/py-drf-spectacular-sidecar"],"repository":"FreeBSD ports","requiredBy":["net-mgmt/netbox","security/py-netbox-secrets"],"requiredByCount":2,"runDepends":["archivers/liblz4","archivers/zstd","databases/py-sqlite3","databases/py-sqlparse","databases/sqlite3","devel/gettext-runtime","devel/libedit","devel/libffi","devel/py-attrs","devel/py-inflection","devel/py-jsonschema","devel/py-jsonschema-specifications","devel/py-pyyaml","devel/py-referencing","devel/py-rpds-py","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-dj61-djangorestframework","www/py-dj61-drf-spectacular-sidecar","www/py-django61"],"status":null,"system":"freebsd","systemLabel":"FreeBSD","version":"0.30.0","versions":[{"commit":"df107d91996348e2f14e736de905d0a4519050ae","date":"2026-11-11","version":"0.30.0"}],"vulnerabilities":null,"www":"https://github.com/tfranzel/drf-spectacular"}
