Skip to content

Commit dcc6fcc

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 75217f0 commit dcc6fcc

File tree

5 files changed

+360
-140
lines changed

5 files changed

+360
-140
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"memoizee": "^0.4.15",
5757
"pinejs-client-core": "^6.10.0",
5858
"randomstring": "^1.2.2",
59-
"typed-error": "^3.2.1"
59+
"typed-error": "^3.2.1",
60+
"odata-openapi": "^0.12.0"
6061
},
6162
"devDependencies": {
6263
"@balena/lint": "^6.2.0",

0 commit comments

Comments
 (0)