Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents a server configuration for API endpoints.Remarks
Server configurations can be simple URL strings or arrays of URLs for multiple endpoints. This is used specifically for MDX server configurations and API playground base URLs.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Url
Gets or sets the single server URL.Syntax
Property Value
Type:string?
Remarks
Used when only a single server URL is specified.Urls
Gets or sets the list of server URLs.Syntax
Property Value
Type:System.Collections.Generic.List<string>?
Remarks
Used when multiple server URLs are provided. Not serialized directly as it’s handled by the converter.Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
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
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Override
Returns the string representation of the server configuration.Syntax
Returns
Type:string
The primary URL or empty string.
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?