Skip to content

Swagger should be reserved when creating users (or: move /swagger to a different path) #2745

Closed
@thehowl

Description

@thehowl

Description

At the moment, if you try to access /swagger, it will not show the organization I created, but the org does exist. In order to address this issue, we should either forbid users creating new orgs or users with the name swagger (adding it to the list of blacklisted usernames), or move /swagger somewhere else (but thus generating some linkrot on gitea instances - perhaps redirect to new URL if there is no org, and show the org if there is one)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions