Docs
API
Interfaces
PrefixTransformConfig

Interface: PrefixTransformConfig

types/src.YamlConfig.PrefixTransformConfig

Prefix transform

Table of contents

Properties

Properties

ignore

Optional ignore: string[]

List of ignored types

Defined in

packages/types/src/config.ts:1513


includeRootOperations

Optional includeRootOperations: boolean

Changes root types and changes the field names (default: false)

Defined in

packages/types/src/config.ts:1517


includeTypes

Optional includeTypes: boolean

Changes types (default: true)

Defined in

packages/types/src/config.ts:1521


mode

Optional mode: "bare" | "wrap"

Specify to apply prefix transform to bare schema or by wrapping original schema (Allowed values: bare, wrap)

Defined in

packages/types/src/config.ts:1505


value

Optional value: string

The prefix to apply to the schema types. By default it's the API name.

Defined in

packages/types/src/config.ts:1509