Download the PHP library bernardosecades/split-blue
On this page you can find all versions of the php package bernardosecades/split-blue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Shortdescription Split Blueprint files (request/response sections) to generate documentation and mock servers files
All versions of split-blue with dependencies
Informations about the package split-blue
API Blueprint renderer.
You can split your API blueprint document with request/response (text-plain, json, xml ...) files and include in your main document to easily maintenance.
If you need load mock server with these API blueprint documents you can process them to render all content in unique file (including content request/response files) and load this file in mock server like drakov or similar.
The html documentation will be generated from that unique file.
You can execute shell script to install
Or install step by step next commands:
Install some dependencies with composer
Example apib file:
Response\a.xml will have:
If you execute command
`./bin/split-blue c from this tool you will generate two files:
- Build/out.apib (with content of a.xml file)
- Build/out.html (documentation html of your API with content a.xml file)
The content of file
Build/out.apib will be:
It will be ready to load in your mock server.
Generate HTML Documentation and files to load in Mock Server
It will try to search all files named like
index.apib to process include sentences of that file
and generate output files (
out.html) in folder
Build, if this not exist it will create it in the same level that
So this command will generate files:
It will generate files:
You can execute integration tests with next command:
./bin/split-blue c md/example/MyAPI/V2