Forum Discussion

dnordahl's avatar
dnordahl
New Contributor
6 years ago

Prepopulate REST Method Parameter Values

I updated my swashbuckle config in a rest service solution to include some example request object values.  I was hoping when I imported the swagger.json from my service after doing so, that the request values for those methods would be prefilled with those example values, but I don't see that occurring.  Is there way to get this to work?  

 

Besides having examples prepopulated in the project, my other goal is to be able to generate a mock service from a swagger.json import which returns example content as well.  

 

Are either of these things possible?  

No RepliesBe the first to reply