Skip to main content

Examples

Minimal consumer stubs that call SDKs generated from fixtures/petstore.yaml.

# From repo root — regenerate sdk/ folders after emitter changes
./scripts/generate-examples.sh
DirectoryLanguageHow to run
petstore-ts/TypeScriptcd petstore-ts && npm i && npx tsx main.mts
petstore-go/Gocd petstore-go && go run .
petstore-rust/Rustcd petstore-rust && cargo run

These examples expect a live Petstore at the URL in each file (default mock or public).
For offline demos, point baseUrl at the e2e mock or your own server.