speccy
speccy copied to clipboard
Question: speccy resolve appears to have some kind of line length limitation - is breaking my tooling!
When resolving a "split" OAS doc into a single file, it looks as if speccy is wrapping lines after 85 characters:
$ref: "#/paths/~1academic~1houses/post/requestBody/content/applicatio\
n~1json/schema"
I've no idea if this is intentional, but my PHP tooling's finding it a bit challenging to deal with.
I'm working on OS X 10.14.6 using npm 6.9.0, node 11.6.0, and speccy 0.11
The command I'm running is speccy resolve open-api.yaml > resolved.yaml
I ran into this as well. To get around it, I converted the resolved yaml file to json, and changed my PHP code to reference the json file instead.
speccy resolve open-api.yaml > resolved.yaml
js-yaml resolved.yaml > resolved.json