- Add Gitea Actions workflow; point README to gitea.d-bis.org/Sankofa_Phoenix/SMOA - Expand .gitignore for Spring H2 data, secrets, Kotlin .kotlin/, tooling - Track docs/api/generated ReDoc bundle; refresh api docs README - Android: network/auth/sync, UI shell, tests; backend credentials/integrity APIs - Docs, scripts (generate-api-docs), modules and core updates Made-with: Cursor
9 lines
318 B
Bash
Executable File
9 lines
318 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Export OpenAPI JSON from a running SMOA backend (default http://localhost:8080).
|
|
# Usage: ./scripts/export-openapi-local.sh [BASE_URL] [OUTPUT_PATH]
|
|
set -euo pipefail
|
|
BASE="${1:-http://localhost:8080}"
|
|
OUT="${2:-openapi-export.json}"
|
|
curl -sSf "${BASE%/}/v3/api-docs" -o "$OUT"
|
|
echo "Wrote $OUT"
|