Skip to content

Commit e3860cb

Browse files
committed
fix: Add missing examples
1 parent 3a62b3b commit e3860cb

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

backend/schema/components/access-list-object.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,19 @@
9191
"$ref": "../common.json#/properties/meta"
9292
}
9393
}
94-
}
94+
},
95+
"example": [
96+
{
97+
"id": 1,
98+
"created_on": "2024-10-08T22:15:40.000Z",
99+
"modified_on": "2024-10-08T22:15:40.000Z",
100+
"access_list_id": 1,
101+
"username": "admin",
102+
"password": "",
103+
"hint": "a****",
104+
"meta": {}
105+
}
106+
]
95107
},
96108
"clients": {
97109
"type": "array",
@@ -131,7 +143,18 @@
131143
"$ref": "../common.json#/properties/meta"
132144
}
133145
}
134-
}
146+
},
147+
"example": [
148+
{
149+
"id": 1,
150+
"created_on": "2024-10-08T22:15:40.000Z",
151+
"modified_on": "2024-10-08T22:15:40.000Z",
152+
"access_list_id": 1,
153+
"address": "127.0.0.1",
154+
"directive": "allow",
155+
"meta": {}
156+
}
157+
]
135158
}
136159
}
137160
}

0 commit comments

Comments
 (0)