A Code Igniter Package for Rendering Swagger Docs Open API Schema (JSON & YAML(later)).
NB: This library hasn't been released on splint because it's still in development. To use/test/install, you'll have to clone this repository using git clone <repo_url>
under application/splints/francis94c
.
Download and Install Splint from https://splint.cynobit.com/downloads/splint and run the below from the root of a Code Igniter distribution.
splint install francis94c/openapi-parser
Top load the library, use
$this->load->package("francis94c/openapi-parser", "parser");
Then render an Open API Spec JSON file.
$this->parser->parse("path_to_spec_file.json");