We have @usage for individual models and properties: we want to be able to apply this to all models referenced by an operation through a decorator that takes in an operation. More granularity down the line wins out
| Decorator State | Model with Public Usage | Model with Private Usage | Model without Usage |
|-----------------------------------|-------------------------|--------------------------|---------------------|
| `@usage(Usage.None)` | Used | Used | Not Used |
| `@usage(Usage.Input/Usage.Output)`| Used | Used | Used |
[X] Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
Clear and concise description of the problem
We have
@usage
for individual models and properties: we want to be able to apply this to all models referenced by an operation through a decorator that takes in an operation. More granularity down the line wins outChecklist