use supermodel

This commit is contained in:
Zdenek Nemec
2019-11-18 08:31:00 +00:00
parent c9df0c584b
commit ade9e04665
9 changed files with 1368 additions and 0 deletions

17
package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "api-guidelines",
"version": "1.0.0",
"description": "adidas API guidelines",
"repository": "git@github.com:adidas/api-guidelines.git",
"author": "software.engineering@adidas.com",
"license": "MIT",
"private": true,
"dependencies": {
"@supermodel/cli": "^0.46.29",
"spectral": "^0.0.0"
},
"scripts":{
"build-examples": " supermodel schema oas2 supermodel/adidas/examples/order/api/ -o examples/demo-orderapi-v3.oas2.yaml",
"test": "spectral lint examples/demo-orderapi-v3.oas2.yaml"
}
}