Skip to content

Commit b39bec1

Browse files
committed
Return $metadata resource as odata + openapi spec
Returning odata and openapi specs in json format. Specs are scoped to the request permissions. Different users (roles) will receive different metadata endpoints and resources. Change-type: minor Signed-off-by: Harald Fischer <harald@balena.io>
1 parent 9b7cbc2 commit b39bec1

File tree

5 files changed

+366
-142
lines changed

5 files changed

+366
-142
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"express-session": "^1.17.3",
6262
"lodash": "^4.17.21",
6363
"memoizee": "^0.4.15",
64+
"odata-openapi": "^0.12.0",
6465
"pinejs-client-core": "^6.10.2",
6566
"randomstring": "^1.2.2",
6667
"typed-error": "^3.2.1"

0 commit comments

Comments
 (0)