Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the configuration for autogenerated API examples in the documentation.Remarks
Controls which programming languages are shown in code examples and whether optional parameters are included in the generated examples.Constructors
.ctor
Syntax
Properties
Defaults
Gets or sets whether to show optional parameters in API examples.Syntax
Property Value
Type:string?
Examples
Remarks
Valid values are:- “all”: Show all parameters including optional ones
- “required”: Show only required parameters Defaults to “all” when not specified.
Languages
Gets or sets the programming languages for autogenerated API snippets.Syntax
Property Value
Type:System.Collections.Generic.List<string>?