Documentation
¶
Overview ¶
Command xrdgen generates typed Go views of the XGatewayGCP XRD's spec and status subtrees. The XRD's openAPIV3Schema is plain JSON Schema, which oapi-codegen can consume once wrapped in a minimal OpenAPI 3 document; this tool performs that wrapping and drives oapi-codegen.
It is a build-time tool: failures abort with a clear message and a non-zero exit rather than returning errors to a caller.
Click to show internal directories.
Click to hide internal directories.