How can I use swagger api functionality to generate response example
I am working on a project where I have to generate json representation of method return type. I have seen swagger api is generating response example and wanted to know, how can I use swagger api functionality to generate response example and use it internally. Any help would be highly appreciated. Thanks