Help us shape the future of Go! Take the 2026 Go Developer Survey

specgen

command
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Overview

Command specgen dumps the AuthSome OpenAPI spec by booting the engine with all known plugins, registering their routes on a Forge router, and serializing the dynamically-generated spec to JSON. This replaces the hardcoded spec generator and ensures the SDK always matches the actual API surface.

Usage:

go run ./sdkgen/cmd/specgen --out=spec.json --title="AuthSome API" --version=0.5.0

Jump to

Keyboard shortcuts

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