Added new JSON field documentation #153
| @@ -540,7 +540,7 @@ | |||||||
|             "schema": { |             "schema": { | ||||||
|               "type": "array", |               "type": "array", | ||||||
|               "items": { |               "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": { |     "ResponseError": { | ||||||
|       "type": "object", |       "type": "object", | ||||||
|       "properties": { |       "properties": { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user