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 support for x-ms-long-running-operation-options.final-state-schema #214

Closed
mikekistler opened this issue Feb 28, 2023 · 0 comments · Fixed by #237
Closed

Add support for x-ms-long-running-operation-options.final-state-schema #214

mikekistler opened this issue Feb 28, 2023 · 0 comments · Fixed by #237
Assignees

Comments

@mikekistler
Copy link
Member

Autorest has added a new field to the x-ms-long-running-operation-options specification extension, final-state-schema.

https://github.com/Azure/autorest/tree/main/docs/extensions#x-ms-long-running-operation-options

final-state-schema can be used to point to the definition of the response schema returned from the final-state-via. Previously this schema was specified on the 200 response for the operation, but this was problematic because the operation may not actually return 200. final-state-schema allows the API author to avoid "fibbing" about the 200 response just to make autorest work.

aaz-dev-tools should also add support for final-state-schema.

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 a pull request may close this issue.

3 participants