tsoa
tsoa copied to clipboard
Support @Extension on classes and interfaces
I'd like the ability to apply extension data to classes and interfaces
Sorting
-
I'm submitting a ...
- [ ] bug report
- [x] feature request
- [ ] support request
-
I confirm that I
- [ x] used the search to make sure that a similar issue hasn't already been submit
Expected Behavior
components
schemas
MyClass
x-my-extension: value
MyInterface
x-my-extension: value
@Extension("x-my-extension", "value")
export class MyClass { }
/** @extension { "x-my-extension", "value" } */
export interface MyInterface { }
Current Behavior
It is not possible to attach extension data to a schema.
Context (Environment)
Version of the library: 3.14.1 Version of NodeJS:
Breaking change?
No
Hello there nathanwinder 👋
Thank you for opening your very first issue in this project.
We will try to get back to you as soon as we can.👀