|
|
|
|
|
by sharms
4013 days ago
|
|
If you want to build a website in Clojure, I highly recommend checking out http://luminusweb.net - the documentation is amazing, and it incorporates nearly all of the best practices I have seen. Making an API in Clojure using Swagger gives you a full, interactive UI and documentation for your API, while also having a schema which makes sure you know what is submitted and that it validates (i.e. is that a string or a number?) |
|
As a note making a Swagger app with Luminus is as simple as:
lein new luminus myapp +swagger
cd myapp
lein run
once the server starts, browse to http://localhost:3000/swagger-ui/index.html to see your Swagger API