Documentation
¶
Overview ¶
Package main implements the schemagen code generation tool. This tool generates Schema methods for Go structs with jsonschema tags, enabling easy JSON Schema generation from Go struct definitions.
Usage:
schemagen [flags] [packages...]
Flags:
-suffix string Output file suffix (default: "_schema.go") -package string Specify package name (default: auto-detect) -verbose Verbose output -dry-run Preview generated code without writing files -force Force regeneration of all files
Click to show internal directories.
Click to hide internal directories.