{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["python","www"],"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/dragonfly/www/py-dj51-drf-spectacular/","kind":"port","lastUpdate":null,"license":["BSD3CLAUSE"],"maintainer":"kai@FreeBSD.org","name":"py311-dj51-drf-spectacular","newest":false,"newestVersion":null,"noVulnData":false,"origin":"www/py-dj51-drf-spectacular","otherSystems":[],"packages":null,"pkgName":"py311-dj51-drf-spectacular-0.28.0_1","related":["www/py-dj50-drf-spectacular","www/py-dj50-drf-spectacular-sidecar","www/py-dj51-drf-spectacular-sidecar","www/py-drf-spectacular","www/py-drf-spectacular-sidecar"],"repository":"DPorts","requiredBy":["net-mgmt/netbox"],"requiredByCount":1,"runDepends":["devel/py-inflection","devel/py-jsonschema","devel/py-pyyaml","lang/python311","net/py-uritemplate","www/py-dj51-djangorestframework","www/py-dj51-drf-spectacular-sidecar","www/py-django51"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.28.0_1","versions":null,"vulnerabilities":null,"www":"https://github.com/tfranzel/drf-spectacular"}
