swagger1st icon indicating copy to clipboard operation
swagger1st copied to clipboard

split parsing of swagger into own lib

Open FossiFoo opened this issue 9 years ago • 3 comments

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.

FossiFoo avatar Aug 22 '16 06:08 FossiFoo

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.

FossiFoo avatar Aug 30 '16 06:08 FossiFoo

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 ...

lasomethingsomething avatar Dec 02 '16 18:12 lasomethingsomething

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?

sebastianpoeplau avatar Dec 05 '16 11:12 sebastianpoeplau