-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.98 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 2.98 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@cap-js/openapi",
"version": "1.6.0",
"description": "CAP tool for OpenAPI",
"repository": {
"type": "git",
"url": "git+https://github.com/cap-js/openapi.git"
},
"homepage": "https://cap.cloud.sap/",
"keywords": [
"CAP",
"CDS",
"OpenAPI",
"Node.js"
],
"author": "SAP SE (https://www.sap.com)",
"license": "Apache-2.0",
"main": "index.js",
"exports": {
".": "./index.js",
"./cds-plugin": "./cds-plugin.js"
},
"files": [
"lib/",
"index.js",
"cds-plugin.js",
"LICENSE"
],
"cds": {
"schema": {
"export": {
"openapi": {
"type": "object",
"description": "OpenAPI settings for cds compile",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "Service root URL"
},
"servers": {
"type": "array",
"description": "OpenAPI servers array"
},
"odataVersion": {
"type": "string",
"description": "OData version (e.g. '4.01', '4.0')"
},
"scheme": {
"type": "string",
"description": "URL scheme when url is not set",
"default": "https"
},
"host": {
"type": "string",
"description": "Host when url is not set",
"default": "localhost"
},
"basePath": {
"type": "string",
"description": "Base path when url is not set",
"default": "/service-root"
},
"diagram": {
"type": "boolean",
"description": "Include ER diagram in description",
"default": false
},
"maxLevels": {
"type": "integer",
"description": "Maximum navigation expansion depth",
"default": 5
},
"shortActionPaths": {
"type": "boolean",
"description": "Use simplified action path names",
"default": false
},
"defaultProtocol": {
"type": "string",
"description": "Default protocol for services without @protocol annotation",
"default": "odata"
}
}
}
},
"importFrom": {
"const": "openapi",
"description": "OpenAPI specification"
}
}
},
"scripts": {
"test": "node --test",
"lint": "npx eslint .",
"check:types": "npx tsc",
"gen:coverage": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info",
"regenerate": "node scripts/regenerate.js"
},
"dependencies": {
"pluralize": "^8.0.0"
},
"peerDependencies": {
"@sap/cds": ">=7.6"
},
"devDependencies": {
"@types/node": "^26.1.1",
"eslint": "^10.4.1",
"globals": "^17.6.0",
"typescript": "^7.0.2"
}
}