FSharp.Data.JsonSchema.OpenApi
3.0.0
dotnet add package FSharp.Data.JsonSchema.OpenApi --version 3.0.0
NuGet\Install-Package FSharp.Data.JsonSchema.OpenApi -Version 3.0.0
<PackageReference Include="FSharp.Data.JsonSchema.OpenApi" Version="3.0.0" />
<PackageVersion Include="FSharp.Data.JsonSchema.OpenApi" Version="3.0.0" />
<PackageReference Include="FSharp.Data.JsonSchema.OpenApi" />
paket add FSharp.Data.JsonSchema.OpenApi --version 3.0.0
#r "nuget: FSharp.Data.JsonSchema.OpenApi, 3.0.0"
#:package FSharp.Data.JsonSchema.OpenApi@3.0.0
#addin nuget:?package=FSharp.Data.JsonSchema.OpenApi&version=3.0.0
#tool nuget:?package=FSharp.Data.JsonSchema.OpenApi&version=3.0.0
OpenAPI schema translator for F# types. Provides IOpenApiSchemaTransformer for ASP.NET Core OpenAPI integration using FSharp.Data.JsonSchema.Core.
| Product | Versions 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. |
-
net10.0
- FSharp.Core (>= 10.0.100)
- FSharp.Data.JsonSchema.Core (>= 3.0.0)
- Microsoft.AspNetCore.OpenApi (>= 10.0.0)
-
net9.0
- FSharp.Core (>= 10.0.100)
- FSharp.Data.JsonSchema.Core (>= 3.0.0)
- Microsoft.AspNetCore.OpenApi (>= 9.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 34 | 2/7/2026 |
### 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