Bug#1037009: ITP: python-drf-spectacular-sidecar-nonfree -- Serve builds of Swagger UI and Redoc for Django REST framework
Package: wnpp
Severity: wishlist
Owner: Carsten Schoenert <c.schoenert@t-online.de>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : python-drf-spectacular-sidecar-nonfree
Version : 2023.5.1
Upstream Contact: T. Franzel <tfranzel@gmail.com>
* URL : https://github.com/tfranzel/drf-spectacular-sidecar
* License : Apache-2.0, BSD-3, MIT/X
Programming Lang: Python, JS, CSS
Description : Serve builds of Swagger UI and Redoc for Django REST framework
Serve self-contained distribution builds of Swagger UI and Redoc with
Django either via runserver or collectstatic.
This Django app is an optional addition to drf-spectacular, but does not
depend on it. It may also be used independently.
It uses parts of
Swagger UI version 4.18.3
Redoc version 2.0.0
The pulled in files for Swager-UI und Redoc are fetched from jsdelivr
and are unfortunately only the minimized parts that probbaly make the
package non-free as I'm unable to rebuild them.
.
The source for Redoc is available from
https://github.com/Redocly/redoc
but isn't packaged or available in some form in Debian.
The same is true for Swagger UI, the source is also avaialbe on GitHub
https://github.com/swagger-api/swagger-ui
So far also no Debian packages are created yet for Swagger-UI which
could be used to rebuild or reference the used minimized files in
drf-spectacular-sidecar.
This package is new dependency for NetBox (see ITP
https://bugs.debian.org/1017079) as since version 3.5.0 NetBox Upstream
has moved over to support using the OpenAPI 3.0 spec to generate the
REST API schema.
I plan to maintain the package within the an Debian Python Team.
As like for NetBox I appreciate any help around how the minimized files
could be rebuild so the package wouldn't needed to be placed in
non-free.
Regards
Carsten
Reply to: