tsoa icon indicating copy to clipboard operation
tsoa copied to clipboard

Support @title keyword annotation

Open DominykasValutis opened this issue 6 months ago • 2 comments

Would it be possible to add support for title annotation, which is supported keyword in Ope

Sorting

  • I'm submitting a ...

    • [ ] bug report
    • [x] feature request
    • [ ] support request
  • I confirm that I

The same request has been made (and closed) #1633, but it was not implemented.

Current Behavior

No support for title keyword annotation.

Possible Solution

Add title to validatorUtils.ts as a string value.

Context (Environment)

Version of the library: 6.3.1 Version of NodeJS: 20.11.1

  • Confirm you were using yarn not npm: [x]

Detailed Description

This would allow to generate OpenAPI spec with title keyword in schema reference.

Breaking change?

No breaking changes.

DominykasValutis avatar Aug 01 '24 11:08 DominykasValutis