ContributionsMost RecentMost LikesSolutionsRe: access swagger document for particular api Could someone help me, please? Re: access swagger document for particular api HiHKosova could you please help? access swagger document for particular api Hi team, Is it possible to access the documents generated by swagger inside the spring boot app, eg; I have four APIs in an application GET /api/read-api PATCH /api/update-api DELETE /api/delete-api POST /api/create-api and I have swagger configured in the application. I have another class in the same project where I wanted to access the document for a particular input URL public class SwaggerDocument{ Map<String, Document>getDocument(String url){ //I wanted to search generated document for input url } } Any help would be highly appreciated. Thank you Re: How can I use swagger api functionality to generate response example HeyHKosova , could you please help Re: How can I use swagger api functionality to generate response example HeyHKosova swagger-inflector, only works when the schema is defined, Here is more details about my query. I have an API "/hello" defined below. and Person class like below. I wanted to generate a response example like below. Thank you. Re: How can I use swagger api functionality to generate response example HiHKosova Thank you for your response. I wanted to generate anexample of JSON payload based on a method return type, same as swagger generate the response example. Thank you How can I use swagger api functionality to generate response exampleI 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