code: func GenerateDocs(apiDef *raml.APIDefinition, format, output string) error {
  	switch format {
  	case formatMarkdown:
  		md := &markdownDocs{
  			api:    apiDef,
  			output: output,
  		}
  		return md.generate()
  	default:
  		return fmt.Errorf("unknown format '%s'", format)
  	}
  }
docs: // GenerateDocs generate markdown docs from RAML specs