You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename DocumentService to CustomDocumentService in sample code
Fixes#36433 - Clarifies that the sample class is a user-defined service
to prevent confusion with internal framework types like OpenApiDocumentService.
Co-authored-by: wadepickett <[email protected]>
Copy file name to clipboardExpand all lines: aspnetcore/fundamentals/openapi/using-openapi-documents.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to use OpenAPI documents in an ASP.NET Core app.
5
5
ms.author: safia
6
6
monikerRange: '>= aspnetcore-6.0'
7
7
ms.custom: mvc
8
-
ms.date: 08/04/2025
8
+
ms.date: 12/04/2025
9
9
uid: fundamentals/openapi/using-openapi-documents
10
10
---
11
11
# Use openAPI documents
@@ -105,11 +105,11 @@ The output shows any issues with the OpenAPI document. For example:
105
105
You can inject <xref:Microsoft.AspNetCore.OpenApi.IOpenApiDocumentProvider> into your services through dependency injection to access OpenAPI documents programmatically, even outside HTTP request contexts.
0 commit comments