-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
98 lines (98 loc) · 2.2 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "cds-swagger-ui-express",
"version": "0.11.0",
"description": "Swagger UI for CAP Services",
"main": "index.js",
"repository": "github:chgeo/cds-swagger-ui-express",
"keywords": [
"cap",
"cds",
"express",
"openapi",
"swagger",
"cap-plugin"
],
"author": {
"name": "chgeo"
},
"license": "MIT",
"private": false,
"engines": {
"node": ">=18"
},
"files": [
"CHANGELOG.md",
"lib/",
"cds-plugin.js",
"index.js"
],
"dependencies": {
"@cap-js/openapi": "^1.0.4",
"swagger-ui-express": "^5"
},
"peerDependencies": {
"@sap/cds": ">=7",
"express": ">=4"
},
"devDependencies": {
"@cap-js/cds-types": "^0",
"@cap-js/sqlite": "^1",
"@sap/cds": "^8",
"axios": "^1",
"chai": "^4",
"chai-as-promised": "^7",
"chai-subset": "^1",
"express": "^4",
"jest": "^29"
},
"scripts": {
"test": "jest --silent"
},
"jest": {
"testEnvironment": "node",
"testTimeout": 10000
},
"cds": {
"schema": {
"cds": {
"swagger": {
"oneOf": [
{
"type": "object",
"properties": {
"basePath": {
"type": "string",
"description": "The root path to mount the middleware on",
"default": "/$api-docs"
},
"apiPath": {
"type": "string",
"description": "The root path for the services (useful if behind a reverse proxy)"
},
"diagram": {
"type": "boolean",
"description": "Whether to render the YUML diagram",
"default": true
},
"odataVersion": {
"type": "string",
"description": "the OData Version to compile the OpenAPI specs"
}
}
},
{
"type": "boolean",
"description": "Shortcut to disable Swagger UI"
}
]
}
}
},
"swagger": {
"basePath": "/$api-docs",
"apiPath": "/",
"diagram": true,
"odataVersion": ""
}
}
}