View on GitHub

codeigniter3-restapi-with-swagger

Rest API using CodeIgniter Framework with inbuilt swagger UI

CodeIginter Rest Server With Swagger

This setup is built on top of CodeIgniter 3 Framework by using chriskacerguis/codeigniter-restserver and zircote/swagger-php ^3.2.

For more details please visit Document

Installation

clone source code in you server using command in terminal (first verify git cli installation) or you can directly download scouce code From Here

git clone https://github.com/manish29ify/codeigniter3-restapi-with-swagger.git

Remaining Setup

1. Change base_url in file application/config/config.php
2. Change url in file application/controllers/openapi/openapi.server.php
3. In case you get error like "Class 'RestController' not found" then add below at the top of your controller file
include_once("./application/core/MY_Controller.php");

Link and Image ```

For more details see GitHub Flavored Markdown.

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.