Open drwatson85 opened 3 years ago
Currently this is not supported out-of-the-box, maybe you could overwrite the template and add it manually.. but i think it makes sense to add this by default. As these are on DTO properties, we need to add this in the NJsonSchema project: https://github.com/RicoSuter/NJsonSchema
E.g. here somewhere: https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema.CodeGeneration.CSharp/Templates/Class.liquid#L40
Hey,
i'm currently using NSwag to generate a .Net Core 3.1 Client from a swagger.json. The json includes example values, like:
Is there a way to include these examples in the generated classes in the form of a XML doc comment
<example>
?