- You have installed Git on your development machine
- You have installed Node.js and NPM on your development machine
The SparkPost API Docs in Apiary Blueprint format (based on Markdown)
- Clone the repository
git clone https://github.com/SparkPost/sparkpost-api-documentation
-
Change into the directory
-
We use Grunt for our task runner, so you will also have to install Grunt globally
npm install -g grunt-cli
- Install the dependencies
npm install
Once all the dependencies are installed, you can execute the Apiary Blueprint Validator tests in the following ways:
-
Run the test on ALL /services/ files sequentially
grunt testFiles
-
Run the test an individual /services/ file
grunt shell:test:<filename>
- Concatenate ALL /services/ files into a single apiary.apib file, then test the compiled file
grunt compile
Apiary Blueprint Specification
Read the complete license information for our Sparkpost API documentation.