Class SwaggerApiController

java.lang.Object
com.bytedesk.starter.swagger.SwaggerApiController

@Controller public class SwaggerApiController extends Object
API文档控制器
  • Field Details

    • messageSource

      @Autowired private org.springframework.context.MessageSource messageSource
  • Constructor Details

    • SwaggerApiController

      public SwaggerApiController()
  • Method Details

    • customSwaggerUi

      @GetMapping("/apidoc/custom-docs") public String customSwaggerUi(org.springframework.ui.Model model)
      http://127.0.0.1:9003/apidoc/custom-docs 自定义的Swagger UI入口点
      Parameters:
      model - 视图模型
      Returns:
      模板名称