forked from fabianrbz/kong-plugins-docs-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
83 changed files
with
17,323 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"properties": { | ||
"config": { | ||
"properties": { | ||
"allow": { | ||
"description": "Arbitrary group names that are allowed to consume the service or route. One of `config.allow` or `config.deny` must be specified.", | ||
"items": { | ||
"required": [], | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"deny": { | ||
"description": "Arbitrary group names that are not allowed to consume the service or route. One of `config.allow` or `config.deny` must be specified.", | ||
"items": { | ||
"required": [], | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"hide_groups_header": { | ||
"default": false, | ||
"description": "If enabled (`true`), prevents the `X-Consumer-Groups` header from being sent in the request to the upstream service.", | ||
"type": "boolean" | ||
}, | ||
"include_consumer_groups": { | ||
"default": false, | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [], | ||
"type": "object" | ||
}, | ||
"protocols": { | ||
"default": [ | ||
"grpc", | ||
"grpcs", | ||
"http", | ||
"https" | ||
], | ||
"description": "A set of strings representing HTTP protocols.", | ||
"items": { | ||
"enum": [ | ||
"grpc", | ||
"grpcs", | ||
"http", | ||
"https" | ||
], | ||
"required": [], | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"route": { | ||
"additionalProperties": false, | ||
"description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.", | ||
"properties": { | ||
"id": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [], | ||
"type": "object" | ||
}, | ||
"service": { | ||
"additionalProperties": false, | ||
"description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.", | ||
"properties": { | ||
"id": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [], | ||
"type": "object" | ||
} | ||
}, | ||
"required": [] | ||
} |
Oops, something went wrong.