Table of Contents

TSwaggerUIOptions Class

Options that control the Swagger UI interface published by a server module.

Syntax

Unit: XData.Server.Module

TSwaggerUIOptions = class(TObject);

Constructors

Name Description
Create Creates a new instance with all options set to their default values.

Properties

Name Description
CustomParams Additional parameters passed to the Swagger UI JavaScript object, in Name=Value format.
DisplayOperationId Indicates whether Swagger UI displays the operation id of each endpoint.
DocExpansion Gets or sets how much of the operation list Swagger UI expands by default.
ShowFilter Indicates whether Swagger UI displays a filter box to search for API operations.
TryItOutEnabled Indicates whether Swagger UI starts in "try out" mode.