Open
Description
Playground: link
We expect we get a proper namespace for the return type of operation getServiceStatus
, and it should be Azure.Core
because this anonymous model is effectively defined inside the template therefore it might make sense.
But actually when we get this model back from
typespec/packages/http/src/types.ts
Line 465 in 04182d2
the
body.type
(which is a model) has no namespace on it:
while its original model has namespace:
