OpenApiDocDescriptor.InferPrimitiveSchema method

Infers a primitive OpenApiSchema from a .NET type.

public IOpenApiSchema InferPrimitiveSchema(Type type, bool inline = false)
parameter description
type The .NET type to infer from.
inline Indicates if the schema should be inlined.

Return Value

The inferred OpenApiSchema.

See Also