-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentation about Cachet API #2903
Comments
Hello, I'll take a look if laravel-apidoc-generator does the job. I would be really great if documentation was updated automatically. |
This issues throws an other question: the API documentation could be updated or generated via command line, but what about the rest of the documentation? It could be really great to have a |
We could use something like Swagger? |
Yes, it would be fine by me @jbrooksuk. And Swagger will help to keep documentation updated every time a new endpoint is added/changed/deleted, so it would be great. |
The package DarkaOnLine/L5-Swagger seems to be the job. |
I'm keen on this being generated to support Readme.io |
If we use ApiDoc (as discussed in #2929) there would be no need of Swagger and we could be synced with Readme.io. |
It looks like ApiDoc is actually unsupported though. Swagger may be the preferred option. |
It could be great if a package would be able to use the Laravel's routes and the doc block to generate Swagger. Swagger-php needs all the information, but perhaps an other package or a wrapper would be able to do more? |
I don't know much about Swagger, but yeah it would be very cool! |
I'm not sure if there is a such package. It would be annoying to type path and method for every route. It could be almost sufficient to generate the swagger. |
I suggest to accept the documentation update that I'd done in #2929 because generated documentation always uses PHP Doc, and keeping this issue open. |
I think we should get Swagger working because that's what we need to update Readme.io with. |
I agree to get Swagger working. The thing with swagger-php is we have to write all path ( |
Nah, but if that's what it takes, maybe we just get on with it? |
If we have no solution for that, we could use Swagger with an effort to keep the documentation up to date. If you're ok with that, I'll add Swagger to my PR. |
Let's go with Swagger. We can import it into Readme.io then. |
Alternatively, we could export documentation into this https://readme.readme.io/docs/importing-documentation |
I'm actually going to do that as well because it's super useful. |
(Not for API). |
Exported to https://github.com/CachetHQ/Docs which does contain the API pages, but with no actual API info in them. |
This issue was moved by @jbrooksuk to cachethq/docs/issues/4. |
Hello.
I would like to know if it is possible to update Cachet documentation about its API (preferably, including already new routes added for Cachet v2.4). I am trying to improve existing Golang client to be compatible with your latest Cachet's version.
Thanks and congrats about your great job with this app.
The text was updated successfully, but these errors were encountered: