Skip to main content

Definition

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

Syntax

Summary

Represents a version configuration in Mintlify navigation.

Remarks

Versions allow you to maintain multiple documentation versions. The version name is required.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Anchors

Gets or sets the anchors for the version.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.AnchorConfig>?

AsyncApi

Gets or sets the AsyncAPI configuration.

Syntax

Property Value

Type: object?

Default

Gets or sets whether this version is the default version.

Syntax

Property Value

Type: System.Nullable<bool>? Gets or sets the dropdowns for the version.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.DropdownConfig>?

Global

Gets or sets the global navigation configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.GlobalNavigationConfig?

Groups

Gets or sets the groups for the version.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.GroupConfig>?

Hidden

Gets or sets whether the current option is default hidden.

Syntax

Property Value

Type: System.Nullable<bool>?

Href

Gets or sets the URL or path for the version.

Syntax

Property Value

Type: string?

Languages

Gets or sets the languages for the version.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.LanguageConfig>?

OpenApi

Gets or sets the OpenAPI configuration.

Syntax

Property Value

Type: object?

Pages

Gets or sets the pages for the version.

Syntax

Property Value

Type: System.Collections.Generic.List<object>?

Tabs

Gets or sets the tabs for the version.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.TabConfig>?

Version

Gets or sets the name of the version.

Syntax

Property Value

Type: string

Remarks

This is a required field that identifies the version.

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?