Package edu.ucsb.cs156.example.config
Class SpringFoxConfig
java.lang.Object
edu.ucsb.cs156.example.config.SpringFoxConfig
Configuration for Swagger, a package that provides documentation
for REST API endpoints.
-
Constructor Summary
-
Method Summary
-
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()
-