access rule delete bug fix (#978)

Co-authored-by: Adam Stafford <adamstafford@Adams-MacBook-Pro.local>
This commit is contained in:
adfost
2021-08-24 16:22:47 -07:00
committed by GitHub
parent 597855364c
commit 1f1537fd60
9 changed files with 147 additions and 49 deletions

View File

@@ -570,9 +570,7 @@ func init() {
}
}
}
}
},
"/bucket/{bucket}/access-rules/{prefix}": {
},
"delete": {
"tags": [
"AdminAPI"
@@ -587,10 +585,12 @@ func init() {
"required": true
},
{
"type": "string",
"name": "prefix",
"in": "path",
"required": true
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/prefixWrapper"
}
}
],
"responses": {
@@ -4655,6 +4655,14 @@ func init() {
}
}
},
"prefixWrapper": {
"type": "object",
"properties": {
"prefix": {
"type": "string"
}
}
},
"principal": {
"type": "object",
"properties": {
@@ -5963,9 +5971,7 @@ func init() {
}
}
}
}
},
"/bucket/{bucket}/access-rules/{prefix}": {
},
"delete": {
"tags": [
"AdminAPI"
@@ -5980,10 +5986,12 @@ func init() {
"required": true
},
{
"type": "string",
"name": "prefix",
"in": "path",
"required": true
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/prefixWrapper"
}
}
],
"responses": {
@@ -10102,6 +10110,14 @@ func init() {
}
}
},
"prefixWrapper": {
"type": "object",
"properties": {
"prefix": {
"type": "string"
}
}
},
"principal": {
"type": "object",
"properties": {