api/autorest-config.yaml (12 lines of code) (raw):
input-file: redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/hcpclusters/preview/2024-06-10-preview/openapi.json
use:
# TODO: This is an old version. We should fix incompatibilities and remove this later
- "@autorest/go@4.0.0-preview.63"
go:
namespace: redhatopenshift
project-folder: ../internal
output-folder: $(project-folder)/api/v20240610preview/generated
module-version: "0.0.1"
containing-module: "github.com/Azure/ARO-HCP/internal/api/v20240610preview"
azure-arm: true
generate-fakes: true
disallow-unknown-fields: true