diff --git a/requirements.txt b/requirements.txt index 8c3af50f2..b8986908d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -114,3 +114,9 @@ yarl==1.7.2 zipp==3.8.0 dateparser==1.1.1 fetchcode==0.2.0 + +drf-spectacular-sidecar==2022.10.1 +drf-spectacular[sidecar]==0.24.2 +coreapi==2.3.3 +coreschema==0.0.4 +itypes==1.2.0 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index c09e5ad44..25870098e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -63,6 +63,10 @@ install_requires = django-environ>=0.8.0 gunicorn>=20.1.0 + # for the API doc + drf-spectacular[sidecar]>=0.24.2 + coreapi>=2.3.3 + #essentials packageurl-python>=0.9.4 univers>=30.9.0