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

Add support for yaml #22

Open
lucaslago opened this issue May 2, 2018 · 3 comments
Open

Add support for yaml #22

lucaslago opened this issue May 2, 2018 · 3 comments
Assignees

Comments

@lucaslago
Copy link

It would be nice if we added support to yaml defined swagger spec

@earldouglas
Copy link
Owner

Great idea!

@sunapi386
Copy link

Should be straight forward, open as yaml and dump to json, still the same pipeline.
Although doing it right means supporting split yaml files (and json files), as such
https://azimi.me/2015/07/16/split-swagger-into-smaller-files.html

@radeklat
Copy link

For command line use, it would be good to add to the README a simple workaround:
python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout)' < swagger.yaml | swagger-test

@earldouglas earldouglas self-assigned this May 22, 2022
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

4 participants