mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
15 lines
360 B
Bash
15 lines
360 B
Bash
#!/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
|
|
|
|
# Go module commands
|
|
go mod download
|
|
go mod tidy
|
|
|
|
# Generate starter usage sample with speakeasy
|
|
speakeasy generate usage -s openapi/v2.yaml -l go -o samples/root.go |