code: def _rule2path(cls, rule):
          
          typeless = re.sub(r'<\w+?:', '<', rule)  # remove Flask types
          return typeless.replace('<', '{').replace('>', '}')
docs: Convert relative Flask rule to absolute OpenAPI path.