Open parkinsona opened 10 years ago
Hi @parkinsona thanks. Do you want to be able to generate validation from the model?
Being able to generate validation from the model would be great.
Any thoughts on how I could get validation from the model?
Hi @parkinsona, at the moment only the basic meta data is transferred. I will look into putting a feat like this in the future. Thanks!
Wow this is a great idea. I think we could possibly include a .config file parameter to decide if we want the annotations or not.
Does anyone know an easy way to reflect the annotations off the methods server side?
@wolfen351 this might help https://msdn.microsoft.com/en-us/library/71s1zwct(v=vs.110).aspx
Hi,
Thanks for the awesome proxy generator and the client. I have noticed that in the WebApiProxySource.cs that the Model class that is generated from the proxy does not include any of the data annotations from the web api model. Is there a way to get these included?