Skip to main content

Interface: GenerateCliRouteManifestArgs

Defined in: generateCliRoutes.ts:334

Properties

moduleDocsUrl

moduleDocsUrl: (moduleSlug) => string

Defined in: generateCliRoutes.ts:338

Builds the documentation URL for a module, given its spec filename (without extension).

Parameters

ParameterType
moduleSlugstring

Returns

string


operationIdToCommand?

optional operationIdToCommand?: (operationId) => string

Defined in: generateCliRoutes.ts:340

Converts an operationId to a CLI command name. Defaults to kebab-case.

Parameters

ParameterType
operationIdstring

Returns

string


specsDir

specsDir: string

Defined in: generateCliRoutes.ts:336

Directory containing one .yaml/.yml OpenAPI spec file per module.


tagToClassName?

optional tagToClassName?: (tag) => string

Defined in: generateCliRoutes.ts:342

Converts a tag to the SDK service class name. Defaults to PascalCase.

Parameters

ParameterType
tagstring

Returns

string