Skip to content

Commit

Permalink
Return $metadata resource as odata + openapi spec
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fisehara committed Mar 8, 2022
1 parent 9523257 commit 79a815c
Show file tree
Hide file tree
Showing 5 changed files with 360 additions and 140 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"memoizee": "^0.4.15",
"pinejs-client-core": "^6.10.0",
"randomstring": "^1.2.2",
"typed-error": "^3.2.1"
"typed-error": "^3.2.1",
"odata-openapi": "^0.12.0"
},
"devDependencies": {
"@balena/lint": "^6.2.0",
Expand Down
Loading

0 comments on commit 79a815c

Please sign in to comment.