Class SwaggerCustomerController

java.lang.Object
tech.riemann.nif.openapi.SwaggerCustomerController

@RestController public class SwaggerCustomerController extends Object
swagger 自定义接口 提供Swagger UI的自定义配置和主题信息接口
  • Constructor Details

    • SwaggerCustomerController

      public SwaggerCustomerController()
  • Method Details

    • customer

      @GetMapping("/swagger-customer") public SpringdocConfigurationProperties.Customer customer()
      获取自定义配置信息 返回Swagger UI的客户自定义配置对象

      路径显式带 / 前缀(与全局响应包装默认忽略列表 /swagger-customer/** 的 Ant 语义对齐)

      Returns:
      Customer 配置信息对象,包含Swagger UI的自定义配置
    • themes

      @GetMapping("/swagger-themes") public List<org.nutz.lang.util.NutMap> themes()
      获取主题列表 将枚举类型的主题转换为包含主题信息的列表
      Returns:
      List<NutMap> 包含所有主题信息的列表,每个元素包含主题编码、描述和名称