spec-first/connexion

RoutingMiddleware should sort paths

オープン

#1,879 opened on 2024/02/13

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (738 件のフォーク)batch import
PR welcomeenhancementgood first issue

Repository metrics

Stars
 (4,346 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド