SwaggerGeneratorSettingsExtensions.

UseStringEnums(SwaggerGeneratorSettings) Method

Summary

Enables representing enums as strings in generated specifications

Syntax

public static SwaggerGeneratorSettings UseStringEnums(this SwaggerGeneratorSettings settings)

Parameters

Name Type Description
settings SwaggerGeneratorSettings The settings

Return Value

Type Description
SwaggerGeneratorSettings The updated settings object