spec-first/connexion

Throw an error on no operation_id

Open

#1,166 建立於 2020年2月21日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (4,346 star) (738 fork)batch import
good first issue

描述

https://github.com/zalando/connexion/blob/96bdcb010a4e5180c2bce18295e7b576c9c1ef0f/connexion/resolver.py#L60

Currently operation_id == None flows into function_resolver and triggers unexpected errors. Better to do?:

if operation_id is None:
  raise ResolverError("operation_id is None", sys.exc_info())

貢獻者指南

Throw an error on no operation_id · spec-first/connexion#1166 | Good First Issue