@@ -0,0 +1,762 @@
+package com.syntactic.configurations;%0A%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport springfox.documentation.swagger2.annotations.EnableSwagger2;%0A%0Aimport springfox.documentation.builders.PathSelectors;%0Aimport springfox.documentation.builders.RequestHandlerSelectors;%0Aimport springfox.documentation.spi.DocumentationType;%0Aimport springfox.documentation.spring.web.plugins.Docket;%0A%0A@Configuration%0A@EnableSwagger2%0Apublic class SwaggerConfig %7B%0A    @Bean%0A    public Docket api() %7B%0A        return new Docket(DocumentationType.SWAGGER_2)%0A                .select()%0A                .apis(RequestHandlerSelectors.any())%0A                .paths(PathSelectors.any())%0A                .build();%0A    %7D%0A%7D%0A

add swager documentation to the rest API