We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abcb590 commit e26e463Copy full SHA for e26e463
1 file changed
src/apispec_webframeworks/tornado.py
@@ -52,7 +52,7 @@ def _operations_from_methods(
52
:param handler_class:
53
:type handler_class: RequestHandler descendant
54
"""
55
- for httpmethod in yaml_utils.PATH_KEYS:
+ for httpmethod in sorted(yaml_utils.PATH_KEYS):
56
method = getattr(handler_class, httpmethod)
57
docstring = method.__doc__ or ""
58
operation_data = yaml_utils.load_yaml_from_docstring(docstring)
0 commit comments