@ldgabbay/http-api.specification-standard
http-api.specification-standard
Last updated 10 months ago by ldgabbay .
UNLICENSED · Original npm · Tarball · package.json
$ cnpm install @ldgabbay/http-api.specification-standard 
SYNC missed versions from official npm registry.

Standard for HTTP API Specification

This project defines a data structure that specifies an HTTP API.

This structure is specified in a grammar-like syntax in the included spec.grammar file.

Template Visitor

var visitor = {
	enterSection: function(obj) { console.log('enterSection'); },
	exitSection: function(obj) { console.log('exitSection'); },
	enterParameter: function(obj) { console.log('enterParameter'); },
	exitParameter: function(obj) { console.log('exitParameter'); },
	enterBinaryBody: function(obj) { console.log('enterBinaryBody'); },
	exitBinaryBody: function(obj) { console.log('exitBinaryBody'); },
	enterFormBody: function(obj) { console.log('enterFormBody'); },
	exitFormBody: function(obj) { console.log('exitFormBody'); },
	enterJsonBody: function(obj) { console.log('enterJsonBody'); },
	exitJsonBody: function(obj) { console.log('exitJsonBody'); },
	enterRequest: function(obj) { console.log('enterRequest'); },
	exitRequest: function(obj) { console.log('exitRequest'); },
	enterResponse: function(obj) { console.log('enterResponse'); },
	exitResponse: function(obj) { console.log('exitResponse'); },
	enterMethod: function(obj) { console.log('enterMethod'); },
	exitMethod: function(obj) { console.log('exitMethod'); },
	enterLiteralSS: function(obj) { console.log('enterLiteralSS'); },
	exitLiteralSS: function(obj) { console.log('exitLiteralSS'); },
	enterGeneralSS: function(obj) { console.log('enterGeneralSS'); },
	exitGeneralSS: function(obj) { console.log('exitGeneralSS'); },
	enterReferenceSS: function(obj) { console.log('enterReferenceSS'); },
	exitReferenceSS: function(obj) { console.log('exitReferenceSS'); },
	enterOneOfSS: function(obj) { console.log('enterOneOfSS'); },
	exitOneOfSS: function(obj) { console.log('exitOneOfSS'); },
	enterJsonItem: function(obj) { console.log('enterJsonItem'); },
	exitJsonItem: function(obj) { console.log('exitJsonItem'); },
	enterJsonProperty: function(obj) { console.log('enterJsonProperty'); },
	exitJsonProperty: function(obj) { console.log('exitJsonProperty'); },
	enterReferenceJS: function(obj) { console.log('enterReferenceJS'); },
	exitReferenceJS: function(obj) { console.log('exitReferenceJS'); },
	enterStringReferenceJS: function(obj) { console.log('enterStringReferenceJS'); },
	exitStringReferenceJS: function(obj) { console.log('exitStringReferenceJS'); },
	enterOneOfJS: function(obj) { console.log('enterOneOfJS'); },
	exitOneOfJS: function(obj) { console.log('exitOneOfJS'); },
	enterLiteralJS: function(obj) { console.log('enterLiteralJS'); },
	exitLiteralJS: function(obj) { console.log('exitLiteralJS'); },
	enterNullJS: function(obj) { console.log('enterNullJS'); },
	exitNullJS: function(obj) { console.log('exitNullJS'); },
	enterBooleanJS: function(obj) { console.log('enterBooleanJS'); },
	exitBooleanJS: function(obj) { console.log('exitBooleanJS'); },
	enterNumberJS: function(obj) { console.log('enterNumberJS'); },
	exitNumberJS: function(obj) { console.log('exitNumberJS'); },
	enterStringJS: function(obj) { console.log('enterStringJS'); },
	exitStringJS: function(obj) { console.log('exitStringJS'); },
	enterArrayJS: function(obj) { console.log('enterArrayJS'); },
	exitArrayJS: function(obj) { console.log('exitArrayJS'); },
	enterObjectJS: function(obj) { console.log('enterObjectJS'); },
	exitObjectJS: function(obj) { console.log('exitObjectJS'); },
	enterApiDocument: function(obj) { console.log('enterApiDocument'); },
	exitApiDocument: function(obj) { console.log('exitApiDocument'); }
};

Current Tags

  • 2.0.0-dev2                                ...           latest (10 months ago)

11 Versions

  • 2.0.0-dev2                                ...           10 months ago
  • 2.0.0-dev1                                ...           10 months ago
  • 2.0.0-dev0                                ...           10 months ago
  • 1.9.1-dev2                                ...           10 months ago
  • 1.9.1-dev1                                ...           10 months ago
  • 1.9.1-dev0                                ...           10 months ago
  • 1.9.0                                ...           10 months ago
  • 1.9.0-dev4                                ...           10 months ago
  • 1.9.0-dev3                                ...           10 months ago
  • 1.9.0-dev2                                ...           10 months ago
  • 1.9.0-dev1                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 11
Last Month 11
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |