Skip to main content

Definition

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

Syntax

Summary

Represents the display settings for API parameters in the documentation.

Remarks

Controls how API parameters are displayed in the interactive playground and documentation pages, including whether they are expanded by default.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Expanded

Gets or sets how parameter fields are expanded in the playground.

Syntax

Property Value

Type: string?

Examples

Remarks

Valid values are all and closed. Assigning true or false (as strings) maps to all and closed. Boolean JSON tokens are not accepted.

Post

Gets or sets OpenAPI keys rendered as ParamField pills for POST bodies.

Syntax

Property Value

Type: System.Collections.Generic.List<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

NormalizeExpanded

Maps legacy boolean-like values to the schema enum.

Syntax

Parameters

Returns

Type: string? all or closed when the value is boolean-like; otherwise the trimmed input.

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?