All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Replaced dependency on Newtonsoft.Json with System.Text.Json
- Previously we were inspecting types for the attributes provided by Newtonsoft.Json such as
[JsonProperty]
. If you were relying on these attributes, you will now need to setoptions.SchemaIdSelector
and/oroptions.PropertyNameSelector
to a function which inspects those attributes. e.g.
services.AddAsyncApiSchemaGeneration(options => { options.PropertyNameSelector = prop => prop.GetCustomAttribute<JsonPropertyAttribute>()?.PropertyName ?? prop.Name; });
- Previously we were inspecting types for the attributes provided by Newtonsoft.Json such as
- Multi-targeting
netcoreapp3.0
andnetstandard2.0
- Endpoint-aware middleware on
netcoreapp3.0
+app.UseEndpoints(endpoints => { endpoints.MapAsyncApiDocuments(); })
AsyncApiOptions.PropertyNameSelector
was not being used
v0.2.0 - 2020-08-04
- Support System.Guid as a JSON Schema string with "uuid" format.
- Default Schema ID factory handles generics in a human-friendly format
List<Foo>
becomes"listOfFoo"
Dictionary<string, Foo>
becomes"dictionaryOfStringAndFoo"
- etc
v0.1.0 - 2020-07-02
- First stable release!