Skip to content

Commit 1ee1e60

Browse files
author
Ole Lensmar
committed
added type : object for all
1 parent 82e96a6 commit 1ee1e60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

guidelines/sample-server/files/models.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"Model": {
3+
"type": "object",
34
"description": "A simple model",
45
"properties": {
56
"id": {
@@ -13,6 +14,7 @@
1314
}
1415
},
1516
"Tag": {
17+
"type": "object",
1618
"description": "A tag entity in the system",
1719
"properties": {
1820
"name": {
@@ -21,6 +23,7 @@
2123
}
2224
},
2325
"Health": {
26+
"type": "object",
2427
"description": "An object representing the health of a server",
2528
"required": [
2629
"liveThreadCount",
@@ -52,6 +55,7 @@
5255
}
5356
},
5457
"JVMMemory": {
58+
"type": "object",
5559
"required": [
5660
"allocated",
5761
"max",
@@ -83,6 +87,7 @@
8387
}
8488
},
8589
"ErrorMessage": {
90+
"type": "object",
8691
"description": "A shared model for error message",
8792
"required" : ["errorCode","reason"],
8893
"properties": {

0 commit comments

Comments
 (0)