File tree 1 file changed +5
-4
lines changed
test/OpenApiTests/NamingConventions/CamelCase
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,15 @@ public async Task Casing_convention_is_applied_to_GetCollection_endpoint()
62
62
propertiesElement . Should ( ) . ContainProperty ( "next" ) ;
63
63
} ) ;
64
64
65
- string ? linksInResourceObject = null ;
65
+ string ? linksInResourceObjectSchemaRefId = null ;
66
+ string ? primaryResourceTypeSchemaRefId = null ;
66
67
string ? resourceAttributesInResponseSchemaRefId = null ;
67
68
string ? resourceRelationshipInResponseSchemaRefId = null ;
68
- string ? primaryResourceTypeSchemaRefId = null ;
69
69
70
70
schemasElement . ShouldContainPath ( $ "{ resourceDataSchemaRefId } .properties") . With ( propertiesElement =>
71
71
{
72
- linksInResourceObject = propertiesElement . ShouldContainPath ( "links.$ref" ) . ShouldBeSchemaReferenceId ( "linksInResourceObject" ) . SchemaReferenceId ;
72
+ linksInResourceObjectSchemaRefId = propertiesElement . ShouldContainPath ( "links.$ref" ) . ShouldBeSchemaReferenceId ( "linksInResourceObject" )
73
+ . SchemaReferenceId ;
73
74
74
75
primaryResourceTypeSchemaRefId = propertiesElement . ShouldContainPath ( "type.$ref" ) . ShouldBeSchemaReferenceId ( "supermarketResourceType" )
75
76
. SchemaReferenceId ;
@@ -81,7 +82,7 @@ public async Task Casing_convention_is_applied_to_GetCollection_endpoint()
81
82
. ShouldBeSchemaReferenceId ( "supermarketRelationshipsInResponse" ) . SchemaReferenceId ;
82
83
} ) ;
83
84
84
- schemasElement . ShouldContainPath ( $ "{ linksInResourceObject } .properties") . With ( propertiesElement =>
85
+ schemasElement . ShouldContainPath ( $ "{ linksInResourceObjectSchemaRefId } .properties") . With ( propertiesElement =>
85
86
{
86
87
propertiesElement . Should ( ) . ContainProperty ( "self" ) ;
87
88
} ) ;
You can’t perform that action at this time.
0 commit comments