Files
brapi-java/docs/problem_fix/03-fix-doing/47-get-variables.md

101 lines
2.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 /variables
> 来源BrAPI v2.1 校验报告03-fix.md
## 概要
| 项 | 值 |
| --- | --- |
| 状态 | warning |
| 方法 | GET |
| URL | `/brapi/v2/variables` |
| 完整 URL | `http://localhost:8081/brapi/v2/variables` |
| 路径模板 | `GET /variables` |
| 模块 | Observation Variables |
| 响应时间 | 15449 ms |
## 校验详情
```
GET /variables
Observation Variables
15449 ms
schema mismatch
Json matches schema: schemas/v2.1/ObservationVariables/getVariablesResponse.json (schema mismatch) — Schema: schemas/v2.1/ObservationVariables/getVariablesResponse.json
Response structure doesn't match schema.
[
{
"level": "error",
"schema": {
"loadingURI": "#",
"pointer": "/properties/result/properties/data/items/properties/additionalInfo/additionalProperties"
},
"instance": {
"pointer": "/result/data/6/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/12/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/16/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/21/additionalInfo/dummyData"
},
"domain": "validation",
"keyword": "type",
"message": "instance type (boolean) does not match any allowed primitive type (allowed: [\"string\"])",
"found": "boolean",
"expected": [
"string"
]
}
]
```
---
**状态:待修复**