Class SwaggerConfig


  • @Configuration
    @EnableSwagger2
    public class SwaggerConfig
    extends java.lang.Object
    Swagger configuration class.
    • Constructor Summary

      Constructors 
      Constructor Description
      SwaggerConfig()  
    • Method Summary

      Modifier and Type Method Description
      springfox.documentation.spring.web.plugins.Docket api()
      Method to configure swagger.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SwaggerConfig

        public SwaggerConfig()
    • Method Detail

      • api

        @Bean
        public springfox.documentation.spring.web.plugins.Docket api()
        Method to configure swagger.
        Returns:
        Returns a Docket.