require-client-suffix
@azure-tools/typespec-client-generator-core/require-client-suffixTop-level client names should end with the Client suffix. This convention
makes it clear that a namespace or interface represents a generated SDK
client and provides a consistent experience across emitted languages.
If the underlying TypeSpec name does not end with Client, use the
@client decorator to provide a client-friendly name.
β Incorrect
Section titled ββ Incorrectβ@clientnamespace MyService;β Correct
Section titled ββ Correctβ@clientnamespace MyServiceClient;β
Correct (renamed via @client)
Section titled ββ
Correct (renamed via @client)β@client({ name: "MyServiceClient",})namespace MyService;