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

no-response-body rule is triggering for some standard templates #1552

Open
timotheeguerin opened this issue Sep 17, 2024 · 2 comments
Open
Labels
feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library

Comments

@timotheeguerin
Copy link
Member

Some templates shown in the samles trigger that rule which is confusing

reason this wasn't caught before it is that rule is only triggered on namespace starting with Azure. (legacy behavior from before the linter system)

Arm

  delete is ArmResourceDeleteWithoutOkAsync<Employee>;
  /** A sample HEAD operation to check resource existence */
  checkExistence is ArmResourceCheckExistence<Employee>;

Playground Link

Azure core

 createWidget is Operations.ResourceCreateWithServiceProvidedName<Widget>;

playground

@markcowl markcowl added feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library labels Sep 23, 2024
@markcowl markcowl added this to the [2024] October milestone Sep 23, 2024
@markcowl
Copy link
Member

est: 5

@timotheeguerin
Copy link
Member Author

Copy core rule but exclude 202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library
Projects
None yet
Development

No branches or pull requests

2 participants