Skip to content

Commit

Permalink
Add missing minProperties
Browse files Browse the repository at this point in the history
Correctly define channel overrides
  • Loading branch information
nickdnk committed Oct 25, 2024
1 parent 9cc19f4 commit 38b1a94
Showing 1 changed file with 27 additions and 20 deletions.
47 changes: 27 additions & 20 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "All the valid configuration parameters for the Logger plugin for RoadRunner.",
"type": "object",
"title": "roadrunner-logger",
"minProperties": 1,
"additionalProperties": false,
"properties": {
"mode": {
Expand Down Expand Up @@ -34,26 +35,32 @@
"minProperties": 1,
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"mode": {
"$ref": "#/$defs/LogMode"
},
"level": {
"$ref": "#/$defs/LogLevel"
},
"line_ending": {
"$ref": "#/$defs/LogLineEnding"
},
"encoding": {
"$ref": "#/$defs/LogEncoding"
},
"output": {
"$ref": "#/$defs/LogOutput"
},
"err_output": {
"$ref": "#/$defs/LogOutput"
},
"file_logger_options": {
"$ref": "#/$defs/FileLoggerOptions"
"description": "Custom logging options for the plugin specified as this object's key.",
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"mode": {
"$ref": "#/$defs/LogMode"
},
"level": {
"$ref": "#/$defs/LogLevel"
},
"line_ending": {
"$ref": "#/$defs/LogLineEnding"
},
"encoding": {
"$ref": "#/$defs/LogEncoding"
},
"output": {
"$ref": "#/$defs/LogOutput"
},
"err_output": {
"$ref": "#/$defs/LogOutput"
},
"file_logger_options": {
"$ref": "#/$defs/FileLoggerOptions"
}
}
}
}
Expand Down

0 comments on commit 38b1a94

Please sign in to comment.