This project has moved and is read-only. For the latest updates, please go here.

JSon schema from entity framework codefirst types

Nov 12, 2013 at 6:41 AM

I working on a project that uses EF codefirs for it's data access. I'm using the fluent api for the majority of my configurations. What I'd now like to do is to convert these objects along with with there schema information (pulled from DbContext) to JSon schema.
What is the best way of doing this, Should I override the generateSchemaMethod? or do I need to go further and override some of the ContractSerializers?
Any help appreciated.
Kind regards