-
-
Notifications
You must be signed in to change notification settings - Fork 816
Closed
Labels
2.17Issues planned (at earliest) for 2.17Issues planned (at earliest) for 2.17
Milestone
Description
The following code:
JsonPointer
.valueOf("/")
.appendProperty("paths")
.appendProperty("/things")
.appendProperty("post")
.appendProperty("requestBody")
.appendProperty("content")
.appendProperty("application/json")
.appendProperty("schema")
should produce this json pointer:
/paths/~1things/post/requestBody/content/application~1json/schema
Instead it produces this json pointer:
/paths/things/post/requestBody/content/application/json/schema
As you can see, the /
at the start of /things
and the /
in the middle of application/json
are not escaped, producing a completely incorrect path.
(You also need to escape ~
correctly as per RFC 69010
robinst
Metadata
Metadata
Assignees
Labels
2.17Issues planned (at earliest) for 2.17Issues planned (at earliest) for 2.17