Logo Orsak

FSharpSchemaOptionsExtensions Type

Adds the description of F# types to OpenAPI documents.

Static members

Static member Description

FSharpSchemaOptionsExtensions.AddFSharpSchemas(options)

Full Usage: FSharpSchemaOptionsExtensions.AddFSharpSchemas(options)

Parameters:
Returns: OpenApiOptions

Describes common F# types as System.Text.Json writes them, with FSharpSchemaTransformer.

options : OpenApiOptions

The options of the document

Returns: OpenApiOptions
Example

 builder.Services.AddOpenApi(fun options -> options.AddEffectEndpoints().AddFSharpSchemas() |> ignore)
val ignore: value: 'T -> unit

Type something to start searching.