Files
brapi-java/docs/problem_fix/03-fix-doing/50-get-vendor-orders.md

5.0 KiB
Raw Blame History

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"
    ]
  }
]

状态:待修复