Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When running IOpenApiDocumentTransformer
, it would be logical to have the ability to modify the OpenApiDocument.Components.Schemas
to make any adjustments. The OpenApiDocument.Components
is null.
aspnetcore/src/OpenApi/src/Services/OpenApiDocumentService.cs
Lines 100 to 106 in 049814c
The await _schemaReferenceTransformer.TransformAsync(document, documentTransformerContext, cancellationToken)
populates the Components.Schemas
, but that happens after the document transformers are run.
Expected Behavior
It should be possible to modify Components.Schemas in the IOpenApiDocumentTransformer
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.NET 9 RC2
Anything else?
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment