This is an automated email from the ASF dual-hosted git repository. kenhuuu pushed a commit to branch master-http-final in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 7979d7c633ac21d8c357b434f84d2295ab4650b1 Author: Ken Hu <[email protected]> AuthorDate: Wed Oct 2 11:54:35 2024 -0700 Revert change to code value in GraphSONv4 CTR. The "code" in "status" object was changed to a string from a number so that it also included the reason phrase. This was probably an accident so reverting it back to just the number like it was in previous versions of GraphSON. --- docs/src/dev/io/graphson.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/dev/io/graphson.asciidoc b/docs/src/dev/io/graphson.asciidoc index 65bbddc065..ae777fd191 100644 --- a/docs/src/dev/io/graphson.asciidoc +++ b/docs/src/dev/io/graphson.asciidoc @@ -2785,7 +2785,7 @@ The following `ResponseMessage` is a typical example of the typical successful r } }, "status": { - "code": "200 OK" + "code": 200 } } ---- @@ -2847,7 +2847,7 @@ The following `ResponseMessage` is a typical example of the typical successful r ] }, "status": { - "code": "200 OK" + "code": 200 } } ---- @@ -2866,7 +2866,7 @@ The following `ResponseMessage` is a typical example of the typical successful r } }, "status": { - "code": "500 Internal Server Error", + "code": 500, "message": "A timeout occurred during traversal evaluation", "exception": "ServerTimeoutExceededException" } @@ -2880,7 +2880,7 @@ The following `ResponseMessage` is a typical example of the typical successful r "data": [] }, "status": { - "code": "500 Internal Server Error", + "code": 500, "message": "A timeout occurred during traversal evaluation", "exception": "ServerTimeoutExceededException" }
