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
Click to show internal directories.
Click to hide internal directories.