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"] ?
OpenAPI
parse
path
(parse "/entity/{entity-id}/other") => ["entity" :entity-id "other"]
Here is one https://github.com/oliyh/martian/blob/c20d3fad47709ecfc0493e2fb607d5b56ea3193d/core/src/martian/openapi.cljc#L113