Autogenerated Swagger docs only show the last method defined for a path.
Closed this issue · 1 comments
wnoise commented
This happens in registerchema
:
schema["paths"][cleanedpath] = route
which wholesale replaces any previous dictionary with the one generated here, which only has the current method defined.
I think the easiest fix is to merge any existing dictionary at schema["paths"][cleanedpath] into route before this.