Added new JSON field documentation #153

Merged
bema merged 1 commits from bema/ref/#151 into master 2023-04-21 09:43:26 +02:00

View File

@@ -540,7 +540,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/Response"
"$ref": "#/definitions/XPathResponse"
}
}
},
@@ -1006,6 +1006,39 @@
}
}
},
"XPathResponse": {
"type": "object",
"properties": {
"result": {
"type": "string",
"example": "4",
"description": "Result of performing transformation on provided XML"
},
"time": {
"type": "string",
"example": "320",
"description": "Computation time in milliseconds"
},
"processor": {
"type": "string",
"enum": [
"Saxon 10.3 2.0 over s9api",
"Xalan Java 2.7.2",
"libXml over lxml"
]
},
"status": {
"type": "string",
"enum": [
"OK"
]
},
"type": {
"type": "string",
"description": "Optional. Specifies type of data returned by Xalan or libXML."
}
}
},
"ResponseError": {
"type": "object",
"properties": {