Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core Inheritance: System.Object

Syntax

Summary

Validates Mintlify docs.json configuration against the official schema requirements.

Remarks

This class provides comprehensive validation of the docs.json configuration to ensure it complies with the Mintlify schema and will work correctly when deployed.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?

Validate

Validates a docs.json configuration against the Mintlify schema.

Syntax

Parameters

Returns

Type: System.Collections.Generic.List<string> A list of validation errors. Empty if configuration is valid.

ValidateApi

Validates the API configuration.

Syntax

Parameters

ValidateAppearance

Validates the appearance configuration.

Syntax

Parameters

ValidateColors

Validates the color configuration.

Syntax

Parameters

ValidateGroups

Validates group configurations in navigation.

Syntax

Parameters

ValidateIcons

Validates the icons configuration.

Syntax

Parameters

Validates the logo configuration.

Syntax

Parameters

ValidateNavigation

Validates the navigation configuration.

Syntax

Parameters

ValidateRequired

Validates that the configuration has all required properties.

Syntax

Parameters

ValidateSeo

Validates the SEO configuration.

Syntax

Parameters

ValidateTheme

Validates the theme configuration.

Syntax

Parameters