-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
29 lines (29 loc) · 1.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "openapi",
"description": "Spot OpenAPI",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/spotinst/openapi"
},
"license": "Apache-2.0",
"author": {
"name": "Spot by NetApp",
"url": "https://spot.io"
},
"scripts": {
"serve": "redoc-cli serve --template redoc/template.hbs.html --options='{\"menuToggle\":true,\"expandSingleSchemaField\":true,\"sortPropsAlphabetically\":true,\"generatedPayloadSamplesMaxDepth\":20,\"theme\":{\"colors\":{\"primary\":{\"main\":\"#0086ff\"}}}}' --watch api/spot.yaml",
"bundle:redoc": "redoc-cli bundle --template redoc/template.hbs.html --options='{\"menuToggle\":true,\"expandSingleSchemaField\":true,\"sortPropsAlphabetically\":true,\"generatedPayloadSamplesMaxDepth\":20,\"theme\":{\"colors\":{\"primary\":{\"main\":\"#0086ff\"}}}}' --output build/index.html api/spot.yaml",
"bundle:swagger": "swagger-cli bundle --outfile build/openapi.json api/spot.yaml",
"validate": "swagger-cli validate --no-schema api/spot.yaml",
"clean": "rm -rf build"
},
"devDependencies": {
"prettier": "^2.6.2",
"redoc-cli": "^0.13.21",
"swagger-cli": "^4.0.4"
},
"engines": {
"node": ">=12"
}
}