FSharp.Data.JsonSchema.OpenApi 3.0.1

dotnet add package FSharp.Data.JsonSchema.OpenApi --version 3.0.1
                    
NuGet\Install-Package FSharp.Data.JsonSchema.OpenApi -Version 3.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.Data.JsonSchema.OpenApi" Version="3.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.Data.JsonSchema.OpenApi" Version="3.0.1" />
                    
Directory.Packages.props
<PackageReference Include="FSharp.Data.JsonSchema.OpenApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FSharp.Data.JsonSchema.OpenApi --version 3.0.1
                    
#r "nuget: FSharp.Data.JsonSchema.OpenApi, 3.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FSharp.Data.JsonSchema.OpenApi@3.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FSharp.Data.JsonSchema.OpenApi&version=3.0.1
                    
Install as a Cake Addin
#tool nuget:?package=FSharp.Data.JsonSchema.OpenApi&version=3.0.1
                    
Install as a Cake Tool

OpenAPI schema translator for F# types. Provides IOpenApiSchemaTransformer for ASP.NET Core OpenAPI integration using FSharp.Data.JsonSchema.Core.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FSharp.Data.JsonSchema.OpenApi:

Package Downloads
Frank.OpenApi

OpenAPI document generation extensions for Frank web framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.1 109 2/10/2026
3.0.0 92 2/7/2026

### FSharp.Data.JsonSchema.NJsonSchema 3.0.1
* Fix recursive type serialization for self-referential types with nullable fields
* Fix NJsonSchemaTranslator to properly handle Ref("#") in nullable contexts
### FSharp.Data.JsonSchema.Core 3.0.1
* No changes (version bump for consistency)
### FSharp.Data.JsonSchema.OpenApi 3.0.1
* No changes (version bump for consistency)
### FSharp.Data.JsonSchema.NJsonSchema 3.0.0
* **New Package**: Renamed from FSharp.Data.JsonSchema (this is now the go-forward package name)
* Internal implementation now uses Core IR pipeline (`SchemaAnalyzer.analyze >> NJsonSchemaTranslator.translate`)
* Add dependency on FSharp.Data.JsonSchema.Core
* Add net9.0 and net10.0 target frameworks
* Existing public API (`Generator.Create`, `Generator.CreateMemoized`, schema processors, `Validation` module) remains unchanged
* All existing schema output remains byte-identical
* Critical regression fixes for format-annotated types (DateTime, Guid, Uri, byte[], Map, Dictionary, Set, etc.)
### FSharp.Data.JsonSchema 3.0.0 [DEPRECATED]
* **This package is deprecated** - renamed to FSharp.Data.JsonSchema.NJsonSchema
* This is a compatibility shim that references FSharp.Data.JsonSchema.NJsonSchema
* Please update your package reference to FSharp.Data.JsonSchema.NJsonSchema
* This package will not receive updates beyond 3.0.0
* Marked with `[<Obsolete>]` attributes to provide compiler warnings
### FSharp.Data.JsonSchema.Core 3.0.0
* **Version aligned** with main package family (was 1.0.0)
* Target-agnostic JSON Schema IR library
* `SchemaNode` discriminated union with 11 variants for representing JSON Schema
* `SchemaAnalyzer.analyze` for recursive F# type analysis
* `SchemaGeneratorConfig` for configuring discriminator property name, naming policy, and additional properties
* Supports: records, struct records, multi-case DUs, fieldless DUs, enums, option/voption, Nullable, lists, arrays, sequences, recursive types, generic types, .NET classes
* Only depends on FSharp.Core and FSharp.SystemTextJson
* Targets netstandard2.0 through net10.0
### FSharp.Data.JsonSchema.OpenApi 3.0.0
* **Version aligned** with main package family (was 1.0.0)
* OpenAPI schema translator for F# types
* `OpenApiSchemaTranslator.translate` converts Core IR to OpenApiSchema
* `FSharpSchemaTransformer` implements `IOpenApiSchemaTransformer` for ASP.NET Core OpenAPI integration
* Supports Microsoft.OpenApi 1.6.x (net9.0) and 2.0.x (net10.0) via conditional compilation
* Targets net9.0 and net10.0
### New in 2.0.2 - (Released 2023/04/16)
* Fix Multi Case DUs should set 'additionalProperties' to false (#16)
* Fix DUs with decimals cause the 'Decimal' type to get redefined (#18)
* Thank you, @blakeSaucier, for the issues and fixes!
### New in 2.0.1 - (Released 2022/11/10)
* Fix generation of F# list type (#12)
### New in 2.0.0 - (Released 2021/11/03)
* Fix stack overflow when generating schema for `seq<'a>` with an open generic parameter (#7)
* Fix nested type schema generation (#10)
* Enforce required and optional fields, particularly strings (#11)
### New in 1.0.0 - (Released 2020/11/18)
* Explicit support for .NET 5.0
### New in 0.1.0 - (Released 2020/06/05)
* Use System.Text.Json rather than Newtonsoft.Json [#4](https://github.com/panesofglass/FSharp.Data.JsonSchema/pull/5)
### New in 0.0.2 - (Released 2019/10/22)
* Default null value handling set to ignore null values
* Add support for netstandard2.1
### New in 0.0.1 - (Released 2019/10/22)
* Initial, non-alpha release
### New in 0.0.1-alpha1 - (Released 2019/10/22)
* Initial release