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 2, 2022
1 parent a40f13a commit efc396d
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 139 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": "git+https://github.com/oasis-tcs/odata-openapi#main"
},
"devDependencies": {
"@balena/lint": "^6.2.0",
Expand Down
Loading

0 comments on commit efc396d

Please sign in to comment.