#!/bin/bash # Install the speakeasy CLI curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh # Setup samples directory rmdir samples || true mkdir samples npm install npm install -g ts-node npm link npm link coolify TS_CONFIG_CONTENT=$(cat < samples/tsconfig.json # Generate starter usage sample with speakeasy speakeasy generate usage -s https://raw.githubusercontent.com/coollabsio/documentation-coolify/refs/heads/main/openapi.yaml -l typescript -o samples/root.ts