Describe the bug
Input and Output UsageFlags need to be transitively set. i.e. if type Foo has flag Input set, then all of its transitive types must also have Input set.
Reproduction
Build https://github.com/Azure/azure-rest-api-specs/tree/main/specification/quantum/Quantum.Workspace
Type JobDetails has UsageFlags.Input set. It contains a field of type CostEstimate that does not have the Input flag set.
Checklist
Describe the bug
Input and Output UsageFlags need to be transitively set. i.e. if type
Foohas flagInputset, then all of its transitive types must also haveInputset.Reproduction
Build https://github.com/Azure/azure-rest-api-specs/tree/main/specification/quantum/Quantum.Workspace
Type
JobDetailshasUsageFlags.Inputset. It contains a field of typeCostEstimatethat does not have theInputflag set.Checklist