xrdgen

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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