fix:提交到整个项目能跑通,有几个接口不标准
This commit is contained in:
100
docs/problem_fix/03-fix-doing/61-post-search-observations.md
Normal file
100
docs/problem_fix/03-fix-doing/61-post-search-observations.md
Normal file
@@ -0,0 +1,100 @@
|
||||
# POST /search/observations
|
||||
|
||||
> 来源:BrAPI v2.1 校验报告(03-fix.md)
|
||||
|
||||
## 概要
|
||||
|
||||
| 项 | 值 |
|
||||
| --- | --- |
|
||||
| 状态 | warning |
|
||||
| 方法 | POST |
|
||||
| URL | `/brapi/v2/search/observations` |
|
||||
| 完整 URL | `http://localhost:8081/brapi/v2/search/observations` |
|
||||
| 路径模板 | `POST /search/observations` |
|
||||
| 模块 | Observations |
|
||||
| 响应时间 | 6549 ms |
|
||||
|
||||
## 校验详情
|
||||
|
||||
```
|
||||
POST /search/observations
|
||||
Observations
|
||||
6549 ms
|
||||
schema mismatch
|
||||
Json matches schema: schemas/v2.1/Observations/postSearchObservationsResponse.json (schema mismatch) — Schema: schemas/v2.1/Observations/postSearchObservationsResponse.json
|
||||
Response structure doesn't match schema.
|
||||
[
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/additionalInfo/additionalProperties"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/20/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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/additionalInfo/additionalProperties"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/22/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/23/additionalInfo/dummyData"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (boolean) does not match any allowed primitive type (allowed: [\"string\"])",
|
||||
"found": "boolean",
|
||||
"expected": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**状态:待修复**
|
||||
Reference in New Issue
Block a user