Skip to content

Remove strictmiddleware handler declarations #180

Closed

Description

@mromaszewicz

https://github.com/oapi-codegen/runtime/tree/main/strictmiddleware contains simple middleware handler declarations which force us to pull every single router that we support as a dependency in go.mod.

As of oapi-codegen release v2.7.0, we don't need these declarations, because the generated code emits their own declarations.

We should remove these from the runtime, as they've not been needed for a little while, which makes future maintenance a lot easier and removes the need for everyone to drag in all those different routers into their go.mod, along with their transitive dependencies.

Activity

  1. added a commit that references this issue on Nov 20, 2026
    171731d
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