Skip to content

Commit 3a62b3b

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

File tree

2 files changed

+96
-2
lines changed

2 files changed

+96
-2
lines changed

backend/schema/paths/nginx/access-lists/get.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,54 @@
4242
"meta": {},
4343
"satisfy_any": true,
4444
"pass_auth": false,
45-
"proxy_host_count": 0
45+
"proxy_host_count": 0,
46+
"owner": {
47+
"id": 1,
48+
"created_on": "2024-10-07T22:43:55.000Z",
49+
"modified_on": "2024-10-08T12:52:54.000Z",
50+
"is_disabled": false,
51+
"email": "admin@example.com",
52+
"name": "Administrator",
53+
"nickname": "some guy",
54+
"avatar": "//www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?default=mm",
55+
"roles": [
56+
"admin"
57+
]
58+
},
59+
"items": [
60+
{
61+
"id": 1,
62+
"created_on": "2024-10-08T22:15:40.000Z",
63+
"modified_on": "2024-10-08T22:15:40.000Z",
64+
"access_list_id": 1,
65+
"username": "admin",
66+
"password": "",
67+
"meta": {},
68+
"hint": "a****"
69+
},
70+
{
71+
"id": 2,
72+
"created_on": "2024-10-08T22:15:40.000Z",
73+
"modified_on": "2024-10-08T22:15:40.000Z",
74+
"access_list_id": 1,
75+
"username": "asdad",
76+
"password": "",
77+
"meta": {},
78+
"hint": "a*****"
79+
}
80+
],
81+
"clients": [
82+
{
83+
"id": 1,
84+
"created_on": "2024-10-08T22:15:40.000Z",
85+
"modified_on": "2024-10-08T22:15:40.000Z",
86+
"access_list_id": 1,
87+
"address": "127.0.0.1",
88+
"directive": "allow",
89+
"meta": {}
90+
}
91+
],
92+
"proxy_hosts": []
4693
}
4794
],
4895
"schema": {

backend/schema/paths/nginx/access-lists/listID/get.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,54 @@
5454
"meta": {},
5555
"satisfy_any": false,
5656
"pass_auth": false,
57-
"proxy_host_count": 1
57+
"proxy_host_count": 1,
58+
"owner": {
59+
"id": 1,
60+
"created_on": "2024-10-07T22:43:55.000Z",
61+
"modified_on": "2024-10-08T12:52:54.000Z",
62+
"is_disabled": false,
63+
"email": "admin@example.com",
64+
"name": "Administrator",
65+
"nickname": "some guy",
66+
"avatar": "//www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?default=mm",
67+
"roles": [
68+
"admin"
69+
]
70+
},
71+
"items": [
72+
{
73+
"id": 1,
74+
"created_on": "2024-10-08T22:15:40.000Z",
75+
"modified_on": "2024-10-08T22:15:40.000Z",
76+
"access_list_id": 1,
77+
"username": "admin",
78+
"password": "",
79+
"meta": {},
80+
"hint": "a****"
81+
},
82+
{
83+
"id": 2,
84+
"created_on": "2024-10-08T22:15:40.000Z",
85+
"modified_on": "2024-10-08T22:15:40.000Z",
86+
"access_list_id": 1,
87+
"username": "asdad",
88+
"password": "",
89+
"meta": {},
90+
"hint": "a*****"
91+
}
92+
],
93+
"clients": [
94+
{
95+
"id": 1,
96+
"created_on": "2024-10-08T22:15:40.000Z",
97+
"modified_on": "2024-10-08T22:15:40.000Z",
98+
"access_list_id": 1,
99+
"address": "127.0.0.1",
100+
"directive": "allow",
101+
"meta": {}
102+
}
103+
],
104+
"proxy_hosts": []
58105
}
59106
}
60107
},

0 commit comments

Comments
 (0)