Share via


EdmTypeExtensions.ShouldPathParameterBeQuoted Method

Definition

Determines whether a path parameter should be wrapped in quotes based on the type of the parameter.

public static bool ShouldPathParameterBeQuoted(this Microsoft.OData.Edm.IEdmType edmType, Microsoft.OpenApi.OData.OpenApiConvertSettings settings);
static member ShouldPathParameterBeQuoted : Microsoft.OData.Edm.IEdmType * Microsoft.OpenApi.OData.OpenApiConvertSettings -> bool
<Extension()>
Public Function ShouldPathParameterBeQuoted (edmType As IEdmType, settings As OpenApiConvertSettings) As Boolean

Parameters

edmType
IEdmType

The type of the parameter.

settings
OpenApiConvertSettings

The conversion settings.

Returns

True if the parameter should be wrapped in quotes, false otherwise.

Applies to