modulize API document
make document as a mock server
use dredd to test document