lukeautry / tsoa

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

Add support for @title keyword annotation #1657

Open DominykasValutis opened 2 months ago

DominykasValutis commented 2 months ago

All Submissions:

Closing issues

Put closes #1656

If this is a new feature submission:

Potential Problems With The Approach

Test plan

WoH commented 1 month ago

Sorry for the delay. Could you add a test to make sure this doesn´t break accidentally?

DominykasValutis commented 3 weeks ago

@WoH could you guide me for which component you want me to add test, cannot find any previous test for validatorUtils.ts file

WoH commented 2 weeks ago

There are no tests for that file explicitly, but you can add an annotation in the test fixtures and add an assertion for OpenAPI V2 / V3 here:

https://github.com/lukeautry/tsoa/tree/master/tests%2Funit%2Fswagger

schemaDetails(3).ts