OpenApiTypeMapper.MapOpenApiPrimitiveTypeToSimpleType(OpenApiSchema) 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.
Maps an OpenAPI data type and format to a simple type.
public static Type MapOpenApiPrimitiveTypeToSimpleType (this Microsoft.OpenApi.Models.OpenApiSchema schema);
static member MapOpenApiPrimitiveTypeToSimpleType : Microsoft.OpenApi.Models.OpenApiSchema -> Type
<Extension()>
Public Function MapOpenApiPrimitiveTypeToSimpleType (schema As OpenApiSchema) As Type
Parameters
- schema
- OpenApiSchema
The OpenApi data type
Returns
The simple type