Skip to content

Non-UUID keyid in /apikeys path causes incorrect responses for GET, DELETE, and POST in apikey endpoint #785

Description

@wenyang-cao

when {keyid} is not a valid UUID type (e.g., /apikeys/abc123):

  • GET and DELETE routes fail to match path(JavaUUID), and fall back to 405: supported methods: POST
  • POST /apikeys/abc123 is incorrectly matched to*POST /apikeys, since Akka HTTP does not reject the extra path segment unless explicitly constrained → leading to successful 201 OK responses

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