Skip to content
This repository has been archived by the owner on Feb 28, 2019. It is now read-only.

Commit

Permalink
Update to remove list of RuleSets
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sandusky committed Jan 3, 2018
1 parent 3479f5e commit ddd736f
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions public/r2/v1/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"tags": [
"namespaces"
],
"summary": "Performs rules validation on the given Namespace and list of RuleSets.",
"summary": "Performs rules validation on the given Namespace and RuleSet.",
"operationId": "validateNamespace",
"consumes": [
"application/json"
Expand All @@ -200,17 +200,17 @@
"parameters": [
{
"in": "body",
"name": "rule-sets",
"description": "The rule-sets to validate.",
"name": "rule-set",
"description": "The rule-set to validate.",
"required": true,
"schema": {
"$ref": "#/definitions/RuleSets"
"$ref": "#/definitions/RuleSet"
}
},
{
"in": "body",
"name": "namespace",
"description": "The namespace to validate.",
"description": "The namespace id to validate.",
"required": true,
"schema": {
"$ref": "#/definitions/Namespace"
Expand All @@ -219,13 +219,13 @@
],
"responses": {
"200": {
"description": "The namespace is valid.",
"description": "The namespace and rule-set is valid.",
"schema": {
"$ref": "#/definitions/ApiResponse"
}
},
"400": {
"description": "The namespace is invalid.",
"description": "The namespace or rule-set is invalid.",
"schema": {
"$ref": "#/definitions/ApiResponse"
}
Expand Down Expand Up @@ -879,12 +879,6 @@
}
}
},
"RuleSets": {
"type": "array",
"items": {
"$ref": "#/definitions/RuleSet"
}
},
"Policies": {
"type": "array",
"items": {
Expand Down

0 comments on commit ddd736f

Please sign in to comment.