Files
find/bin/update_openapi_schema
Manuel Raynaud 325fd0a8dc ♻️(core) rename drive project in find
Initially the project was named drive and many references are still
present. We decided to revamp all the project to only have references to
find.
2025-01-10 14:46:06 +01:00

13 lines
298 B
Bash
Executable File

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