Skip to content

tower layer support #36

@erenatas

Description

@erenatas

Hi, creating this issue as a feature request. I really like the simplicity of oasgen, however the current structure does not allow to add tower layers between route definitions, this would be a great addition to oasgen. After some research, I realized that utoipa allows to pass layers: https://github.com/juhaku/utoipa/blob/ac71b2353e144998f50bfe38d37794f39c151027/utoipa-axum/src/router.rs#L32-L74

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions