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

Incorrect error given when sync'ing spec #292

Closed
jesseyowell opened this issue Mar 17, 2021 · 1 comment
Closed

Incorrect error given when sync'ing spec #292

jesseyowell opened this issue Mar 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@jesseyowell
Copy link

jesseyowell commented Mar 17, 2021

When sync'ing a spec file like such:

$ rdme swagger swagger.json --key="API_KEY" --id=abcdef12345abcdef12345

You'll end up with an error:

The spec you uploaded isn't a valid JSON or YAML file. Here's the error we found:

Not valid YAML

The spec file is valid, the issue is that the id string isn't wrapped in ""

@erunion erunion added the bug Something isn't working label Jul 9, 2021
@kanadgupta
Copy link
Member

kanadgupta commented Dec 14, 2021

I'm not able to reproduce this issue anymore! I'm guessing this got fixed when we bumped several dependencies and did a bunch of cleanup to our openapi command workflow over the summer. Feel free to re-open another issue if you're still seeing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants