We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API return : ["abc", "def"]
json-schemas.json
{ "definitions": { "Test": { "type": "array", "title": "Test", "description": "Test Object", "items": { "type": "string" } } } }
.meshrc.yaml
- name: TestApi handler: jsonSchema: baseUrl: http://api-host operations: - type: Query field: getTest path: /test method: GET responseSchema: ./json-schemas.json#/definitions/Test
query test { getTest }
I got error like:
{ "errors": [ { "message": "String cannot represent value: { 0: "x", 1: "2", 2: "3", 3: "-", 4: "3", $url: "http://.....", $method: "GET", $request: { query: [Object], path: [Object], header: {} }, $response: { url: "http://......", method: "GET", status: 200, statusText: "OK", body: "x23-3" } }", "path": [ "didManufacturerList", 0 ] }, { ..... } ], "data": { "getTest": [ null, null ] } }
The text was updated successfully, but these errors were encountered:
reproduction #4741
7cb909b
Seems to be working fine in the latest version; 7cb909b
Sorry, something went wrong.
No branches or pull requests
API return : ["abc", "def"]
json-schemas.json
.meshrc.yaml
I got error like:
{
"errors": [
{
"message": "String cannot represent value: { 0: "x", 1: "2", 2: "3", 3: "-", 4: "3", $url: "http://.....", $method: "GET", $request: { query: [Object], path: [Object], header: {} }, $response: { url: "http://......", method: "GET", status: 200, statusText: "OK", body: "x23-3" } }",
"path": [
"didManufacturerList",
0
]
},
{
.....
}
],
"data": {
"getTest": [
null,
null
]
}
}
The text was updated successfully, but these errors were encountered: