Skip to content

Function: formatAsYAML()

ts
function formatAsYAML(schema): string;

Defined in: schemaFormatters.ts:22

Formats the schema as YAML string

Parameters

ParameterTypeDescription
schemaExportedSchemaThe schema to format

Returns

string

The configuration schema as a YAML string