Updated openapi.yaml to OpenAPI 3.0

Included lint to validate yaml file
This commit is contained in:
Jonas Marklén 2020-04-16 22:04:00 +02:00
parent e24e5741fe
commit 037bf43b40
No known key found for this signature in database
GPG Key ID: 00AACBF0DE521D15
3 changed files with 2848 additions and 1645 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,10 +3,13 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node index.js" "start": "node_modules/.bin/speccy serve -p 4000 openapi.yaml",
"start-old": "node index.js",
"test": "node_modules/.bin/speccy lint openapi.yaml"
}, },
"dependencies": { "dependencies": {
"express": "^4.16.4", "express": "^4.16.4",
"swagger-ui-dist": "^3.20.1" "swagger-ui-dist": "^3.20.1",
"speccy": "^0.11.0"
} }
} }

File diff suppressed because it is too large Load Diff