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

[Bug]: Empty path generated by typespec-autorest emitter #2343

Open
4 tasks done
catalinaperalta opened this issue Mar 10, 2025 · 0 comments
Open
4 tasks done

[Bug]: Empty path generated by typespec-autorest emitter #2343

catalinaperalta opened this issue Mar 10, 2025 · 0 comments
Labels
bug Something isn't working emitter:autorest Issues for @azure-tools/typespec-autorest emitter triaged:core
Milestone

Comments

@catalinaperalta
Copy link
Member

catalinaperalta commented Mar 10, 2025

Describe the bug

The typespec-autorest emitter outputs an empty path for an operation definition like the following: playground example

I believe this type of operation should be generated under x-ms-paths but at the very least it should output a path like "/" since the operation is at the root of the endpoint.

cc @timotheeguerin

Reproduction

Linked above

Checklist

  • Follow our Code of Conduct
  • Check that this issue is about the Azure libraries for typespec. For bug in the typespec language or core libraries file it in the TypeSpec repo
  • Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@catalinaperalta catalinaperalta added the bug Something isn't working label Mar 10, 2025
@markcowl markcowl added this to the Backlog milestone Mar 19, 2025
@markcowl markcowl added emitter:autorest Issues for @azure-tools/typespec-autorest emitter triaged:core labels Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working emitter:autorest Issues for @azure-tools/typespec-autorest emitter triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants