We've shipped a new version of Corvus #jsonSchema https://github.com/corvus-dotnet/Corvus.JsonSchema
This has a number of updates, the most significant of which is stable ordering of property names in e.g. Create() methods.
While this is not technically a breaking change, because the ordering was unstable before, it is more-or-less guaranteed to break your code if you relied on property ordering rather than naming.
Recommendation: explicitly specify your parameter names on calls to Create() before you regenerate.
https://json-everything.net/json-schema has now been updated to include the new C# code generation functionality provided by JsonSchema.Net.CodeGeneration!
Try it out!
Announcing the first release of JsonSchema.Net.CodeGeneration! (Basic) C# code generation from #jsonschema!
https://www.nuget.org/packages/JsonSchema.Net.CodeGeneration
Read the docs: https://docs.json-everything.net/schema/schema-codegen/
This will be supporting further work on Graeae, my new OpenAPI project: https://github.com/gregsdennis/Graeae
Continuing on a theme for me recently, here's a bit of the theory of statically analyzing #jsonschema.
And it's out! JsonSchema.Net v5 is ready!
https://www.nuget.org/packages/JsonSchema.Net
The vocabulary extension libraries are also updated:
- JsonSchema.Net.Data
- JsonSchema.Net.OpenApi
- JsonSchema.Net.UniqueKeys
Get yours now!
Processing #jsonschema in parallel in .Net (trying to anyway)
https://blog.json-everything.net/posts/parallel-schema-processing/
And here's the 3rd @endjin #oss announcement for the day. We have shipped v1.0.2 of our #JsonSchema #dotnet code generation tool and extended JSON types library. Super fast, low-allocation #JSON serialization/deserialization and schema validation over System.Text.Json for dotnet7.0. With bonus JsonPatch support.
Project here:
https://github.com/corvus-dotnet/Corvus.JsonSchema
Packages here:
https://www.nuget.org/packages/Corvus.Json.JsonSchema.TypeGeneratorTool
#oss #JsonSchema #dotnet #JSON