Skip to content

Commit 83b4198

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 875b8b2 commit 83b4198

File tree

12 files changed

+2224
-133
lines changed

12 files changed

+2224
-133
lines changed

openapiSpec.json

Lines changed: 1634 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"lodash": "^4.17.21",
5858
"memoizee": "^0.4.15",
5959
"pinejs-client-core": "^6.12.3",
60+
"odata-openapi": "^0.19.1",
6061
"randomstring": "^1.2.3",
6162
"typed-error": "^3.2.2"
6263
},

0 commit comments

Comments
 (0)