[Bug]: getAllModels
returns models with empty names for Azure Core types
#2325
Labels
getAllModels
returns models with empty names for Azure Core types
#2325
Describe the bug
When generating from ManufacturingDataSolution.Copilot spec,
getAllModels
returns a couple of models with no names that are coming from Azure.Core.Workaround is to use
getAllModels(this.sdkContext).filter((model) => !isAzureCoreModel(model));
Reproduction
Run
tsp compile <path-to-mds-copilot-spec>/main.tsp
and inspect the response ofgetAllModels()
call.Checklist
The text was updated successfully, but these errors were encountered: