v3-search-search.yaml 847 B

12345678910111213141516171819202122232425262728293031323334
  1. # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v3-search-search.yaml
  2. get:
  3. summary: '按 id 取单条检索结果'
  4. tags:
  5. - search
  6. operationId: get_api_v3_search_search_
  7. description: |-
  8. 直接从 OpenSearch 按文档 id 取回,不走检索。取不到返回 404。
  9. 实现:`V3\SearchPlusController@show`
  10. security:
  11. - { }
  12. -
  13. bearerAuth: []
  14. parameters:
  15. -
  16. name: search
  17. in: path
  18. required: true
  19. schema:
  20. type: string
  21. description: 'OpenSearch 文档 id'
  22. responses:
  23. 200:
  24. description: 成功
  25. content:
  26. application/json:
  27. schema:
  28. type: object
  29. properties:
  30. data:
  31. type: object
  32. 422:
  33. $ref: '../../main.yaml#/components/responses/ProblemValidation'