swagger1st
swagger1st copied to clipboard
split parsing of swagger into own lib
i'm currently working on a project that will need parse swagger definitions and was looking around for a lib in clojure(-script) to do that. this project seem to be the most complete, but i will not need all of the other functionality here, so i wondered if you would be interested in splitting the swagger parsing into it's own lib.
I would also need to call from cljs, so maybe it's feasible to make one cljc lib instead of me including half a fork.
I went ahead and created a repo with just the context, schema and parser at https://github.com/FossiFoo/clj-swagger-parser. Still needs some polishing and minor refactoring, but I'll start porting to cljc too.
If you are interested in merging back/adding that as a dep please feel free to do so and/or contact me.
Hi @FossiFoo, sorry that nobody got back to you on this until now. I'm looping in @sebastianpoeplau and @harti2006, who recently signed on as new maintainers of this project. Guys, what do you think about this? Also cc'ing @dryewo as he might have a thought ...
I like the idea of separating concerns, especially as there seems to be a use case for the one without the other. What's more, a lib that is usable in ClojureScript too would open up new possibilities like generating client code...
Merging back or using @FossiFoo's project as a dependency sounds good to me - @harti2006, @dryewo, what's your opinion?