Files
brapi-java/docs/problem_fix/03-fix-doing/66-post-search-references.md

1.6 KiB
Raw Blame History

POST /search/references

来源BrAPI v2.1 校验报告03-fix.md

概要

状态 warning
方法 POST
URL /brapi/v2/search/references
完整 URL http://localhost:8081/brapi/v2/search/references
路径模板 POST /search/references
模块 References
响应时间 605 ms

校验详情

POST /search/references
References
605 ms
schema mismatch
Json matches schema: schemas/v2.1/References/postSearchReferencesResponse.json (schema mismatch) — Schema: schemas/v2.1/References/postSearchReferencesResponse.json
Response structure doesn't match schema.
[
  {
    "level": "error",
    "schema": {
      "loadingURI": "#",
      "pointer": "/properties/result/properties/data/items/properties/additionalInfo/additionalProperties"
    },
    "instance": {
      "pointer": "/result/data/0/additionalInfo/dummyData"
    },
    "domain": "validation",
    "keyword": "type",
    "message": "instance type (boolean) does not match any allowed primitive type (allowed: [\"string\"])",
    "found": "boolean",
    "expected": [
      "string"
    ]
  },
  {
    "level": "error",
    "schema": {
      "loadingURI": "#",
      "pointer": "/properties/result/properties/data/items/properties/additionalInfo/additionalProperties"
    },
    "instance": {
      "pointer": "/result/data/1/additionalInfo/dummyData"
    },
    "domain": "validation",
    "keyword": "type",
    "message": "instance type (boolean) does not match any allowed primitive type (allowed: [\"string\"])",
    "found": "boolean",
    "expected": [
      "string"
    ]
  }
]

状态:待修复