Skip to content

Commit 54bcbfc

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 <[email protected]>
1 parent 9b7cbc2 commit 54bcbfc

File tree

5 files changed

+400
-175
lines changed

5 files changed

+400
-175
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
"memoizee": "^0.4.15",
6464
"pinejs-client-core": "^6.10.2",
6565
"randomstring": "^1.2.2",
66-
"typed-error": "^3.2.1"
66+
"typed-error": "^3.2.1",
67+
"odata-openapi": "^0.12.0"
6768
},
6869
"devDependencies": {
6970
"@balena/lint": "^6.2.0",

0 commit comments

Comments
 (0)