openapi2aspida icon indicating copy to clipboard operation
openapi2aspida copied to clipboard

Duplicate entries not merged

Open memen45 opened this issue 2 years ago • 0 comments

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

memen45 avatar Jan 24 '23 12:01 memen45