I assume you’re using Swashbuckle. For questions on that project, please file a 
ticket directly on the repo.

 

 

 

From: <[email protected]> on behalf of Andrew Thomas 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, 24 July 2017 at 10:22
To: Swagger <[email protected]>
Subject: How can I deserialize csharp to ObservableCollection?

 

I want to create a C# client library that uses ObservableCollection instead of 
List.

I can see that the csharp client generator has an option "useCollection" that 
replaces List with Collection in the generated object definition, but how do I 
tell it to replace List with ObservableCollection?  Since the deserializer uses 
reflection, I don't see an opportunity for me to supply an instance of 
ObservableCollection for Collection properties.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to