Creating REST documentation in a Codeigniter project

I have a REST web service using Codeigniter and using this library: https://github.com/chriskacerguis/codeigniter-restserver

I want to create documentation for this web service. I want to use the Swagger user interface to create this documentation. But I did not find any documentation on how to use Swagger with Codeigniter.

The only project using these two technologies is one, but it does not have good documentation: https://github.com/panxp/codeigniter-swagger

Can someone insert an example using these two technologies or provide a link to good documentation? Of course, if there is another good library for creating documentation, I will take it if it will be used with Codeigniter.

+6
source share
1 answer

In past projects, I used http://apidocjs.com/ , which I find pretty easy to use and easy to create from multiple environments. It took me 15-20 minutes to figure it out and see how I wanted it to have npm installed. It really doesn't care about the directory or code structure, but only your provided information in doc blocks.

+2
source

Source: https://habr.com/ru/post/982029/


All Articles