Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: speccy resolve appears to have some kind of line length limitation - is breaking my tooling! #360

Open
jasonbstanding opened this issue Aug 25, 2019 · 1 comment

Comments

@jasonbstanding
Copy link

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

@padge
Copy link

padge commented Sep 5, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants