Azure / Azure/azure-openapi-validator

GET operations must not be long running

Open
#173 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
57
Avg merge
1d 23h
Merged PRs (30d)
2

Description

Ran into a couple of specs in the repo which have the `x-ms-long-running-operation` set to true for a GET operation,
Our SDKs do not support long running GETs, instead provisioning states are used to communicate the state of the resource (for ARM resources at least)
By extension, `201`/`202` response codes should also not be allowed
These should be flagged and fixed in the linter (Mostly an error for the SDK)

@fearthecowboy FYI

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.