@azure-tools/typespec-azure-resource-manager
Version:
TypeSpec Azure Resource Manager library
10 lines • 601 B
TypeScript
/**
* verify that 202 or 204 responses do not contain a response body.
* verify that success (2XX) responses other than 202 and 204 contain a response body.
*/
export declare const noResponseBodyRule: import("@typespec/compiler").LinterRuleDefinition<"no-response-body", {
readonly default: "The body of responses with success (2xx) status codes other than 202 and 204 should not be empty.";
readonly shouldBeEmpty202: "The body of 202 response should be empty.";
readonly shouldBeEmpty204: "The body of 204 response should be empty.";
}>;
//# sourceMappingURL=no-response-body.d.ts.map