Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models

Syntax

Summary

Represents a GraphQL or MCP specification reference.

Remarks

Mintlify accepts either a string path or HTTPS URL, or an object with SpecRefConfig.Source and optional SpecRefConfig.Directory. HTTP URLs are not accepted. GraphQL defaults SpecRefConfig.Directory to graphql-reference. See https://www.mintlify.com/docs/api-playground/graphql-setup.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Directory

Gets or sets the directory used as the URL prefix for generated pages.

Syntax

Property Value

Type: string?

Source

Gets or sets the local path or HTTPS URL of the specification.

Syntax

Property Value

Type: string?

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 Override

Returns the source path or an empty string.

Syntax

Returns

Type: string The source path or an empty string.

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?