Files
omsorg/omsorgWeb/mitarbeiter-app/api-client-php/generate.sh
T
Felix KemmlerandClaude Sonnet 5 e9e96a57dc Add facilities, contracts, orders, value lists, audit log, and desktop app modules
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>
2026-08-08 23:29:16 +02:00

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