Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[typespec/http] namespace is missing in the parsed models for responses #5664

Open
ArcturusZhang opened this issue Jan 20, 2025 · 0 comments
Labels

Comments

@ArcturusZhang
Copy link
Member

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

responses: HttpOperationResponseContent[];

the body.type (which is a model) has no namespace on it:
Image
while its original model has namespace:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant