We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90d38a commit 38acfdfCopy full SHA for 38acfdf
aspnetcore/release-notes/aspnetcore-10/includes/doc-provider-in-di.md
@@ -0,0 +1,6 @@
1
+## Support for IOpenApiDocumentProvider in the DI container.
2
+<!-- https://github.com/dotnet/aspnetcore/pull/61463 -->
3
+ASP.NET has added support for `IOpenApiDocumentProvider` in the DI container.
4
+This allows you to inject the `IOpenApiDocumentProvider` into your application and use it to access the OpenAPI document.
5
+This is useful for scenarios where you need to access the OpenAPI document outside of the context of an HTTP request,
6
+such as in a background service or a custom middleware.
0 commit comments