RicoSuter / NJsonSchema

JSON Schema reader, generator and validator for .NET
http://NJsonSchema.org
MIT License
1.4k stars 535 forks source link

Specify custom DTO base class #863

Open Euler-KB opened 5 years ago

Euler-KB commented 5 years ago

Is there any support for using one base class for all DTO models?

Euler-KB commented 5 years ago

I want to have all generated DTO have a common base class

RicoSuter commented 5 years ago

I think you can do this already with a custom class template, but a setting for that would be nice...