Skip to content

Commit 38acfdf

Browse files
authored
create include for doc providerin DI (#35427)
1 parent e90d38a commit 38acfdf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)