Extends omsorgCore with full CRUD for Facility/Contract/Order plus configurable value lists and an audit trail, and wires the omsorgapp frontend up to the new facilities, settings, and audit-log modules; includes a sidebar active-nav-item highlight. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
506 B
Bash
Executable File
15 lines
506 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Generiert den PHP-Client aus der Swagger/OpenAPI-JSON von omsorgCore.
|
|
# Voraussetzung: omsorgCore läuft lokal im Development-Modus (siehe README.md).
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
BASE_URL="${OMSORG_CORE_URL:-http://localhost:5245}"
|
|
|
|
npx --yes @openapitools/openapi-generator-cli@2.13.4 generate \
|
|
-g php \
|
|
-i "${BASE_URL}/swagger/v1/swagger.json" \
|
|
-o . \
|
|
--additional-properties=invokerPackage=OmsorgCore\\Client,packageName=omsorgcore-client-php
|