quickstart

command
v1.15.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Quickstart example: build a minimal route tree, walk it, and print the generated OpenAPI 3.0.3 YAML to stdout.

go run ./goai/examples/quickstart

The example demonstrates the smallest possible goai pipeline: route → Walk → Build → EmitYAML. No registry entries, no struct tags, no merge — just the auto-discovered shape of two endpoints.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL