Skip to content

Commit

Permalink
[#76]: feature: add JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk authored Oct 24, 2024
1 parent 4c9bef5 commit 602d5ca
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$id": "https://raw.githubusercontent.com/roadrunner-server/memcached/refs/heads/master/schema.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"description": "All the valid configuration parameters for the Memcached plugin for RoadRunner.",
"type": "object",
"additionalProperties": false,
"properties": {
"addr": {
"description": "Addresses of the memcached node(s).",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1,
"examples": [
"localhost:11211"
]
},
"default": [
"localhost:11211"
]
}
}
}

0 comments on commit 602d5ca

Please sign in to comment.