Skip to content

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

Open
@catalinaperalta

Description

@catalinaperalta

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions