fix:提交到整个项目能跑通,有几个接口不标准
This commit is contained in:
202
docs/problem_fix/03-fix-doing/50-get-vendor-orders.md
Normal file
202
docs/problem_fix/03-fix-doing/50-get-vendor-orders.md
Normal file
@@ -0,0 +1,202 @@
|
||||
# GET /vendor/orders
|
||||
|
||||
> 来源:BrAPI v2.1 校验报告(03-fix.md)
|
||||
|
||||
## 概要
|
||||
|
||||
| 项 | 值 |
|
||||
| --- | --- |
|
||||
| 状态 | warning |
|
||||
| 方法 | GET |
|
||||
| URL | `/brapi/v2/vendor/orders` |
|
||||
| 完整 URL | `http://localhost:8081/brapi/v2/vendor/orders` |
|
||||
| 路径模板 | `GET /vendor/orders` |
|
||||
| 模块 | Vendor |
|
||||
| 响应时间 | 6371 ms |
|
||||
|
||||
## 校验详情
|
||||
|
||||
```
|
||||
GET /vendor/orders
|
||||
Vendor
|
||||
6371 ms
|
||||
schema mismatch
|
||||
Json matches schema: schemas/v2.1/Vendor/getVendorOrdersResponse.json (schema mismatch) — Schema: schemas/v2.1/Vendor/getVendorOrdersResponse.json
|
||||
Response structure doesn't match schema.
|
||||
[
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/clientId"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/0/clientId"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/numberOfSamples"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/0/numberOfSamples"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"integer\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"integer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/clientId"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/1/clientId"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/numberOfSamples"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/1/numberOfSamples"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"integer\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"integer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/clientId"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/2/clientId"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/numberOfSamples"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/2/numberOfSamples"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"integer\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"integer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/clientId"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/4/clientId"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/numberOfSamples"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/4/numberOfSamples"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"integer\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"integer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/clientId"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/5/clientId"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": "error",
|
||||
"schema": {
|
||||
"loadingURI": "#",
|
||||
"pointer": "/properties/result/properties/data/items/properties/numberOfSamples"
|
||||
},
|
||||
"instance": {
|
||||
"pointer": "/result/data/5/numberOfSamples"
|
||||
},
|
||||
"domain": "validation",
|
||||
"keyword": "type",
|
||||
"message": "instance type (null) does not match any allowed primitive type (allowed: [\"integer\"])",
|
||||
"found": "null",
|
||||
"expected": [
|
||||
"integer"
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**状态:待修复**
|
||||
Reference in New Issue
Block a user