Skip to content

Commit e59acb0

Browse files
committed
One more try with fingers crossed
1 parent 3673d4f commit e59acb0

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/OpenApi/src/Extensions/OpenApiServiceCollectionExtensions.cs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
using Microsoft.AspNetCore;
45
using Microsoft.AspNetCore.Http.Json;
56
using Microsoft.AspNetCore.OpenApi;
67
using Microsoft.Extensions.ApiDescriptions;
@@ -20,8 +21,8 @@ public static class OpenApiServiceCollectionExtensions
2021
/// <param name="services">The <see cref="IServiceCollection"/> to register services onto.</param>
2122
/// <param name="documentName">The name of the OpenAPI document associated with registered services.</param>
2223
/// <example>
23-
/// This method is commonly used to add OpenAPI services to the service collection of a
24-
/// <see cref="WebApplicationBuilder"/>, as shown in the following example:
24+
/// This method is commonly used to add OpenAPI services to the <see cref="WebApplicationBuilder.Services"/>
25+
/// of a <see cref="WebApplicationBuilder"/>, as shown in the following example:
2526
/// <code>
2627
/// var builder = WebApplication.CreateBuilder(args);
2728
/// builder.Services.AddOpenApi("MyWebApi");
@@ -41,8 +42,8 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services, st
4142
/// <param name="documentName">The name of the OpenAPI document associated with registered services.</param>
4243
/// <param name="configureOptions">A delegate used to configure the target <see cref="OpenApiOptions"/>.</param>
4344
/// <example>
44-
/// This method is commonly used to add OpenAPI services to the service collection of a
45-
/// <see cref="WebApplicationBuilder"/>, as shown in the following example:
45+
/// This method is commonly used to add OpenAPI services to the <see cref="WebApplicationBuilder.Services"/>
46+
/// of a <see cref="WebApplicationBuilder"/>, as shown in the following example:
4647
/// <code>
4748
/// var builder = WebApplication.CreateBuilder(args);
4849
/// builder.Services.AddOpenApi("MyWebApi", options => {
@@ -71,8 +72,8 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services, st
7172
/// <param name="services">The <see cref="IServiceCollection"/> to register services onto.</param>
7273
/// <param name="configureOptions">A delegate used to configure the target <see cref="OpenApiOptions"/>.</param>
7374
/// <example>
74-
/// This method is commonly used to add OpenAPI services to the service collection of a
75-
/// <see cref="WebApplicationBuilder"/>, as shown in the following example:
75+
/// This method is commonly used to add OpenAPI services to the <see cref="WebApplicationBuilder.Services"/>
76+
/// of a <see cref="WebApplicationBuilder"/>, as shown in the following example:
7677
/// <code>
7778
/// var builder = WebApplication.CreateBuilder(args);
7879
/// builder.Services.AddOpenApi(options => {
@@ -89,8 +90,8 @@ public static IServiceCollection AddOpenApi(this IServiceCollection services, Ac
8990
/// </summary>
9091
/// <param name="services">The <see cref="IServiceCollection"/> to register services onto.</param>
9192
/// <example>
92-
/// This method is commonly used to add OpenAPI services to the service collection of a
93-
/// <see cref="WebApplicationBuilder"/>, as shown in the following example:
93+
/// This method is commonly used to add OpenAPI services to the <see cref="WebApplicationBuilder.Services"/>
94+
/// of a <see cref="WebApplicationBuilder"/>, as shown in the following example:
9495
/// <code>
9596
/// var builder = WebApplication.CreateBuilder(args);
9697
/// builder.Services.AddOpenApi();

src/OpenApi/src/Microsoft.AspNetCore.OpenApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<Reference Include="Microsoft.AspNetCore.Routing" />
2121
<Reference Include="Microsoft.AspNetCore.Mvc.Core" />
2222
<Reference Include="Microsoft.AspNetCore.Mvc.ApiExplorer" />
23-
<Reference Include="Microsoft.AspNetCore.Builder" />
23+
<Reference Include="Microsoft.AspNetCore" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

0 commit comments

Comments
 (0)