Syed Osama Ali Shah 21 hours ago
committed by GitHub
parent
commit
856dd03c24
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      fastapi/openapi/utils.py

1
fastapi/openapi/utils.py

@ -337,6 +337,7 @@ def get_openapi_path(
)
callbacks[callback.name] = {callback.path: cb_path}
operation["callbacks"] = callbacks
status_code = "200"
if route.status_code is not None:
status_code = str(route.status_code)
else:

Loading…
Cancel
Save