yasnippet-snippets icon indicating copy to clipboard operation
yasnippet-snippets copied to clipboard

Snippets for swagger api spec

Open rpdeo opened this issue 6 years ago • 1 comments

Hi,

I made some snippets for swagger api spec (https://github.com/rpdeo/swagger-snippets), while I was exploring using Swagger. They work with yaml-mode (not swagger-mode).

If there is interest in merging these, please guide me on the process to do so. I have not opened a PR as I have not clone this repo and merged my work into it yet. But I can do so if that would be the way forward. Also if you can check the quality of snippet code, and suggest any changes that would be great!

Thanks for your help!

rpdeo avatar Jul 07 '18 13:07 rpdeo

Hi @rpdeo, I think it could be useful, not sure about some of the snippets (like 200/405 since they are a bit too simple to be useful for me), but otherwise it could be interesting.

The only thing you have to do is to fork this project, copy your snippets in snippets and open a PR with the files added.

I also noticed that there isn't a swagger-mode, so would that mean that all these snippets would be automatically available in any Yaml file?

AndreaCrotti avatar Feb 02 '19 21:02 AndreaCrotti