SwaggerHub Editor - Path line length not resolved correctly in YAML
I got a Yaml file that includes an endpoint with a path length longer than 130 characters.
When loaded within SwaggerHub , the documentation rendering is OK.
When generating a Server Stub, it's OK
When exporting the file to resolved JSON, it's OK
When exporting the file to resolved YAML it generates weird characters and I have to fix the file before using it.
Is there any ways to make the Yaml resolve working with long paths?
Solved! Go to Solution.
I finally found the root cause for this issue:
SwaggerHub IDE, for Yaml, limits the path length to 128 char.
I am working with SwaggerHub version 1.27.0-76 (On-premise)
So, when the path is longer than 128 char. and is resolved, it generates weird characters.
There is no other way to deal with this issue other than limiting the path length.