Files
brapi-java/docs/problem_fix/03-fix-doing/30-get-references.md

67 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# GET /references
> 来源BrAPI v2.1 校验报告03-fix.md
## 概要
| 项 | 值 |
| --- | --- |
| 状态 | warning |
| 方法 | GET |
| URL | `/brapi/v2/references` |
| 完整 URL | `http://localhost:8081/brapi/v2/references` |
| 路径模板 | `GET /references` |
| 模块 | References |
| 响应时间 | 546 ms |
## 校验详情
```
GET /references
References
546 ms
schema mismatch
Json matches schema: schemas/v2.1/References/getReferencesResponse.json (schema mismatch) — Schema: schemas/v2.1/References/getReferencesResponse.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"
]
}
]
```
---
**状态:待修复**