File tree Expand file tree Collapse file tree 4 files changed +55
-20
lines changed
Expand file tree Collapse file tree 4 files changed +55
-20
lines changed Original file line number Diff line number Diff line change 3737 }
3838 ]
3939 },
40+ "access_directive" : {
41+ "description" : " Access Directive" ,
42+ "type" : " string" ,
43+ "enum" : [
44+ " allow" ,
45+ " deny"
46+ ],
47+ "example" : " allow"
48+ },
49+ "authorization_username" : {
50+ "description" : " Username" ,
51+ "type" : " string" ,
52+ "minLength" : 1 ,
53+ "example" : " admin"
54+ },
55+ "authorization_password" : {
56+ "description" : " Password" ,
57+ "type" : " string" ,
58+ "example" : " pass"
59+ },
60+ "authorization_hint" : {
61+ "description" : " Password Hint" ,
62+ "type" : " string" ,
63+ "minLength" : 1 ,
64+ "example" : " p***"
65+ },
4066 "created_on" : {
4167 "description" : " Date and time of creation" ,
4268 "readOnly" : true ,
170196 "additionalProperties" : false ,
171197 "properties" : {
172198 "username" : {
173- "type" : " string" ,
174- "minLength" : 1
199+ "$ref" : " #/properties/authorization_username"
175200 },
176201 "password" : {
177- "type " : " string "
202+ "$ref " : " #/properties/authorization_password "
178203 }
179204 },
180205 "example" : {
Original file line number Diff line number Diff line change 123123 "$ref" : " ../common.json#/properties/access_list_id"
124124 },
125125 "address" : {
126- "$ref" : " ../common.json#/properties/access_address "
126+ "$ref" : " ../common.json#/properties/address "
127127 },
128128 "directive" : {
129129 "$ref" : " ../common.json#/properties/access_directive"
Original file line number Diff line number Diff line change 11{
22 "operationId" : " getAccessLists" ,
33 "summary" : " Get all access lists" ,
4- "tags" : [" access-lists" ],
4+ "tags" : [
5+ " access-lists"
6+ ],
57 "security" : [
68 {
79 "bearerAuth" : [
3032 "description" : " 200 response" ,
3133 "content" : {
3234 "application/json" : {
33- "example" : {
34- "id" : 1 ,
35- "created_on" : " 2024-10-08T22:15:40.000Z" ,
36- "modified_on" : " 2024-10-08T22:15:40.000Z" ,
37- "owner_user_id" : 1 ,
38- "name" : " test1234" ,
39- "meta" : {},
40- "satisfy_any" : true ,
41- "pass_auth" : false ,
42- "proxy_host_count" : 0
43- },
35+ "example" : [
36+ {
37+ "id" : 1 ,
38+ "created_on" : " 2024-10-08T22:15:40.000Z" ,
39+ "modified_on" : " 2024-10-08T22:15:40.000Z" ,
40+ "owner_user_id" : 1 ,
41+ "name" : " test1234" ,
42+ "meta" : {},
43+ "satisfy_any" : true ,
44+ "pass_auth" : false ,
45+ "proxy_host_count" : 0
46+ }
47+ ],
4448 "schema" : {
45- "$ref" : " ../../../components/access-list-object .json"
49+ "$ref" : " ../../../components/access-list-list .json"
4650 }
4751 }
4852 }
Original file line number Diff line number Diff line change 11{
22 "operationId" : " updateAccessList" ,
33 "summary" : " Update a Access List" ,
4- "tags" : [" access-lists" ],
4+ "tags" : [
5+ " access-lists"
6+ ],
57 "security" : [
68 {
7- "bearerAuth" : [" access_lists.manage" ]
9+ "bearerAuth" : [
10+ " access_lists.manage"
11+ ]
812 }
913 ],
1014 "parameters" : [
9397 "name" : " Administrator" ,
9498 "nickname" : " some guy" ,
9599 "avatar" : " //www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?default=mm" ,
96- "roles" : [" admin" ]
100+ "roles" : [
101+ " admin"
102+ ]
97103 },
98104 "items" : [
99105 {
You can’t perform that action at this time.
0 commit comments