Closed justdanpo closed 2 months ago
@microsoft-github-policy-service agree
How can I resolve the following error when using Restler for testing functionality? 2024-01-24 16:39:01.091: Connection error: 'Exception: [Errno 104] Connection reset by peer'
How can I resolve the following error when using Restler for testing functionality? 2024-01-24 16:39:01.091: Connection error: 'Exception: [Errno 104] Connection reset by peer'
does that somehow relate to this pr?
It has nothing to do with this PR, I would like to ask for your help on how to solve this problem.
Reference to path works incorrectly when path contains more than one slash (see example below), compiler cannot find such path:
Also current unescaping breaks reference part into an extra level i.e. reference
#/definitions~1Escape~0Characters
points toEscape~Characters
insidedefinitions
while it should point todefinitions/Escape~Characters
in the root.This PR fixes the issue by performing unescaping after splitting path to parts.
Example schema: