{"id":23170,"date":"2015-07-17T22:35:19","date_gmt":"2015-07-17T17:05:19","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=23170"},"modified":"2015-07-23T22:32:46","modified_gmt":"2015-07-23T17:02:46","slug":"integrate-swaggerui-with-spring-boot-application","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/","title":{"rendered":"Integrate SwaggerUI with spring boot application"},"content":{"rendered":"<p>Hi Guys,<\/p>\n<p>In this artical we learn how to integrate SwaggerUI with spring boot application.<\/p>\n<p>Basically &#8216;SwaggerUI&#8217; is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code.<\/p>\n<p><strong>Steps to Integrate SwaggerUI<\/strong> :-<\/p>\n<p>1. First of all we need to add swagger dependency in our spring boot application.<\/p>\n<p>if you are using gradle as build tool then you need to add following dependency in your build file<\/p>\n<pre>'com.mangofactory:swagger-springmvc:1.0.2'\r\n<\/pre>\n<p>and for maven project you need to add following dependency in our build xml file:-<\/p>\n<pre>\r\n&lt;dependency&gt;\r\n  &lt;groupId&gt;com.mangofactory&lt;\/groupId&gt;\r\n  &lt;artifactId&gt;swagger-springmvc&lt;\/artifactId&gt;\r\n  &lt;version&gt;1.0.2&amp;lt\/version&gt;\r\n&lt;dependency&gt;\r\n<\/pre>\n<p>2. Then we need to add a java class that enables the swagger into action.<\/p>\n<p>[code]<br \/>\npackage com.intelligrape.com.config;<\/p>\n<p>import com.mangofactory.swagger.configuration.SpringSwaggerConfig;<br \/>\nimport com.mangofactory.swagger.models.dto.ApiInfo;<br \/>\nimport com.mangofactory.swagger.plugin.EnableSwagger;<br \/>\nimport com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin;<br \/>\nimport org.springframework.beans.factory.annotation.Autowired;<br \/>\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;<br \/>\nimport org.springframework.context.annotation.Bean;<br \/>\nimport org.springframework.context.annotation.Configuration;<\/p>\n<p>@Configuration<br \/>\n@EnableSwagger<br \/>\n@EnableAutoConfiguration<br \/>\npublic class SwaggerConfig {<\/p>\n<p>    private SpringSwaggerConfig springSwaggerConfig;<\/p>\n<p>    @Autowired<br \/>\n    public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {<br \/>\n        this.springSwaggerConfig = springSwaggerConfig;<br \/>\n    }<\/p>\n<p>    @Bean<br \/>\n    public SwaggerSpringMvcPlugin customImplementation() {<br \/>\n        return new SwaggerSpringMvcPlugin(this.springSwaggerConfig)<br \/>\n                .apiInfo(new ApiInfo(<br \/>\n                        &quot;SWAGGER DEMO WITH SPRING BOOT REST API&quot;,<br \/>\n                        &quot;This API is for swagger demo person analysis.&quot;,<br \/>\n                        null,<br \/>\n                        null,<br \/>\n                        null,<br \/>\n                        null<br \/>\n                ))<br \/>\n                        \/\/Here we disable auto generating of responses for REST-endpoints<br \/>\n                .useDefaultResponseMessages(false)<br \/>\n                        \/\/Here we specify URI patterns which will be included in Swagger docs. Use regex for this purpose.<br \/>\n                .includePatterns(&quot;\/swagger-demo\/.*&quot;);<br \/>\n    }<\/p>\n<p>}<br \/>\n[\/code]<\/p>\n<p><strong>Note<\/strong>: you have to add swagger configuration class in the application classpath so that it will be scan by compiler at run time.<\/p>\n<p>3. After the configuration file is done we can jump on to Controllers.<\/p>\n<p>[code]<br \/>\npackage com.intelligrape.com.person<\/p>\n<p>import com.wordnik.swagger.annotations.Api<br \/>\nimport com.wordnik.swagger.annotations.ApiOperation<br \/>\nimport com.wordnik.swagger.annotations.ApiResponse<br \/>\nimport com.wordnik.swagger.annotations.ApiResponses<br \/>\nimport org.springframework.http.HttpStatus<br \/>\nimport org.springframework.http.MediaType<br \/>\nimport org.springframework.http.ResponseEntity<br \/>\nimport org.springframework.web.bind.annotation.*<\/p>\n<p>\/**<br \/>\n * Created by Ashu on 2\/7\/15.<br \/>\n *\/<\/p>\n<p>@Api(basePath = &quot;swagger-demo\/person&quot;, value = &quot;Person&quot;, description = &quot;Operations with person&quot;, produces = &quot;application\/json&quot;)<br \/>\n@RestController<br \/>\n@RequestMapping(value = &quot;swagger-demo\/person&quot;, produces = MediaType.APPLICATION_JSON_VALUE)<br \/>\nclass PersonController {<\/p>\n<p>    @RequestMapping(method = RequestMethod.POST, value = &quot;\/create&quot;)<br \/>\n    @ResponseStatus(HttpStatus.NOT_FOUND)<br \/>\n    @ApiOperation(value = &quot;Get Person&quot;, notes = &quot;Fetch List of Person&quot;)<br \/>\n    @ApiResponses(value = [<br \/>\n            @ApiResponse(code = 400, message = &quot;Fields are with validation errors&quot;),<br \/>\n            @ApiResponse(code = 201, message = &quot;List&quot;),<br \/>\n            @ApiResponse(code = 500, message = &quot;Error occurred while fetching Person&quot;)<br \/>\n    ])<br \/>\n    ResponseEntity create(@RequestBody PersonCO co) {<br \/>\n        return new ResponseEntity(new Person(firstName: co.firstName, lastName: co.lastName, age: co.age), HttpStatus.OK)<br \/>\n    }<br \/>\n}<br \/>\n[\/code]<\/p>\n<p>4. Lastly we need to add swagger UI plug. you can Download swagger ui from its <a href=\"https:\/\/github.com\/swagger-api\/swagger-ui\/\">official git repoAfter<\/a> that extract it and copy dist directory and paste it in folder \/public or \/static or \/resources located in src\/java\/resources. Now start the application and navigate to<\/p>\n<p>http:\/\/localhost:8080\/swagger\/index.html<\/p>\n<p>You have in screen something like this :-<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/07\/rsz_swagger.png\" alt=\"rsz_swagger\" width=\"623\" height=\"235\" class=\"alignnone size-full wp-image-23178\" \/><\/p>\n<p>Hope this helps \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically &#8216;SwaggerUI&#8217; is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :- [&hellip;]<\/p>\n","protected":false},"author":92,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":18,"footnotes":""},"categories":[1],"tags":[1202,1992,1990,1991],"class_list":["post-23170","post","type-post","status-publish","format-standard","hentry","category-technology","tag-spring-boot","tag-spring-boot-with-swagger","tag-swagger","tag-swaggre-ui"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically &#039;SwaggerUI&#039; is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Ashu Kohli\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Integrate SwaggerUI with spring boot application | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically &#039;SwaggerUI&#039; is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"article:tag\" content=\"technology\" \/>\n\t\t<meta property=\"article:tag\" content=\"spring boot\" \/>\n\t\t<meta property=\"article:tag\" content=\"spring boot with swagger\" \/>\n\t\t<meta property=\"article:tag\" content=\"swagger\" \/>\n\t\t<meta property=\"article:tag\" content=\"swaggre ui\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-07-17T17:05:19+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-07-23T17:02:46+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Integrate SwaggerUI with spring boot application | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically &#039;SwaggerUI&#039; is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#article\",\"name\":\"Integrate SwaggerUI with spring boot application | TO THE NEW Blog\",\"headline\":\"Integrate SwaggerUI with spring boot application\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ashu\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2015\\\/07\\\/rsz_swagger.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#articleImage\"},\"datePublished\":\"2015-07-17T22:35:19+05:30\",\"dateModified\":\"2015-07-23T22:32:46+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#webpage\"},\"articleSection\":\"Technology, spring boot, spring boot with swagger, swagger, swaggre UI\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#listItem\",\"name\":\"Integrate SwaggerUI with spring boot application\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#listItem\",\"position\":3,\"name\":\"Integrate SwaggerUI with spring boot application\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ashu\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ashu\\\/\",\"name\":\"Ashu Kohli\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f96e57c50d32a3114a65e89ea2c9319e9f84070eabaf586a66d8703d5d483ee?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Ashu Kohli\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/\",\"name\":\"Integrate SwaggerUI with spring boot application | TO THE NEW Blog\",\"description\":\"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically 'SwaggerUI' is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/integrate-swaggerui-with-spring-boot-application\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ashu\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ashu\\\/#author\"},\"datePublished\":\"2015-07-17T22:35:19+05:30\",\"dateModified\":\"2015-07-23T22:32:46+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Integrate SwaggerUI with spring boot application | TO THE NEW Blog","description":"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically 'SwaggerUI' is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-","canonical_url":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#article","name":"Integrate SwaggerUI with spring boot application | TO THE NEW Blog","headline":"Integrate SwaggerUI with spring boot application","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/ashu\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2015\/07\/rsz_swagger.png","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#articleImage"},"datePublished":"2015-07-17T22:35:19+05:30","dateModified":"2015-07-23T22:32:46+05:30","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#webpage"},"articleSection":"Technology, spring boot, spring boot with swagger, swagger, swaggre UI"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/tothenewco.pro\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#listItem","name":"Integrate SwaggerUI with spring boot application"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#listItem","position":3,"name":"Integrate SwaggerUI with spring boot application","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/ashu\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/ashu\/","name":"Ashu Kohli","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/6f96e57c50d32a3114a65e89ea2c9319e9f84070eabaf586a66d8703d5d483ee?s=96&d=mm&r=g","width":96,"height":96,"caption":"Ashu Kohli"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/","name":"Integrate SwaggerUI with spring boot application | TO THE NEW Blog","description":"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically 'SwaggerUI' is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/ashu\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/ashu\/#author"},"datePublished":"2015-07-17T22:35:19+05:30","dateModified":"2015-07-23T22:32:46+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"article","og:title":"Integrate SwaggerUI with spring boot application | TO THE NEW Blog","og:description":"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically 'SwaggerUI' is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-","og:url":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","article:tag":["technology","spring boot","spring boot with swagger","swagger","swaggre ui"],"article:published_time":"2015-07-17T17:05:19+00:00","article:modified_time":"2015-07-23T17:02:46+00:00","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Integrate SwaggerUI with spring boot application | TO THE NEW Blog","twitter:description":"Hi Guys, In this artical we learn how to integrate SwaggerUI with spring boot application. Basically 'SwaggerUI' is used to serves documentation of an REST API and another most powerfull feature is, it provides a way to enable developer to play around the REST API without having write any code. Steps to Integrate SwaggerUI :-","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"23170","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 17:17:13","updated":"2024-02-29 09:28:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tIntegrate SwaggerUI with spring boot application\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Technology","link":"https:\/\/tothenewco.pro\/blog\/category\/technology\/"},{"label":"Integrate SwaggerUI with spring boot application","link":"https:\/\/tothenewco.pro\/blog\/integrate-swaggerui-with-spring-boot-application\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/23170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/92"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=23170"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/23170\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=23170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=23170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=23170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}