I am able to generate an XSDs for MyDataContract.dll assembly using xsd.exe
xsd.exe MyDataContract.dll
This will generate an schema0.xsd with definitions for all the types in the assembly.
Is there any equivalent for JSON?
I've looked at Newtonsoft Json.NET Schema but this seems to only provide an API, not an executable. Additionally, it seems to work at the 'type' level, without being able to generate a JSON schema for all types in an assembly.
I'd like to generate the JSON schema as part of my CI build.
I suppose I could build a console application using Json.Net Schema with reflection, etc. to achieve this, but it surprising no such program already exists.