asyncapi / saunter

Saunter is a code-first AsyncAPI documentation generator for dotnet.
https://www.asyncapi.com/
MIT License
195 stars 55 forks source link

NJsonSchema uses unsupported Json Schema. #138

Closed VisualBean closed 1 year ago

VisualBean commented 2 years ago

NJsonSchema, leans against draft 04, which for some properties, is not supported by AsyncAPI.

AsyncAPI specifically leans against draft 07, which refers to the validation rfc 01 (https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01).

For instance, AdditionalProperties, is a map, not a boolean, in this draft.

m-wild commented 1 year ago

Should be fixed by https://github.com/tehmantra/saunter/pull/143

m-wild commented 1 year ago

Fixed in v0.10.0 https://www.nuget.org/packages/Saunter/0.10.0