Skip to content

hapi-server/data-specification-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Schema for HAPI JSON Responses

Testing

git clone https://github.com/hapi-server/verify-nodejs
# Above will result in a dir verify-nodejs/data-specification-schema
# because data-specification-schema repo is git submodule

cd verify-nodejs/data-specification-schema/test
node test.js # or, e.g., node test.js 3.3

The schema files in this repository (HAPI-data-access-schema-*) are used for testing.

VS Code

To test JSON files against the HAPI schema in VS Code, see misc/vscode.

Formatting

Prior to committing, execute

node util/reformat.js FILENAME.json

so that all JSON files have the same formatting style.

Pull Requests

Please post an issue prior to creating a pull request. Pull request must have an associated unit test.

Contact

Submit questions, bug reports, and feature requests to the issue tracker.

About

JSON Schema for HAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors