openapi2aspida
openapi2aspida copied to clipboard
Duplicate entries not merged
Description
Duplicate paths with non-duplicate strings are not all generated to aspida. Example duplicate:
"/rest/items": {
"get": {
...
}
}
"/rest/items/": {
"post": {
...
}
}
Expected result
A merged output containing both the get and post endpoints.
Actual result
Only the post endpoints are in the output.
Environment
node v18.10.0