EdmTypeExtensions.ShouldPathParameterBeQuoted Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.