[ADD] HORILLA_API: Add swagger

This commit is contained in:
Horilla
2025-12-23 15:01:24 +05:30
parent 641a4d4842
commit f4bedaca4d
21 changed files with 1049 additions and 707 deletions

View File

@@ -6,11 +6,8 @@ class HorillaApiConfig(AppConfig):
name = "horilla_api"
def ready(self):
from django.urls import include, path
from horilla.urls import urlpatterns
urlpatterns.append(
path("api/", include("horilla_api.urls")),
)
super().ready()
"""
Initialize API documentation when the app is ready
"""
# Import and register API documentation components
import horilla_api.schema # noqa