Skip to main content

Interface: GenerateCliRouteManifestArgs

Defined in: generateCliRoutes.ts:457

Properties​

moduleDocsUrl​

moduleDocsUrl: (moduleSlug) => string

Defined in: generateCliRoutes.ts:461

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

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

Parameters​

ParameterType
operationIdstring

Returns​

string


specsDir​

specsDir: string

Defined in: generateCliRoutes.ts:459

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


tagToClassName?​

optional tagToClassName?: (tag) => string

Defined in: generateCliRoutes.ts:465

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

Parameters​

ParameterType
tagstring

Returns​

string