lukeautry / tsoa

Build OpenAPI-compliant REST APIs using TypeScript and Node
MIT License
3.42k stars 489 forks source link

Duplicate component name in spec #1517

Closed adamchengtkc closed 7 months ago

adamchengtkc commented 8 months ago

Case:

Sorting

Expected Behavior

tsoa should throw an error

Current Behavior

tsoa will sucessfully generate a spec with duplicated name in component

Possible Solution

Check for duplicated function name in all controller classes

Steps to Reproduce

      1. 4.

Context (Environment)

Version of the library: 5.1.1 Version of NodeJS: 20

Detailed Description

Breaking change?

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days