SwaggerGeneratorSettingsExtensions.

UseIntegerEnums(SwaggerGeneratorSettings) Method

Summary

Enables representing enums as integers in generated specifications

Syntax

public static SwaggerGeneratorSettings UseIntegerEnums(this SwaggerGeneratorSettings settings)

Parameters

Name Type Description
settings SwaggerGeneratorSettings The settings

Return Value

Type Description
SwaggerGeneratorSettings The updated settings object