@@ -126,8 +126,8 @@ async Task InvalidIntegerWithRangeProducesError(Endpoint endpoint)
126126                var  problemDetails  =  await  AssertBadRequest ( context ) ; 
127127                Assert . Collection ( problemDetails . Errors ,  kvp => 
128128                { 
129-                     Assert . Equal ( "IntegerWithRange " ,  kvp . Key ) ; 
130-                     Assert . Equal ( "The field IntegerWithRange  must be between 10 and 100." ,  kvp . Value . Single ( ) ) ; 
129+                     Assert . Equal ( "integerWithRange " ,  kvp . Key ) ; 
130+                     Assert . Equal ( "The field integerWithRange  must be between 10 and 100." ,  kvp . Value . Single ( ) ) ; 
131131                } ) ; 
132132            } 
133133
@@ -145,7 +145,7 @@ async Task InvalidIntegerWithRangeAndDisplayNameProducesError(Endpoint endpoint)
145145                var  problemDetails  =  await  AssertBadRequest ( context ) ; 
146146                Assert . Collection ( problemDetails . Errors ,  kvp => 
147147                { 
148-                     Assert . Equal ( "IntegerWithRangeAndDisplayName " ,  kvp . Key ) ; 
148+                     Assert . Equal ( "integerWithRangeAndDisplayName " ,  kvp . Key ) ; 
149149                    Assert . Equal ( "The field Valid identifier must be between 10 and 100." ,  kvp . Value . Single ( ) ) ; 
150150                } ) ; 
151151            } 
@@ -164,8 +164,8 @@ async Task MissingRequiredSubtypePropertyProducesError(Endpoint endpoint)
164164                var  problemDetails  =  await  AssertBadRequest ( context ) ; 
165165                Assert . Collection ( problemDetails . Errors ,  kvp => 
166166                { 
167-                     Assert . Equal ( "PropertyWithMemberAttributes " ,  kvp . Key ) ; 
168-                     Assert . Equal ( "The PropertyWithMemberAttributes  field is required." ,  kvp . Value . Single ( ) ) ; 
167+                     Assert . Equal ( "propertyWithMemberAttributes " ,  kvp . Key ) ; 
168+                     Assert . Equal ( "The propertyWithMemberAttributes  field is required." ,  kvp . Value . Single ( ) ) ; 
169169                } ) ; 
170170            } 
171171
@@ -187,13 +187,13 @@ async Task InvalidRequiredSubtypePropertyProducesError(Endpoint endpoint)
187187                Assert . Collection ( problemDetails . Errors , 
188188                kvp => 
189189                { 
190-                     Assert . Equal ( "PropertyWithMemberAttributes.RequiredProperty " ,  kvp . Key ) ; 
191-                     Assert . Equal ( "The RequiredProperty  field is required." ,  kvp . Value . Single ( ) ) ; 
190+                     Assert . Equal ( "propertyWithMemberAttributes.requiredProperty " ,  kvp . Key ) ; 
191+                     Assert . Equal ( "The requiredProperty  field is required." ,  kvp . Value . Single ( ) ) ; 
192192                } , 
193193                kvp => 
194194                { 
195-                     Assert . Equal ( "PropertyWithMemberAttributes.StringWithLength " ,  kvp . Key ) ; 
196-                     Assert . Equal ( "The field StringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
195+                     Assert . Equal ( "propertyWithMemberAttributes.stringWithLength " ,  kvp . Key ) ; 
196+                     Assert . Equal ( "The field stringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
197197                } ) ; 
198198            } 
199199
@@ -216,18 +216,18 @@ async Task InvalidSubTypeWithInheritancePropertyProducesError(Endpoint endpoint)
216216                Assert . Collection ( problemDetails . Errors , 
217217                kvp => 
218218                { 
219-                     Assert . Equal ( "PropertyWithInheritance.EmailString " ,  kvp . Key ) ; 
220-                     Assert . Equal ( "The EmailString  field is not a valid e-mail address." ,  kvp . Value . Single ( ) ) ; 
219+                     Assert . Equal ( "propertyWithInheritance.emailString " ,  kvp . Key ) ; 
220+                     Assert . Equal ( "The emailString  field is not a valid e-mail address." ,  kvp . Value . Single ( ) ) ; 
221221                } , 
222222                kvp => 
223223                { 
224-                     Assert . Equal ( "PropertyWithInheritance.RequiredProperty " ,  kvp . Key ) ; 
225-                     Assert . Equal ( "The RequiredProperty  field is required." ,  kvp . Value . Single ( ) ) ; 
224+                     Assert . Equal ( "propertyWithInheritance.requiredProperty " ,  kvp . Key ) ; 
225+                     Assert . Equal ( "The requiredProperty  field is required." ,  kvp . Value . Single ( ) ) ; 
226226                } , 
227227                kvp => 
228228                { 
229-                     Assert . Equal ( "PropertyWithInheritance.StringWithLength " ,  kvp . Key ) ; 
230-                     Assert . Equal ( "The field StringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
229+                     Assert . Equal ( "propertyWithInheritance.stringWithLength " ,  kvp . Key ) ; 
230+                     Assert . Equal ( "The field stringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
231231                } ) ; 
232232            } 
233233
@@ -259,18 +259,18 @@ async Task InvalidListOfSubTypesProducesError(Endpoint endpoint)
259259                Assert . Collection ( problemDetails . Errors , 
260260                kvp => 
261261                { 
262-                     Assert . Equal ( "ListOfSubTypes [0].RequiredProperty " ,  kvp . Key ) ; 
263-                     Assert . Equal ( "The RequiredProperty  field is required." ,  kvp . Value . Single ( ) ) ; 
262+                     Assert . Equal ( "listOfSubTypes [0].requiredProperty " ,  kvp . Key ) ; 
263+                     Assert . Equal ( "The requiredProperty  field is required." ,  kvp . Value . Single ( ) ) ; 
264264                } , 
265265                kvp => 
266266                { 
267-                     Assert . Equal ( "ListOfSubTypes [0].StringWithLength " ,  kvp . Key ) ; 
268-                     Assert . Equal ( "The field StringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
267+                     Assert . Equal ( "listOfSubTypes [0].stringWithLength " ,  kvp . Key ) ; 
268+                     Assert . Equal ( "The field stringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
269269                } , 
270270                kvp => 
271271                { 
272-                     Assert . Equal ( "ListOfSubTypes [1].StringWithLength " ,  kvp . Key ) ; 
273-                     Assert . Equal ( "The field StringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
272+                     Assert . Equal ( "listOfSubTypes [1].stringWithLength " ,  kvp . Key ) ; 
273+                     Assert . Equal ( "The field stringWithLength  must be a string with a maximum length of 10." ,  kvp . Value . Single ( ) ) ; 
274274                } ) ; 
275275            } 
276276
@@ -288,7 +288,7 @@ async Task InvalidPropertyWithDerivedValidationAttributeProducesError(Endpoint e
288288                var  problemDetails  =  await  AssertBadRequest ( context ) ; 
289289                Assert . Collection ( problemDetails . Errors ,  kvp => 
290290                { 
291-                     Assert . Equal ( "IntegerWithDerivedValidationAttribute " ,  kvp . Key ) ; 
291+                     Assert . Equal ( "integerWithDerivedValidationAttribute " ,  kvp . Key ) ; 
292292                    Assert . Equal ( "Value must be an even number" ,  kvp . Value . Single ( ) ) ; 
293293                } ) ; 
294294            } 
@@ -297,7 +297,7 @@ async Task InvalidPropertyWithMultipleAttributesProducesError(Endpoint endpoint)
297297            { 
298298                var  payload  =  """ 
299299                { 
300-                     "PropertyWithMultipleAttributes ": 5 
300+                     "propertyWithMultipleAttributes ": 5 
301301                } 
302302                """ ; 
303303                var  context  =  CreateHttpContextWithPayload ( payload ,  serviceProvider ) ; 
@@ -307,15 +307,15 @@ async Task InvalidPropertyWithMultipleAttributesProducesError(Endpoint endpoint)
307307                var  problemDetails  =  await  AssertBadRequest ( context ) ; 
308308                Assert . Collection ( problemDetails . Errors ,  kvp => 
309309                { 
310-                     Assert . Equal ( "PropertyWithMultipleAttributes " ,  kvp . Key ) ; 
310+                     Assert . Equal ( "propertyWithMultipleAttributes " ,  kvp . Key ) ; 
311311                    Assert . Collection ( kvp . Value , 
312312                    error => 
313313                    { 
314-                         Assert . Equal ( "The field PropertyWithMultipleAttributes  is invalid." ,  error ) ; 
314+                         Assert . Equal ( "The field propertyWithMultipleAttributes  is invalid." ,  error ) ; 
315315                    } , 
316316                    error => 
317317                    { 
318-                         Assert . Equal ( "The field PropertyWithMultipleAttributes  must be between 10 and 100." ,  error ) ; 
318+                         Assert . Equal ( "The field propertyWithMultipleAttributes  must be between 10 and 100." ,  error ) ; 
319319                    } ) ; 
320320                } ) ; 
321321            } 
@@ -335,7 +335,7 @@ async Task InvalidPropertyWithCustomValidationProducesError(Endpoint endpoint)
335335                var  problemDetails  =  await  AssertBadRequest ( context ) ; 
336336                Assert . Collection ( problemDetails . Errors ,  kvp => 
337337                { 
338-                     Assert . Equal ( "IntegerWithCustomValidation " ,  kvp . Key ) ; 
338+                     Assert . Equal ( "integerWithCustomValidation " ,  kvp . Key ) ; 
339339                    var  error  =  Assert . Single ( kvp . Value ) ; 
340340                    Assert . Equal ( "Can't use the same number value in two properties on the same class." ,  error ) ; 
341341                } ) ; 
0 commit comments