bootstrap.yml 566 B

123456789101112131415161718192021222324
  1. server:
  2. port: 11000
  3. spring:
  4. application:
  5. name: sckw-ng-ai
  6. profiles:
  7. active: @profiles.active@
  8. main:
  9. allow-bean-definition-overriding: true
  10. allow-circular-references: true
  11. springdoc:
  12. # 开启 Swagger UI
  13. swagger-ui:
  14. enabled: true
  15. path: /swagger-ui.html # 访问地址
  16. # API 文档路径
  17. api-docs:
  18. enabled: true
  19. path: /v3/api-docs
  20. # 包扫描路径 (可选,通常自动扫描 @RestController)
  21. packages-to-scan: com.sckw.ai.biz
  22. # WebFlux 特有:如果使用了 ContextPath,需要配置
  23. # context-path: /api