Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.ModelsSyntax
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 tographql-reference.
See https://www.mintlify.com/docs/api-playground/graphql-setup.
Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
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
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
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
objectSyntax
Returns
Type:string?