- property(
descriptionOrOptions:
| string
| Readonly<{ description?: string; example?: any }>,
): PropertyDecorator Parameters
- descriptionOrOptions: string | Readonly<{ description?: string; example?: any }>
Returns PropertyDecorator
A property decorator
Adds metadata to a class property. This can include descriptions and examples that will be included in the generated schema.