listmonk
listmonk copied to clipboard
Provide swagger for API
It will be nice to have swagger which seems like most commonly use documentation for api which enables auto generating api client.
You mean OpenApi, don't you? Swagger is just a tool.
yes, I mean OpenApi :) in best case provided as swagger.json
When this is done, I'd love to create an integration / node on n8n based on ListMonk's API which I feel would supercharge the functionality of the tool
This task is up for grabs, if anyone's interested in working on it!
@knadh So if I am getting this correct, we need to create a swagger collection of all listmonk APIs. If yes then, I can take up this issue. Thanks
@rohansh-tty. Yes, that would be nice. Thanks.
@rohansh-tty why don't you send a PR with the work you've done so far? I'm planning to merge the contents of the listmonk-site
repo into a docs
directory on this repo. You can put the Swagger specs in docs/swagger
and send a PR.
@knadh Based on my current progress, I have created a PR. There are a couple of endpoints that I need to add from my end. And I'll be updating the collection this weekend. Please let me know if any changes are required.
@rohansh-tty's PR is merged. Thanks! https://github.com/knadh/listmonk/tree/master/docs/swagger
@rohansh-tty the Swagger site is up. Documented here: https://listmonk.app/docs/apis/apis/