Skip to main content

Interface: GenerateCliRouteManifestArgs

Defined in: generateCliRoutes.ts:456

Properties​

moduleDocsUrl​

moduleDocsUrl: (moduleSlug) => string

Defined in: generateCliRoutes.ts:460

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:462

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

Parameters​

ParameterType
operationIdstring

Returns​

string


specsDir​

specsDir: string

Defined in: generateCliRoutes.ts:458

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


tagToClassName?​

optional tagToClassName?: (tag) => string

Defined in: generateCliRoutes.ts:464

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

Parameters​

ParameterType
tagstring

Returns​

string