Files
meet/bin/update-openapi-schema
T
2026-02-24 16:36:49 +01:00

13 lines
310 B
Bash
Executable File

#!/usr/bin/env bash
source "$(dirname "${BASH_SOURCE[0]}")/_config.sh"
_dc_run \
-e DJANGO_CONFIGURATION=Test \
app-development \
python manage.py spectacular \
--api-version 'v1.0' \
--urlconf 'meet.api_urls' \
--format openapi-json \
--file /app/core/tests/swagger/swagger.json