Click here to Skip to main content
15,881,882 members
Home / Discussions / Web Development
   

Web Development

 
QuestionBlockchain, how to start? Pin
Member 1359593527-Dec-17 1:06
Member 1359593527-Dec-17 1:06 
AnswerRe: Blockchain, how to start? Pin
Afzaal Ahmad Zeeshan27-Dec-17 8:24
professionalAfzaal Ahmad Zeeshan27-Dec-17 8:24 
QuestionCaptcha and MVC Pin
#realJSOP26-Dec-17 6:22
mve#realJSOP26-Dec-17 6:22 
AnswerRe: Captcha and MVC Pin
Nathan Minier27-Dec-17 6:49
professionalNathan Minier27-Dec-17 6:49 
QuestionOverriding model in Magento 2 Pin
suthan alley21-Dec-17 17:24
suthan alley21-Dec-17 17:24 
QuestionMessage Removed Pin
20-Dec-17 23:16
Member 1352233120-Dec-17 23:16 
AnswerMessage Removed Pin
31-Dec-17 19:57
professionalWordPress Experts31-Dec-17 19:57 
QuestionDisplay Derived Objects In Swagger Example Values Pin
Liagapi15-Dec-17 19:21
Liagapi15-Dec-17 19:21 
Sorry if this is not the correct forum for discussions on Swagger but I don't know which one is appropriate for it.

I have a rest web api created in C# which returns a JSON response containing base objects and their derived objects. In Swagger response body I am able to see both the base objects and derived objects after applying the filters as explained in the post How do I include subclasses in Swagger API documentation using Swashbuckle? - Stack Overflow[^]

However, I only see the base objects in the Example Values and not their derived objects. So suppose my JSON contains objects called Dog and Cat which inherit from the Animal object, then only the Animal object will show up in the Example Value but not the Dog or Cat object.

Please show me how to modify Swagger Example Value to display base objects and their derived objects. Thanks.
SuggestionRe: Display Derived Objects In Swagger Example Values Pin
Richard MacCutchan15-Dec-17 22:43
mveRichard MacCutchan15-Dec-17 22:43 
AnswerRe: Display Derived Objects In Swagger Example Values Pin
VenkatReddy.RC3-Jan-18 23:01
professionalVenkatReddy.RC3-Jan-18 23:01 
Questionan unusual problem of building multiple sites towards a longer term goal Pin
symfonycoda12-Dec-17 8:48
symfonycoda12-Dec-17 8:48 
AnswerRe: an unusual problem of building multiple sites towards a longer term goal Pin
W Balboos, GHB29-Dec-17 6:02
W Balboos, GHB29-Dec-17 6:02 
QuestionHow can i disable add to cart button in Magneto 2? Pin
suthan alley10-Dec-17 19:41
suthan alley10-Dec-17 19:41 
AnswerRe: How can i disable add to cart button in Magneto 2? Pin
Afzaal Ahmad Zeeshan14-Dec-17 4:07
professionalAfzaal Ahmad Zeeshan14-Dec-17 4:07 
AnswerRe: How can i disable add to cart button in Magneto 2? Pin
Member 1358395818-Dec-17 20:43
Member 1358395818-Dec-17 20:43 
QuestionBootstrap Carousel not carouselling Pin
#realJSOP10-Dec-17 3:56
mve#realJSOP10-Dec-17 3:56 
AnswerRe: Bootstrap Carousel not carouselling Pin
#realJSOP10-Dec-17 5:38
mve#realJSOP10-Dec-17 5:38 
SuggestionRe: Bootstrap Carousel not carouselling Pin
Richard Deeming11-Dec-17 2:12
mveRichard Deeming11-Dec-17 2:12 
GeneralRe: Bootstrap Carousel not carouselling Pin
#realJSOP11-Dec-17 3:21
mve#realJSOP11-Dec-17 3:21 
QuestionHow to override block in Magento 2 ? Pin
suthan alley7-Dec-17 22:44
suthan alley7-Dec-17 22:44 
Questiongoogle map API biostall library issue on my project in codeigniter Pin
Member 135521401-Dec-17 5:13
Member 135521401-Dec-17 5:13 
QuestionMVCCodeRouting Pin
#realJSOP30-Nov-17 6:39
mve#realJSOP30-Nov-17 6:39 
AnswerRe: MVCCodeRouting Pin
Nathan Minier1-Dec-17 1:43
professionalNathan Minier1-Dec-17 1:43 
GeneralRe: MVCCodeRouting Pin
#realJSOP1-Dec-17 8:13
mve#realJSOP1-Dec-17 8:13 
GeneralRe: MVCCodeRouting Pin
Nathan Minier4-Dec-17 1:15
professionalNathan Minier4-Dec-17 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.