SwaggerGeneratorSettingsExtensions.

UseUrlTemplate(SwaggerGeneratorSettings, string) Method

Summary

Sets the default URL template to be used when parsing routes

Syntax

public static SwaggerGeneratorSettings UseUrlTemplate(this SwaggerGeneratorSettings settings, string template)

Parameters

Name Type Description
settings SwaggerGeneratorSettings The settings
template string The url template to use as default

Return Value

Type Description
SwaggerGeneratorSettings The updated settings object