OaParameterExtensions.ToParameterStyle method

Convert to Microsoft.OpenApi ParameterStyle.

public static ParameterStyle ToParameterStyle(this OaParameterStyle? style)
parameter description
style The OaParameterStyle value.

Return Value

The corresponding ParameterStyle value.

Exceptions

exception condition
ArgumentOutOfRangeException Thrown when the style is not recognized.

See Also