Skip to content

Commit 059549b

Browse files
committed
test: update snapshots
1 parent d447cdc commit 059549b

6 files changed

+19
-7
lines changed

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/AddOpenApiTests.CanInterceptAddOpenApi#OpenApiXmlCommentSupport.generated.verified.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ private static Dictionary<string, XmlComment> GenerateCacheEntries()
7575
}
7676
}
7777

78+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
7879
file static class DocumentationCommentIdHelper
7980
{
8081
/// <summary>
@@ -426,6 +427,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
426427
}
427428
}
428429

430+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
429431
file static class JsonNodeExtensions
430432
{
431433
public static JsonNode? Parse(this string? json)
@@ -475,7 +477,7 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services, st
475477
options.AddOperationTransformer(new XmlCommentOperationTransformer());
476478
});
477479
}
478-
480+
479481
[InterceptsLocation]
480482
public static IServiceCollection AddOpenApi(this IServiceCollection services, Action<OpenApiOptions> configureOptions)
481483
{
@@ -500,4 +502,4 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services, st
500502
}
501503

502504
}
503-
}
505+
}

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/AdditionalTextsTests.CanHandleXmlForSchemasInAdditionalTexts#OpenApiXmlCommentSupport.generated.verified.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ private static Dictionary<string, XmlComment> GenerateCacheEntries()
104104
}
105105
}
106106

107+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
107108
file static class DocumentationCommentIdHelper
108109
{
109110
/// <summary>
@@ -455,6 +456,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
455456
}
456457
}
457458

459+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
458460
file static class JsonNodeExtensions
459461
{
460462
public static JsonNode? Parse(this string? json)
@@ -497,4 +499,4 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services)
497499
}
498500

499501
}
500-
}
502+
}

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/CompletenessTests.SupportsAllXmlTagsOnSchemas#OpenApiXmlCommentSupport.generated.verified.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ method as a cref attribute.
196196
}
197197
}
198198

199+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
199200
file static class DocumentationCommentIdHelper
200201
{
201202
/// <summary>
@@ -547,6 +548,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
547548
}
548549
}
549550

551+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
550552
file static class JsonNodeExtensions
551553
{
552554
public static JsonNode? Parse(this string? json)
@@ -589,4 +591,4 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services)
589591
}
590592

591593
}
592-
}
594+
}

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/OperationTests.SupportsXmlCommentsOnOperationsFromControllers#OpenApiXmlCommentSupport.generated.verified.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ private static Dictionary<string, XmlComment> GenerateCacheEntries()
7979
}
8080
}
8181

82+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
8283
file static class DocumentationCommentIdHelper
8384
{
8485
/// <summary>
@@ -430,6 +431,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
430431
}
431432
}
432433

434+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
433435
file static class JsonNodeExtensions
434436
{
435437
public static JsonNode? Parse(this string? json)
@@ -472,4 +474,4 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services)
472474
}
473475

474476
}
475-
}
477+
}

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/OperationTests.SupportsXmlCommentsOnOperationsFromMinimalApis#OpenApiXmlCommentSupport.generated.verified.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private static Dictionary<string, XmlComment> GenerateCacheEntries()
9797
}
9898
}
9999

100+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
100101
file static class DocumentationCommentIdHelper
101102
{
102103
/// <summary>
@@ -448,6 +449,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
448449
}
449450
}
450451

452+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
451453
file static class JsonNodeExtensions
452454
{
453455
public static JsonNode? Parse(this string? json)
@@ -490,4 +492,4 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services)
490492
}
491493

492494
}
493-
}
495+
}

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/SchemaTests.SupportsXmlCommentsOnSchemas#OpenApiXmlCommentSupport.generated.verified.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ private static Dictionary<string, XmlComment> GenerateCacheEntries()
105105
}
106106
}
107107

108+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
108109
file static class DocumentationCommentIdHelper
109110
{
110111
/// <summary>
@@ -456,6 +457,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
456457
}
457458
}
458459

460+
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.OpenApi.SourceGenerators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")]
459461
file static class JsonNodeExtensions
460462
{
461463
public static JsonNode? Parse(this string? json)
@@ -498,4 +500,4 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services)
498500
}
499501

500502
}
501-
}
503+
}

0 commit comments

Comments
 (0)