access swagger document for particular api
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2020
05:13 AM
02-29-2020
05:13 AM
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
Labels:
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2020
10:25 AM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020
11:31 PM
03-05-2020
11:31 PM
Could someone help me, please?
