pedestal 2024-12-10

Is there a way to add path parameters in the websocket handlers? It doesn't seem to work. According to the https://jakarta.ee/specifications/websocket/2.0/apidocs/jakarta/websocket/server/serverendpointconfig.builder#create-java.lang.[…]-java.lang.String-, a template like below should work (I wonder if it only works with annotations though?) but I'm getting a 404.

:io.pedestal.http/websockets         {"/api/v1/some/{id}/thing" {:on-open h/on-open
                                                                  :on-text h/on-text
                                                                  :on-error h/on-error
                                                                  :on-close h/on-close}}
I can't use query params because of a limitation of the 3rd party calling this endpoint.