Class SpringFoxConfig

java.lang.Object
edu.ucsb.cs156.happiercows.config.SpringFoxConfig

@Configuration public class SpringFoxConfig extends Object
Configuration for Swagger, a package that provides documentation for REST API endpoints.
See Also:
  • Constructor Details

    • SpringFoxConfig

      public SpringFoxConfig()
  • Method Details

    • api

      @Bean public springfox.documentation.spring.web.plugins.Docket api()
    • security

      @Bean public springfox.documentation.swagger.web.SecurityConfiguration security()