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

[http-server-csharp] No interfaces and controllers generated when ops are wrapped inside a namespace #5125

Open
ArcturusZhang opened this issue Nov 15, 2024 · 1 comment · May be fixed by #5140
Assignees
Labels

Comments

@ArcturusZhang
Copy link
Member

ArcturusZhang commented Nov 15, 2024

I saw this issue when I am trying to generate the petstore: https://github.com/microsoft/typespec/tree/main/packages/samples/specs/petstore
Because of this issue, I removed everything related with templated models (including models and operations), and only models are generated.

FYI, changing namespace to interface would do the trick. But this does not really make sense, namespace should work just fine.

@markcowl
Copy link
Contributor

I think this is fixed by: #5140

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

Successfully merging a pull request may close this issue.

2 participants