You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OperationDetails has a few child models. However, when TCGC parses those models, value of discriminator property of DocumentModelBuildOperationDetails.kind is false.
Describe the bug
See
DocumentIntelligence
. There is a unionOperationKind
defined as discriminator type: https://github.com/Azure/azure-rest-api-specs/blob/6fc313ed7a6e926d4409d4ddb435f6532922652f/specification/ai/DocumentIntelligence/models.tsp#L272It's used as type of the discriminator of
OperationDetails
: https://github.com/Azure/azure-rest-api-specs/blob/6fc313ed7a6e926d4409d4ddb435f6532922652f/specification/ai/DocumentIntelligence/models.tsp#L1227OperationDetails
has a few child models. However, when TCGC parses those models, value ofdiscriminator
property ofDocumentModelBuildOperationDetails.kind
is false.Reproduction
Just parse the tsp definition in the links above.
Checklist
The text was updated successfully, but these errors were encountered: