- Install and configure drf-spectacular for OpenAPI/Swagger documentation - Add Swagger UI endpoints at /api/schema/ and /api/docs/ - Configure SPECTACULAR_SETTINGS with API metadata - Refactor meetings views from function-based to class-based views (ScheduleAppointmentView, RejectAppointmentView, AvailableDatesView, UserAppointmentsView, AppointmentStatsView, UserAppointmentStatsView) - Update URL patterns to use new class-based views - Simplify ALLOWED_HOSTS configuration to accept all hosts This improves API discoverability through interactive documentation and modernizes the codebase by using class-based views for better code organization and reusability. |
||
|---|---|---|
| .. | ||
| migrations | ||
| __init__.py | ||
| admin.py | ||
| apps.py | ||
| backends.py | ||
| managers.py | ||
| models.py | ||
| serializers.py | ||
| tests.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||