Skip to content

Allow Endpoint specific TidyUrl configuration #24

Description

@mikoskinen

Currently ApiFrameworkOptions.AutoTidyUrls can be used to configure how api urls are tidied. This is a global option, it would be better to have this as an endpoint level option.

The problem for quickly implementing is that ApiActionConvention is the place which decided if URL is tidied or not. If we have the same api in multiple endpoints and then one endpoint option tidies the url and one doesn't the one which comes later always overrides the first. This is because the ActionModel is same for both of these endpoints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions