Hi, is anyone aware of a reasonable approach to get a Swagger spec/doc for an API written with Liberator?
@nblumoe I’ve seen a lot of approaches. The challenge is that swagger is action/method-oriented whil liberator is resource oriented. One way I can see is to use a definition which will be transformed to the data that your swagger impl wants to see and be transformed into a map applicable for (liberator.core/resource)
. I think that’s the cleanest way.
But please take that with a grain of salt, I’ve got not much experience with swagger.