101 lines
2.6 KiB
Markdown
101 lines
2.6 KiB
Markdown
# 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"
|
||
]
|
||
}
|
||
]
|
||
```
|
||
|
||
---
|
||
|
||
**状态:待修复**
|