Skip to content

Commit 0deeaa7

Browse files
authored
Updates test schema and adjusts title (#372)
1 parent 8c2dbc9 commit 0deeaa7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

schemas/FeatureManagement.Dotnet.v1.0.0.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"definitions": {},
33
"$schema": "http://json-schema.org/draft-07/schema#",
44
"type": "object",
5-
"title": "The .NET Feature Management Schema",
5+
"title": "A .NET Feature Management Configuration",
66
"required": [],
77
"patternProperties": {
88
"^[^:]*$": {

src/Microsoft.FeatureManagement/ConfigurationFeatureDefinitionProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ We support
206206
enabledFor: false
207207
},
208208
myAllRequiredFilterFeature: {
209-
requirementType: "all",
209+
requirementType: "All",
210210
enabledFor: [{name: "myFeatureFilter1"}, {name: "myFeatureFilter2"}]
211211
}
212212

tests/Tests.FeatureManagement/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"OnTestFeature": true,
1111
"OffTestFeature": false,
1212
"FeatureUsesFiltersWithDuplicatedAlias": {
13-
"RequirementType": "all",
13+
"RequirementType": "All",
1414
"EnabledFor": [
1515
{
1616
"Name": "DuplicatedFilterName"
@@ -145,7 +145,7 @@
145145
]
146146
},
147147
"AllFilterFeature": {
148-
"RequirementType": "all",
148+
"RequirementType": "All",
149149
"EnabledFor": [
150150
{
151151
"Name": "Test",

0 commit comments

Comments
 (0)