def is_param
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
663# whether a path segment is a template expression, `{` to `}`
664def is_param(+part: String) -> Bool:
665 Bool.and(String.starts_with(part, "{"), String.ends_with(part, "}"))