ring-swagger 2021-04-05

Hello I'm writing tools around OpenAPI specification There is some clojure (or java) function to parse the path syntax? something like (parse "/entity/{entity-id}/other") => ["entity" :entity-id "other"] ?