@@ -46,6 +46,10 @@ public async Task ParseDocumentWithWebhooksShouldSucceed()
4646 "id" ,
4747 "name"
4848 } ,
49+ DependentRequired = new Dictionary < string , ISet < string > >
50+ {
51+ { "tag" , new HashSet < string > { "category" } }
52+ } ,
4953 Properties = new Dictionary < string , IOpenApiSchema >
5054 {
5155 [ "id" ] = new OpenApiSchema ( )
@@ -61,6 +65,10 @@ public async Task ParseDocumentWithWebhooksShouldSucceed()
6165 {
6266 Type = JsonSchemaType . String
6367 } ,
68+ [ "category" ] = new OpenApiSchema ( )
69+ {
70+ Type = JsonSchemaType . String ,
71+ } ,
6472 }
6573 } ,
6674 [ "newPetSchema" ] = new OpenApiSchema ( )
@@ -70,6 +78,10 @@ public async Task ParseDocumentWithWebhooksShouldSucceed()
7078 {
7179 "name"
7280 } ,
81+ DependentRequired = new Dictionary < string , ISet < string > >
82+ {
83+ { "tag" , new HashSet < string > { "category" } }
84+ } ,
7385 Properties = new Dictionary < string , IOpenApiSchema >
7486 {
7587 [ "id" ] = new OpenApiSchema ( )
@@ -85,6 +97,10 @@ public async Task ParseDocumentWithWebhooksShouldSucceed()
8597 {
8698 Type = JsonSchemaType . String
8799 } ,
100+ [ "category" ] = new OpenApiSchema ( )
101+ {
102+ Type = JsonSchemaType . String ,
103+ } ,
88104 }
89105 }
90106 }
@@ -222,6 +238,10 @@ public async Task ParseDocumentsWithReusablePathItemInWebhooksSucceeds()
222238 "id" ,
223239 "name"
224240 } ,
241+ DependentRequired = new Dictionary < string , ISet < string > >
242+ {
243+ { "tag" , new HashSet < string > { "category" } }
244+ } ,
225245 Properties = new Dictionary < string , IOpenApiSchema >
226246 {
227247 [ "id" ] = new OpenApiSchema ( )
@@ -237,6 +257,10 @@ public async Task ParseDocumentsWithReusablePathItemInWebhooksSucceeds()
237257 {
238258 Type = JsonSchemaType . String
239259 } ,
260+ [ "category" ] = new OpenApiSchema ( )
261+ {
262+ Type = JsonSchemaType . String ,
263+ } ,
240264 }
241265 } ,
242266 [ "newPetSchema" ] = new OpenApiSchema ( )
@@ -246,6 +270,10 @@ public async Task ParseDocumentsWithReusablePathItemInWebhooksSucceeds()
246270 {
247271 "name"
248272 } ,
273+ DependentRequired = new Dictionary < string , ISet < string > >
274+ {
275+ { "tag" , new HashSet < string > { "category" } }
276+ } ,
249277 Properties = new Dictionary < string , IOpenApiSchema >
250278 {
251279 [ "id" ] = new OpenApiSchema ( )
@@ -261,6 +289,10 @@ public async Task ParseDocumentsWithReusablePathItemInWebhooksSucceeds()
261289 {
262290 Type = JsonSchemaType . String
263291 } ,
292+ [ "category" ] = new OpenApiSchema ( )
293+ {
294+ Type = JsonSchemaType . String ,
295+ } ,
264296 }
265297 }
266298 }
0 commit comments