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

Add basic response for lro delete operation in typespec-aaz #435

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

@AllyW AllyW changed the title Fix basic response for lro delete operation Add basic response for lro delete operation Dec 12, 2024
@AllyW AllyW changed the title Add basic response for lro delete operation Add basic response for lro delete operation in typespec-aaz Dec 12, 2024
Comment on lines +395 to +399
const lro_response: CMDHttpResponse = {
statusCode: [200, 201],
isError: false,
description: "Response schema for long-running operation."
};
Copy link
Collaborator

@kairu-ms kairu-ms Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the schema of LRO for delete of 200 and 201 response? You can verify what 200 and 201 responses are used in LRO based on azure rest api guideline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants