Azure / Azure/azure-functions-openapi-extension
How to access OpenApiConfigurationOptions from within the TypeVisitors
Open
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
For #451 , I want to be able to access the `OpenApiConfigurationOptions` from within the `TypeVisitor`s. What's the best way to do that? The only way forward I can currently see is to rewire the `Activator.CreateInstance` calls: https://github.com/Azure/azure-functions-openapi-extension/blob/982ad226abd7f744c424a366fb93bb05d17edba6/src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Visitors/VisitorCollection.cs#L53
to pass `OpenApiConfigurationOptions` as a constructor param.
Should I just do that?
Contributor guide
Assessment
This issue has not been assessed yet.