resolveUsage does not resolve the itemType of an array or dictionary and the model which is template argument.

  1. When define an model as following: the itemType (SimpleEnum, ExtensibleEnum, Dog, Cat) does not resolved out.

model RoundTripModel {
  @doc("Required collection of enums")
  requiredCollection: SimpleEnum[];
  @doc("Required dictionary of enums")
  requiredDictionary: Record<ExtensibleEnum>;
  @doc("Required collection of models")
  dogs: Dog[];
  @doc("Required dictionary of models")
  cats: Record<Cat>;

  1. the template argument is not resolved for example, the models in Azure resource operation
 op getUser is Azure.Core.ResourceRead<LedgerUser>
© 2022 - All rights reserved.