Skip to content

Route Prefixes and Versions #1511

Open
Open
@alexrabin

Description

@alexrabin

Description

Just wanted to say thank you so much for this package. I love it.

Okay so I was curious if it would be possible to allow the developer to add a global route prefix and possibly specify a version for the route. Like in Nest.js with global prefixes and Versioning.

So for example, i want my api’s to start with “/api/v1/“. Right now I would have to create two folders and then put all my routes in those folders but instead I’d like to be able to specify the global prefix in the custom server endpoint and then within each route I’d like to then specify the version of the route.

Requirements

  • All CI/CD checks are passing.
  • There is no drop in the test coverage percentage.
  • Developer can specify a global prefix
  • Developer can specify versions for routes

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature or requestp3Issues that we currently consider unimportant

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions