Skip to content

[Bug]: Java: Generated samples have a "is not used" warning #9252

@lmazuel

Description

@lmazuel

Describe the bug

After generating samples, all samples have a warning like this:

Image

Reproduction

I used this tsplocattion:

directory: specification/purview/data-plane/datamap
commit: 0c932f4a1e126784161397209484678f3adda2f6
repo: Azure/azure-rest-api-specs

applied to the purview datamape package (just call tspclient update)

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingemitter:client:javaIssue for the Java client emitter: @typespec/http-client-java

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions