MicroElements.Swashbuckle.NodaTime 4.0.1

Configure Asp.Net Core and swagger to use NodaTime types.

# Benefits of MicroElements.Swashbuckle.NodaTime
- Supports Swashbuckle 5, net core 3 and brand new System.Text.Json
- Implemented in c#, no FSharp.Core lib in dependencies
- NamingStrategy support. You can use DefaultNamingStrategy, CamelCaseNamingStrategy or SnakeCaseNamingStrategy
- Supports DateInterval
- Can be generated with user provided examples or without examples

Install-Package MicroElements.Swashbuckle.NodaTime -Version 4.0.1
dotnet add package MicroElements.Swashbuckle.NodaTime --version 4.0.1
<PackageReference Include="MicroElements.Swashbuckle.NodaTime" Version="4.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicroElements.Swashbuckle.NodaTime --version 4.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MicroElements.Swashbuckle.NodaTime, 4.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MicroElements.Swashbuckle.NodaTime as a Cake Addin
#addin nuget:?package=MicroElements.Swashbuckle.NodaTime&version=4.0.1

// Install MicroElements.Swashbuckle.NodaTime as a Cake Tool
#tool nuget:?package=MicroElements.Swashbuckle.NodaTime&version=4.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

$# 4.0.0
- NodaTime updated to 3.0.0
- NodaTime.Serialization.JsonNet updated to 3.0.0
- NodaTime.Serialization.SystemTextJson updated to 1.0.0
- Swashbuckle.AspNetCore updated to version 5.5.1
- Added SchemaExamples to NodaTimeSchemaSettings and configuration methods ConfigureForNodaTime and ConfigureForNodaTimeWithSystemTextJson to support custom example values
- Nullable annotations added

# 3.0.0
- Supports Swashbuckle 5, net core 3 and System.Text.Json
- Swashbuckle.AspNetCore updated to version 5.0.0
- NodaTime and NodaTime.Serialization.JsonNet updated to latest versions
- ConfigureForNodaTime became more customizable
- Compatibility with System.Text.Json:
 - New dependency: NodaTime.Serialization.SystemTextJson
 - Added new ConfigureForNodaTimeWithSystemTextJson
- PR #13 by jeremyhayes: remove unspecified format aliases (full-date, partial-time)
- PR #8 by Romanx: Add flag for generating examples in output
- PR #11 by dgarciarubio: Add support for OffsetDate and OffsetTime types

# 3.0.0-rc.4
- PR #8 by Romanx: Add flag for generating examples in output
- PR #11 by dgarciarubio: Add support for OffsetDate and OffsetTime types

# 3.0.0-rc.3
- Supports Swashbuckle 5, net core 3 and System.Text.Json
- Swashbuckle.AspNetCore updated to version 5.0.0

# 3.0.0-rc.2
- Supports net core 3 and brand new System.Text.Json
- NodaTime and NodaTime.Serialization.JsonNet updated to latest versions
- Swashbuckle.AspNetCore updated to version 5.0.0-rc5
- ConfigureForNodaTime became more customizable
- Compatibility with System.Text.Json:
 - New dependency: NodaTime.Serialization.SystemTextJson
 - Added new ConfigureForNodaTimeWithSystemTextJson
- Sample moved to net core 3
- Sample supports NewtonsoftJson, System.Text.Json and System.Text.Json with NamingPolicy from NewtonsoftJson


Full release notes can be found at: https://github.com/micro-elements/MicroElements.Swashbuckle.NodaTime.git/blob/master/CHANGELOG.md

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.0.1 11,560 1/21/2021
4.0.0 3,892 11/21/2020
3.0.0 7,385 8/29/2020
3.0.0-rc.4 28,343 2/22/2020
3.0.0-rc.3 253 2/5/2020
3.0.0-rc.2 303 2/2/2020
3.0.0-rc.1 3,989 11/14/2019
2.0.0 2,981 3/20/2019
1.2.0 279 3/20/2019
1.1.0 384 1/10/2019
1.0.2 442 9/27/2018
1.0.1 439 9/10/2018
1.0.0 468 8/12/2018
1.0.0-beta.3 325 8/9/2018
1.0.0-beta.2 338 8/6/2018
1.0.0-beta.1 322 8/3/2018