Skip to content

Cannot Override ForceHttps/ForceHttp #391

@ctraftoncodes

Description

@ctraftoncodes

Describe the issue
The documentation for OpenApiOptions states that consumers may override this option when inheriting from DefaultOpenApiConfigurationOptions. However, these properties are not marked virtual and therefore cannot be overridden.

Default OpenAPI Configuration

To Reproduce
Steps to reproduce the behavior:

  1. Create a class that overrides the DefaultOpenApiConfigurationOptions and attempt to override ForceHttps or ForceHttp.
    image

Expected behavior
I am not sure what the expectation is. The documentation shows these values being overrideable but they are not marked virtual. Can you please help me to understand why these are not marked virtual if this is intentional?

If not, could they be made virtual?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions