Fork me on GitHub

Hi all! I have a project in mind - given an xml file describing API, i want to create REST endpoints and swagger documentation. Can this be done using compojure-api? I have a fear that heavy usage of macros in this library could make my automatic approach unhandy.


I already have spec created via the xml file as well


can i just plug the spec somehow into compojure-api?


@mll I would use #reitit for any generation instead. The route definitions are plain data, so much easier for that use case.


Thanks @ikitommi. I'll try it. Itr's just that i have been using compojure-api for some time and i have all the edge cases covered, wheras with reitit it would be learning all the stuff again. But maybe it's worth it, data is better than macros.