{"id":6079,"date":"2020-07-09T17:49:52","date_gmt":"2020-07-09T12:19:52","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=6079"},"modified":"2023-01-20T18:55:18","modified_gmt":"2023-01-20T13:25:18","slug":"how-to-configure-swagger-in-spring-boot-application","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/","title":{"rendered":"How to configure swagger in Spring Boot Application?"},"content":{"rendered":"\n<p>Swagger is a tool which is used to develop APIs, interact with APIs, document APIs and test APIs. The main application of swagger is to document and test the APIs.&nbsp;<\/p>\n\n\n\n<p>Now the question is why&nbsp; we need to document APIs?<\/p>\n\n\n\n<p>So when you develop an API, you need to provide some information(end-points, response codes, request-response structure, error conditions to handle etc) about the API to the consumers who are going to use that API.&nbsp; The easiest way to do this is to prepare a document and&nbsp; write all the details of the API and provide that document to the consumers. To avoid manual&nbsp; APIs documentation we can use swagger which creates APIs documents automatically.<\/p>\n\n\n\n<p>There are four steps to document your spring boot application.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Getting the Swagger 2 Spring dependency<\/li><li>&nbsp;Enabling Swagger in your code.&nbsp;&nbsp;<\/li><li>&nbsp;Configuring Swagger (UI).<\/li><li>&nbsp;Customize swagger by using Docket<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Getting the Swagger 2 Spring dependency:<\/strong><\/li><\/ol>\n\n\n\n<p>Following dependency can be used for swagger configuration. Add this dependency&nbsp; in your pom.xml file.<\/p>\n\n\n\n<p><strong><em>&lt;!&#8211; https:\/\/mvnrepository.com\/artifact\/io.springfox\/springfox-swagger2 &#8211;&gt;<\/em><\/strong><\/p>\n\n\n\n<p><strong>&lt;<\/strong><strong>dependency<\/strong><strong>&gt;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;<\/strong><strong>&lt;<\/strong><strong>groupId<\/strong><strong>&gt;<\/strong><strong>io.springfox<\/strong><strong>&lt;\/<\/strong><strong>groupId<\/strong><strong>&gt;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;<\/strong><strong>&lt;<\/strong><strong>artifactId<\/strong><strong>&gt;<\/strong><strong>springfox-swagger2<\/strong><strong>&lt;\/<\/strong><strong>artifactId<\/strong><strong>&gt;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;<\/strong><strong>&lt;<\/strong><strong>version<\/strong><strong>&gt;<\/strong><strong>2.9.2<\/strong><strong>&lt;\/<\/strong><strong>version<\/strong><strong>&gt;<\/strong><\/p>\n\n\n\n<p><strong>&lt;\/<\/strong><strong>dependency<\/strong><strong>&gt;<\/strong><\/p>\n\n\n\n<p>For latest version use following link:<\/p>\n\n\n\n<p><a href=\"https:\/\/mvnrepository.com\/artifact\/io.springfox\/springfox-swagger2\/2.9.2\">https:\/\/mvnrepository.com\/artifact\/io.springfox\/springfox-swagger2\/2.9.2<\/a><\/p>\n\n\n\n<p><strong>2. Enabling Swagger in your code<\/strong><\/p>\n\n\n\n<p>To enable swagger in your code you need to use annotation @EnableSwagger2<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">@SpringBootApplication\n@EnableSwagger2\npublic class SwaggerApplication extends SpringBootServletInitializer {\n\n  public static void main(String[] args) {\n     new SpringApplicationBuilder(SwaggerApplication.class)\n           .sources(SwaggerApplication.class)\n           .run(args);\n  }\n\n  @Override\n  protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {\n     return application\n           .sources(SwaggerApplication.class);\n  }\n\n}<\/pre>\n\n\n\n<p>Now run your project and hit the following url in your postman and you will get your API documentation in JSON format.<\/p>\n\n\n\n<p><a href=\"http:\/\/localhost:8080\/v2\/api-docs\">http:\/\/localhost:8080\/v2\/api-docs<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/glF8MGaCDbAw6KHmi6W12ktvUfMsZtafZRLTer6JqJB3MvVys3CM36OwAnEQ1Tl9_1h8o-at6hXNwTw-jFsNJ1mERS7UwdcxskbfkxRLlKyRXaKV6VELCM9mn9WZvgkUBOSoy1MG\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>3. Configuring Swagger (UI).<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;<\/strong>&nbsp;Use following dependency in your pom.xml file for configuring swagger&nbsp; &nbsp; UI.&nbsp;<\/p>\n\n\n\n<p><strong><em>&lt;!&#8211; https:\/\/mvnrepository.com\/artifact\/io.springfox\/springfox-swagger-ui &#8211;&gt;<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>&lt;dependency&gt; &nbsp;<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>&nbsp;&lt;groupId&gt;io.springfox&lt;\/groupId&gt;<\/em><\/strong><\/p>\n\n\n\n<p> &nbsp;&nbsp;<strong><em>&lt;artifactId&gt;springfox-swagger-ui&lt;\/artifactId&gt;<\/em><\/strong><\/p>\n\n\n\n<p> <strong><em>&nbsp;&nbsp;&lt;version&gt;2.9.2&lt;\/version&gt;<\/em><\/strong><\/p>\n\n\n\n<p><strong><em> &lt;\/dependency&gt;<\/em><\/strong><\/p>\n\n\n\n<p>For latest version use following link:<\/p>\n\n\n\n<p><a href=\"https:\/\/mvnrepository.com\/artifact\/io.springfox\/springfox-swagger-ui\/2.0.2\">https:\/\/mvnrepository.com\/artifact\/io.springfox\/springfox-swagger-ui\/2.0.2<\/a><\/p>\n\n\n\n<p>now run your project and hit the following url in your browser.<\/p>\n\n\n\n<p><a href=\"http:\/\/localhost:8080\/swagger-ui.html#\/\">http:\/\/localhost:8080\/swagger-ui.html#\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/AqfYY6DbWP-tJTqZlSVFJJbRWXCeNIgAEmVdKmbl6uivDJlgKj2BaT_7Nl4NzlgKw0BpLxbzWRSUTavySbr0AjjwWiffTVLuNOfBRfBRsf2bzRbee9hVGxw3zDjNhtWNMNzh35XZ\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>4. Customize swagger by using Docket<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;<\/strong>We can customize swagger by&nbsp; adding&nbsp; detail as annotations to API using Docket Object. Add the following configuration class in your base package and customize your swagger configuration according to the requirements.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@Configuration\n@EnableSwagger2\npublic class Swagger2Config {\n\n   @Bean\n      public Docket api() {\n          return new Docket(DocumentationType.SWAGGER_2).select()\n              .apis(RequestHandlerSelectors\n                  .basePackage(\"com.api\"))   \/\/ base package of your project\n              .paths(PathSelectors.regex(\"\/.*\")) \/\/ base path of your project\n              .build().apiInfo(apiEndPointsInfo());\n      }\n\/\/ by following method you can add API details in your swagger\n      private ApiInfo apiEndPointsInfo() {\n          return new ApiInfoBuilder().title(\" REST API\")\n              .description( REST API Docs\")\n              .license(\"Apache 2.0\")\n              .licenseUrl(\"http:\/\/www.apache.org\/licenses\/LICENSE-2.0.html\")\n              .version(\"1.0.0\")\n              .build();\n      }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Swagger is a tool which is used to develop APIs, interact with APIs, document APIs and test APIs. The main application of swagger is to document and test the APIs.&nbsp; Now the question is why&nbsp; we need to document APIs? So when you develop an API, you need to provide some information(end-points, response codes, request-response [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6081,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[256,71,8],"tags":[],"class_list":["post-6079","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-application","category-mobile","category-mobile-architecture-and-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to configure swagger in Spring Boot Application? - InnovationM - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure swagger in Spring Boot Application? - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"Swagger is a tool which is used to develop APIs, interact with APIs, document APIs and test APIs. The main application of swagger is to document and test the APIs.&nbsp; Now the question is why&nbsp; we need to document APIs? So when you develop an API, you need to provide some information(end-points, response codes, request-response [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-09T12:19:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:25:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2020\/07\/Swagger.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1141\" \/>\n\t<meta property=\"og:image:height\" content=\"634\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"How to configure swagger in Spring Boot Application?\",\"datePublished\":\"2020-07-09T12:19:52+00:00\",\"dateModified\":\"2023-01-20T13:25:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/\"},\"wordCount\":419,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Swagger.png\",\"articleSection\":[\"Java Application\",\"Mobile\",\"Mobile Architecture and Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/\",\"name\":\"How to configure swagger in Spring Boot Application? - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Swagger.png\",\"datePublished\":\"2020-07-09T12:19:52+00:00\",\"dateModified\":\"2023-01-20T13:25:18+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Swagger.png\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Swagger.png\",\"width\":1141,\"height\":634},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/how-to-configure-swagger-in-spring-boot-application\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure swagger in Spring Boot Application?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure swagger in Spring Boot Application? - InnovationM - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/","og_locale":"en_US","og_type":"article","og_title":"How to configure swagger in Spring Boot Application? - InnovationM - Blog","og_description":"Swagger is a tool which is used to develop APIs, interact with APIs, document APIs and test APIs. The main application of swagger is to document and test the APIs.&nbsp; Now the question is why&nbsp; we need to document APIs? So when you develop an API, you need to provide some information(end-points, response codes, request-response [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/","og_site_name":"InnovationM - Blog","article_published_time":"2020-07-09T12:19:52+00:00","article_modified_time":"2023-01-20T13:25:18+00:00","og_image":[{"width":1141,"height":634,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2020\/07\/Swagger.png","type":"image\/png"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"How to configure swagger in Spring Boot Application?","datePublished":"2020-07-09T12:19:52+00:00","dateModified":"2023-01-20T13:25:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/"},"wordCount":419,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2020\/07\/Swagger.png","articleSection":["Java Application","Mobile","Mobile Architecture and Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/","url":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/","name":"How to configure swagger in Spring Boot Application? - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2020\/07\/Swagger.png","datePublished":"2020-07-09T12:19:52+00:00","dateModified":"2023-01-20T13:25:18+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2020\/07\/Swagger.png","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2020\/07\/Swagger.png","width":1141,"height":634},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/how-to-configure-swagger-in-spring-boot-application\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure swagger in Spring Boot Application?"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=6079"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6079\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/6081"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=6079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=6079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=6079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}