Skip to content

Commit b65e290

Browse files
authored
fix: rename definitions/authentication in schema to make it more inutitive
There are two `authentication` elements in the config schema, which is confusing and can be made more intuitive by renaming one of them (as it is an element of the other) Signed-off-by: Kris West <kristopher.west@natwest.com>
1 parent 7030df1 commit b65e290

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"description": "List of authentication sources. The first source in the configuration with enabled=true will be used.",
119119
"type": "array",
120120
"items": {
121-
"$ref": "#/definitions/authentication"
121+
"$ref": "#/definitions/authenticationElement"
122122
}
123123
},
124124
"tempPassword": {
@@ -136,7 +136,7 @@
136136
"description": "List of authentication sources for API endpoints. May be empty, in which case all endpoints are public.",
137137
"type": "array",
138138
"items": {
139-
"$ref": "#/definitions/authentication"
139+
"$ref": "#/definitions/authenticationElement"
140140
}
141141
},
142142
"tls": {
@@ -206,7 +206,7 @@
206206
},
207207
"required": ["type", "enabled"]
208208
},
209-
"authentication": {
209+
"authenticationElement": {
210210
"type": "object",
211211
"description": "Configuration for an authentication source",
212212
"oneOf": [

0 commit comments

Comments
 (0)