SwaggerGeneratorSettingsExtensions.

WithDescription(SwaggerGeneratorSettings, string) Method

Summary

Sets the API description for use in the generated specification

Syntax

public static SwaggerGeneratorSettings WithDescription(this SwaggerGeneratorSettings settings, string description)

Parameters

Name Type Description
settings SwaggerGeneratorSettings The settings
description string Description to include with the generated API spec

Return Value

Type Description
SwaggerGeneratorSettings The updated settings object