configuration.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. UiDictionaries:
  2. get:
  3. operationId: getUiDictionaries
  4. summary: 查询统一UI展示字典
  5. description: 返回启动时加载的只读展示标签;不提供配置路径或写操作。
  6. parameters:
  7. - $ref: '../components/parameters.yaml#/XRequestId'
  8. responses:
  9. '200':
  10. description: 完整UI展示字典
  11. headers:
  12. X-Request-Id:
  13. description: 与响应体requestId相同
  14. schema:
  15. type: string
  16. format: uuid
  17. content:
  18. application/json:
  19. schema:
  20. $ref: '../components/schemas.yaml#/UiDictionariesResponse'
  21. '401':
  22. $ref: '../components/responses.yaml#/AuthenticationError'
  23. '500':
  24. $ref: '../components/responses.yaml#/InternalError'
  25. RuntimeConfig:
  26. get:
  27. operationId: getRuntimeConfig
  28. summary: 查询运行时只读配置
  29. description: 暴露后端.env决定的非敏感开关(如PDF预览引擎);允许浏览器缓存60秒。
  30. security: []
  31. parameters:
  32. - $ref: '../components/parameters.yaml#/XRequestId'
  33. responses:
  34. '200':
  35. description: 运行时配置
  36. content:
  37. application/json:
  38. schema:
  39. $ref: '../components/schemas.yaml#/RuntimeConfigResponse'
  40. '500':
  41. $ref: '../components/responses.yaml#/InternalError'