spec-first/connexion

RoutingMiddleware should sort paths

Open

#1,879 创建于 2024年2月13日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (738 fork)batch import
PR welcomeenhancementgood first issue

仓库指标

Star
 (4,346 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Connexion middleware sorts all available APIs from most specific to least because of starlettte's routing behavior https://github.com/spec-first/connexion/blob/5d7eb0bdab9ed404e1d294dac6ed951af3be7952/connexion/middleware/main.py#L334

Similar sorting algorithms should be done within an api's routes in the RoutingMiddleware

贡献者指南