Removal of django-rest-swagger

The library is end of life and out of date for recent python.

This change completes the removal from Adjutant, as was
started in I102e94c8172f6ea660814dd8fcd44ed8239b2e67

A viable replacement library may be drf-yasg, and may be
implemented in the future.

Co-Authored-By: matthewnorthcott@catalystcloud.nz
Change-Id: Ifd43db86f801bd16aea358245c0e8a5392e66d55
This commit is contained in:
Dale Smith 2025-01-20 09:17:55 +13:00
parent 7cdf620889
commit b368c65bb9
3 changed files with 0 additions and 11 deletions

View File

@ -39,7 +39,6 @@ INSTALLED_APPS = (
"django.contrib.messages", "django.contrib.messages",
"django.contrib.staticfiles", "django.contrib.staticfiles",
"rest_framework", "rest_framework",
"rest_framework_swagger",
"adjutant.commands", "adjutant.commands",
"adjutant.actions", "adjutant.actions",
"adjutant.api", "adjutant.api",

View File

@ -82,12 +82,3 @@ Normal response code: 200
.. include:: delegate-apis.inc .. include:: delegate-apis.inc
****************************
Additional API Documentation
****************************
While in debug mode the service will supply online browsable documentation via
Django REST Swagger.
This is viewable at: ../docs

View File

@ -3,7 +3,6 @@ pbr>=5.2.0
Django>=4.2 Django>=4.2
Babel>=2.6.0 Babel>=2.6.0
decorator>=4.4.0 decorator>=4.4.0
django-rest-swagger>=2.2.0
djangorestframework>=3.14.0 djangorestframework>=3.14.0
jsonfield>=2.0.2 jsonfield>=2.0.2
keystoneauth1>=3.14.0 keystoneauth1>=3.14.0