Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b45b3ff

Browse files
Remove Experimental attribute from AddOpenApiForJsonApi, now that preview packages are deployed on NuGet (#1724)
1 parent 7a59c74 commit b45b3ff

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

‎src/Examples/JsonApiDotNetCoreExample/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ static void ConfigureServices(WebApplicationBuilder builder)
7979

8080
using (CodeTimingSessionManager.Current.Measure("AddOpenApiForJsonApi()"))
8181
{
82-
#pragma warning disable JADNC_OA_001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
8382
builder.Services.AddOpenApiForJsonApi(options => options.DocumentFilter<SetOpenApiServerAtBuildTimeFilter>());
84-
#pragma warning restore JADNC_OA_001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
8583
}
8684
}
8785

‎src/JsonApiDotNetCore.OpenApi.Swashbuckle/ServiceCollectionExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Diagnostics.CodeAnalysis;
21
using JsonApiDotNetCore.Configuration;
32
using JsonApiDotNetCore.Middleware;
43
using JsonApiDotNetCore.OpenApi.Swashbuckle.JsonApiMetadata;
@@ -21,7 +20,6 @@ public static class ServiceCollectionExtensions
2120
/// <summary>
2221
/// Configures OpenAPI for JsonApiDotNetCore using Swashbuckle.
2322
/// </summary>
24-
[Experimental("JADNC_OA_001", UrlFormat = "https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/docs/usage/openapi.md")]
2523
public static void AddOpenApiForJsonApi(this IServiceCollection services, Action<SwaggerGenOptions>? configureSwaggerGenOptions = null)
2624
{
2725
ArgumentNullException.ThrowIfNull(services);

‎test/OpenApiTests/OpenApiStartup.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ public class OpenApiStartup<TDbContext> : TestableStartup<TDbContext>
1414
public override void ConfigureServices(IServiceCollection services)
1515
{
1616
base.ConfigureServices(services);
17-
18-
#pragma warning disable JADNC_OA_001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
1917
services.AddOpenApiForJsonApi(SetupSwaggerGenAction);
20-
#pragma warning restore JADNC_OA_001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
2118
}
2219

2320
protected override void SetJsonApiOptions(JsonApiOptions options)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /