summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-08-06 00:54:06 +0200
committerValery Piashchynski <[email protected]>2022-08-06 00:54:06 +0200
commitc92a4921f042731c789c3fd36b52eb5286140ca0 (patch)
tree9a3fc81440c3e1ae3830f7139ea84ee148d786ce /schemas
parent5239078fd1fd8ad9e0b8933d389ebf71cf283f9b (diff)
release: v2.11.0-beta.3
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'schemas')
-rw-r--r--schemas/config/2.0.schema.json43
1 files changed, 11 insertions, 32 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index fda79cc4..14f20620 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -391,42 +391,21 @@
]
},
"cache": {
- "description": "RFC 7234 cache middleware",
+ "description": "RFC 7234 Souin cache: https://github.com/darkweak/souin/tree/master/plugins/roadrunner",
"type": "object",
"properties": {
- "driver": {
- "description": "Driver to store cached responses",
- "type": "string",
- "items": {
- "maxItems": 1,
- "type": "string",
- "enum": [
- "memory"
- ]
- },
- "default": "memory"
- },
- "cache_methods": {
- "type": "array",
- "default": "GET",
- "items": {
- "type": "string",
- "description": "HTTP methods to cache",
- "enum": [
- "GET",
- "POST",
- "HEAD"
- ]
+ "api": {
+ "description": "The cache-handler API cache management",
+ "type": "object",
+ "properties": {
+ "basepath": {
+ "description": "Default route basepath for every additional APIs to avoid conflicts with existing routes",
+ "type": "string",
+ "default": null
+ }
}
- },
- "config": {
- "description": "Cache driver configuration",
- "type": "object"
}
- },
- "required": [
- "config"
- ]
+ }
},
"new_relic": {
"description": "New Relic middleware",