Used https://github.com/openfun/joanie as boilerplate, ran a few transformations with ChapGPT and adapted models and endpoints to fit to my current vision of the project.
13 lines
304 B
Bash
Executable File
13 lines
304 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source "$(dirname "${BASH_SOURCE[0]}")/_config.sh"
|
|
|
|
_dc_run \
|
|
-e DJANGO_CONFIGURATION=Test \
|
|
app-dev \
|
|
python manage.py spectacular \
|
|
--api-version 'v1.0' \
|
|
--urlconf 'people.api_urls' \
|
|
--format openapi-json \
|
|
--file /app/core/tests/swagger/swagger.json
|