m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-19 10:23:42 -05:00

Add requirement for version key to new config

This commit is contained in:
Sergio
2024-12-07 16:28:06 +02:00
parent 33a72c8c0d
commit e5e60c4abc
2 changed files with 15 additions and 3 deletions

View File

@@ -5,6 +5,11 @@
"description": "A schema for Cup's config file",
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 3,
"maximum": 3
},
"registries": {
"type": "object",
"description": "Configuration options for specific registries",
@@ -57,5 +62,6 @@
"type": "string",
"minLength": 1
}
}
},
"required": ["version"]
}