azure-functions-openapi-extension
azure-functions-openapi-extension copied to clipboard
Add ability to dynamically configure IOpenApiHttpTriggerAuthorization and inject them at runtime
Describe the issue Similar to #430, I have a need to be able to dynamically generate the IOpenApiConfigurationOptions at runtime as opposed to using a concrete class such as DefaultOpenApiHttpTriggerAuthorization or one based on it.
Example:
services.AddSingleton<IOpenApiHttpTriggerAuthorization, SampleOpenApiHttpTriggerAuthorization>();
Additional context I think this would be a great addition that could be utilized by many people!