spec-first/connexion

RoutingMiddleware should sort paths

開放

#1,879 建立於 2024年2月13日

 (1 則留言) (0 個反應) (0 位負責人)Python (738 個分叉)batch import
PR welcomeenhancementgood first issue

倉庫指標

星標
 (4,346 顆星)
PR 合併指標
 (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

貢獻者指南