v2-system-term-lang-word.yaml 1021 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v2-system-term-lang-word.yaml
  2. get:
  3. summary: '获取单个 system-term/{lang}/{word}'
  4. tags:
  5. - system-term
  6. operationId: get_api_v2_system_term_lang_word_
  7. description: 实现:`SystemTermController@show`
  8. parameters:
  9. -
  10. name: lang
  11. in: path
  12. required: true
  13. schema:
  14. type: string
  15. -
  16. name: word
  17. in: path
  18. required: true
  19. schema:
  20. type: string
  21. responses:
  22. 200:
  23. description: '成功。业务失败时 HTTP 仍可能为 200,以 ok 字段为准。'
  24. content:
  25. application/json:
  26. schema:
  27. type: object
  28. properties:
  29. ok:
  30. type: boolean
  31. message:
  32. type: string
  33. data:
  34. type: object
  35. 401:
  36. $ref: '../../main.yaml#/components/responses/Unauthorized'
  37. 422:
  38. $ref: '../../main.yaml#/components/responses/ValidationError'