{"id":15653416,"url":"https://github.com/tfranzel/drf-spectacular-sidecar","last_synced_at":"2025-10-07T13:45:22.881Z","repository":{"id":46652840,"uuid":"410115575","full_name":"tfranzel/drf-spectacular-sidecar","owner":"tfranzel","description":"Serve self-contained distribution builds of Swagger UI and Redoc with Django.","archived":false,"fork":false,"pushed_at":"2025-09-01T11:23:20.000Z","size":33409,"stargazers_count":39,"open_issues_count":5,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-01T00:31:12.869Z","etag":null,"topics":["django","drf","openapi3","redoc","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tfranzel.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-24T22:17:14.000Z","updated_at":"2025-09-12T06:01:17.000Z","dependencies_parsed_at":"2023-01-23T20:00:44.133Z","dependency_job_id":"1fe643b9-f4fd-42e4-843b-9fbdfef91138","html_url":"https://github.com/tfranzel/drf-spectacular-sidecar","commit_stats":{"total_commits":47,"total_committers":4,"mean_commits":11.75,"dds":"0.36170212765957444","last_synced_commit":"ca235ca32620f0d9b00c4d7b2a16525e951fbf83"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"purl":"pkg:github/tfranzel/drf-spectacular-sidecar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfranzel%2Fdrf-spectacular-sidecar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfranzel%2Fdrf-spectacular-sidecar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfranzel%2Fdrf-spectacular-sidecar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfranzel%2Fdrf-spectacular-sidecar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfranzel","download_url":"https://codeload.github.com/tfranzel/drf-spectacular-sidecar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfranzel%2Fdrf-spectacular-sidecar/sbom","scorecard":{"id":875950,"data":{"date":"2025-08-11","repo":{"name":"github.com/tfranzel/drf-spectacular-sidecar","commit":"836e3c4a20090d839ccfcbb8c4e320c202f12068"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/update.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/tfranzel/drf-spectacular-sidecar/update.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/tfranzel/drf-spectacular-sidecar/update.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/update.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/update.yml:21","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"37 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-190 / GHSA-2gwj-7jmv-h26r","Warn: Project is vulnerable to: PYSEC-2020-32 / GHSA-2m34-jcjv-45xf","Warn: Project is vulnerable to: PYSEC-2020-36 / GHSA-3gh2-xw74-jmcw","Warn: Project is vulnerable to: PYSEC-2022-1 / GHSA-53qw-q765-4fww","Warn: Project is vulnerable to: PYSEC-2021-98 / GHSA-68w8-qjq3-2gfm","Warn: Project is vulnerable to: GHSA-6c3j-c64m-qhgq","Warn: Project is vulnerable to: PYSEC-2019-10 / GHSA-6c7v-2f49-8h26","Warn: Project is vulnerable to: PYSEC-2022-20 / GHSA-6cw3-g6wv-c2xv","Warn: Project is vulnerable to: PYSEC-2019-13 / GHSA-6r97-cj55-9hrq","Warn: Project is vulnerable to: PYSEC-2019-79 / GHSA-7rp2-fm2h-wchj","Warn: Project is vulnerable to: GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: PYSEC-2022-2 / GHSA-8c5j-9r9f-c6w8","Warn: Project is vulnerable to: GHSA-8x94-hmjh-97hq","Warn: Project is vulnerable to: PYSEC-2022-19 / GHSA-95rw-fx8r-36v6","Warn: Project is vulnerable to: PYSEC-2019-11 / GHSA-c4qh-4vgv-qc6g","Warn: Project is vulnerable to: PYSEC-2020-34 / GHSA-fr28-569j-53c4","Warn: Project is vulnerable to: PYSEC-2021-9 / GHSA-fvgf-6h6h-3322","Warn: Project is vulnerable to: PYSEC-2019-12 / GHSA-h5jv-4p7w-64jg","Warn: Project is vulnerable to: PYSEC-2020-35 / GHSA-hmr4-m2h5-33qx","Warn: Project is vulnerable to: PYSEC-2019-15 / GHSA-hvmf-r92r-27hr","Warn: Project is vulnerable to: PYSEC-2022-3 / GHSA-jrh2-hc4r-7jwx","Warn: Project is vulnerable to: PYSEC-2020-33 / GHSA-m6gj-h9gm-gw44","Warn: Project is vulnerable to: PYSEC-2021-99 / GHSA-p99v-5w3c-jqq9","Warn: Project is vulnerable to: PYSEC-2021-8 / GHSA-qm57-vhq3-3fwf","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: PYSEC-2021-7 / GHSA-rxjp-mfm9-w4wr","Warn: Project is vulnerable to: PYSEC-2021-439 / GHSA-v6rh-hp5x-86rv","Warn: Project is vulnerable to: PYSEC-2019-14 / GHSA-v9qg-3j8p-r63v","Warn: Project is vulnerable to: PYSEC-2019-16 / GHSA-vfq6-hq5r-27r6","Warn: Project is vulnerable to: PYSEC-2022-191 / GHSA-w24h-v9qh-8gxj","Warn: Project is vulnerable to: PYSEC-2020-31 / GHSA-wpjr-j57x-wxfw","Warn: Project is vulnerable to: PYSEC-2021-6 / GHSA-xgxc-v2qg-chmh","Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T05:59:46.209Z","repository_id":46652840,"created_at":"2025-08-24T05:59:46.209Z","updated_at":"2025-08-24T05:59:46.209Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278786686,"owners_count":26045588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","drf","openapi3","redoc","swagger-ui"],"created_at":"2024-10-03T12:45:37.044Z","updated_at":"2025-10-07T13:45:22.877Z","avatar_url":"https://github.com/tfranzel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======================\ndrf-spectacular-sidecar\n=======================\n\n|pypi-version| |pypi-dl|\n\nServe self-contained distribution builds of `Swagger UI`_ and `Redoc`_ with `Django`_ either via `runserver`_ or `collectstatic`_.\n\nThis Django app is an optional addition to `drf-spectacular`_, but does not depend on it. It may also be used independently.\n\n* `Swagger UI`_ version ``5.29.1`` (`npm \u003chttps://www.npmjs.com/package/swagger-ui-dist\u003e`__)\n* `Redoc`_ version ``2.5.1`` (`npm \u003chttps://www.npmjs.com/package/redoc\u003e`__)\n\nThis is a self-updating and self-publishing repository that looks for updates on the 1st of every month.\nThe distribution files are sourced from npm via `jsdelivr`_, validated, packaged and uploaded to `PyPI`_.\n\nInstallation\n------------\n\n.. code:: bash\n\n    $ pip install drf-spectacular-sidecar\n\nThe package needs to be registered to allow Django to discover the static files.\n\n.. code:: python\n\n    INSTALLED_APPS = [\n        # ALL YOUR APPS\n        'drf_spectacular_sidecar',\n    ]\n\nRequirements\n------------\n\nDjango \u003e= 2.2\n\nLicenses\n--------\n\nProvided by `T. Franzel \u003chttps://github.com/tfranzel\u003e`_. `Licensed under 3-Clause BSD \u003chttps://github.com/tfranzel/drf-spectacular-sidecar/blob/master/LICENSE\u003e`_.\n\nThis package includes distribution builds of\n\n* `Swagger UI`_: The `original license (Apache 2.0) \u003chttps://github.com/swagger-api/swagger-ui/blob/master/LICENSE\u003e`_ and copyright apply to those files.\n* `Redoc`_: The `original license (MIT) \u003chttps://github.com/Redocly/redoc/blob/master/LICENSE\u003e`_ and copyright apply to those files.\n\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/drf-spectacular-sidecar.svg\n   :target: https://pypi.org/project/drf-spectacular-sidecar/\n.. |pypi-dl| image:: https://img.shields.io/pypi/dm/drf-spectacular-sidecar\n   :target: https://pypi.org/project/drf-spectacular-sidecar/\n\n.. _PyPI: https://pypi.org/project/drf-spectacular-sidecar/\n.. _jsdelivr: https://www.jsdelivr.com/\n.. _Django: https://www.djangoproject.com/\n.. _drf-spectacular: https://github.com/tfranzel/drf-spectacular\n.. _Redoc: https://github.com/Redocly/redoc\n.. _Swagger UI: https://github.com/swagger-api/swagger-ui\n.. _collectstatic: https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#collectstatic\n.. _runserver: https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#runserver\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfranzel%2Fdrf-spectacular-sidecar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfranzel%2Fdrf-spectacular-sidecar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfranzel%2Fdrf-spectacular-sidecar/lists"}