I need to use a tool, preferably NJsonSchema for .NET to generate schemas from c# classes. The requirement is to create schemas based on swagger version 2. For example I cannot have oneOf, anyOf, etc, which are new keywords in OAS3 in the schema. Can we specify the swagger/OAS version in the schema generator? How can this be done?
Asked
Active
Viewed 521 times