From 66247982d6f36a5b09b5a4bdafab055ef735179e Mon Sep 17 00:00:00 2001 From: Muthiah Muralidharan Date: Fri, 13 Nov 2026 17:47:27 +0530 Subject: [PATCH] fix(codegen): regenerate commands from latest OpenAPI spec The public OpenAPI spec changed operation summaries for usage and business_entity after the last regeneration, so the codegen drift check fails on main. Co-Authored-By: Claude Opus 5.5 --- src/commands/generated/.openapi-source-sha | 2 +- src/commands/generated/business_entity.ts | 2 +- src/commands/generated/usage.ts | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands/generated/.openapi-source-sha b/src/commands/generated/.openapi-source-sha index 2fd86fe..3089aa6 100644 --- a/src/commands/generated/.openapi-source-sha +++ b/src/commands/generated/.openapi-source-sha @@ -1 +1 @@ -480b6b1a9a3a38b42ea8d8ea476c5f579b2eb0ae +b9bcf89073ad399420af0e8230cf201ec5b3dcd4 diff --git a/src/commands/generated/business_entity.ts b/src/commands/generated/business_entity.ts index c0732cc..ba9fa1d 100644 --- a/src/commands/generated/business_entity.ts +++ b/src/commands/generated/business_entity.ts @@ -20,7 +20,7 @@ export function registerBusinessEntity(parent: Command): void { cmd .command("create") .argument("[json]", "'-' reads a JSON object from stdin.") - .description("Create a business_entity") + .description("Create a business entity") .option("-d, --data ", "Request parameters in key=value format; repeat for multiple fields") .option("-s, --code-sample ", "Generate code sample (curl, python, nodejs, go, ruby, java, php, dotnet, list)") .addOption(new Option("--pc-version ", "Product catalog version for the code sample (v1 or v2)").hideHelp()) diff --git a/src/commands/generated/usage.ts b/src/commands/generated/usage.ts index 70a6a59..a16a182 100644 --- a/src/commands/generated/usage.ts +++ b/src/commands/generated/usage.ts @@ -20,7 +20,7 @@ export function registerUsage(parent: Command): void { .command("create") .argument("[subscription-id]", "The unique identifier of the subscription resource.") .argument("[json]", "'-' reads a JSON object from stdin.") - .description("Create a usage") + .description("Create") .option("-d, --data ", "Request parameters in key=value format; repeat for multiple fields") .option("-s, --code-sample ", "Generate code sample (curl, python, nodejs, go, ruby, java, php, dotnet, list)") .addOption(new Option("--pc-version ", "Product catalog version for the code sample (v1 or v2)").hideHelp()) @@ -46,7 +46,7 @@ export function registerUsage(parent: Command): void { .command("delete") .argument("[subscription-id]", "The unique identifier of the subscription resource.") .argument("[json]", "'-' reads a JSON object from stdin.") - .description("Delete a usage") + .description("Delete") .option("-d, --data ", "Request parameters in key=value format; repeat for multiple fields") .option("-s, --code-sample ", "Generate code sample (curl, python, nodejs, go, ruby, java, php, dotnet, list)") .addOption(new Option("--pc-version ", "Product catalog version for the code sample (v1 or v2)").hideHelp()) @@ -71,7 +71,7 @@ export function registerUsage(parent: Command): void { cmd .command("list") .argument("[json]", "'-' reads a JSON object from stdin.") - .description("List usages") + .description("List") .option("-d, --data ", "Parameters as key=value. List filters require an operator suffix (id[is]=…). Bare keys: limit, offset, include_deleted.") .option("-s, --code-sample ", "Generate code sample (curl, python, nodejs, go, ruby, java, php, dotnet, list)") .addOption(new Option("--pc-version ", "Product catalog version for the code sample (v1 or v2)").hideHelp()) @@ -115,7 +115,7 @@ export function registerUsage(parent: Command): void { .command("retrieve") .argument("[subscription-id]", "The unique identifier of the subscription resource.") .argument("[json]", "'-' reads a JSON object from stdin.") - .description("Retrieve a usage") + .description("Retrieve") .option("-d, --data ", "Request parameters in key=value format; repeat for multiple fields") .option("-s, --code-sample ", "Generate code sample (curl, python, nodejs, go, ruby, java, php, dotnet, list)") .addOption(new Option("--pc-version ", "Product catalog version for the code sample (v1 or v2)").hideHelp())