Skip to content

VirtualNetworkGateways incorrect Swaggers #4642

Closed

Description

A few bug that forces the CLI to manually override the SDK:

  • VirtualNetworkGateways_Generatevpnclientpackage also returns 202, which is not declared in Swagger.

  • VirtualNetworkGateways_Generatevpnclientpackage and VirtualNetworkGateways_GenerateVpnProfile needs a final call on Location to get the final result. This requires an annotation in the Swagger, as made before for NetworkWatcher (for example):

    "operationId": "PacketCaptures_GetStatus",
    "x-ms-long-running-operation": true,
    "x-ms-long-running-operation-options": {
    "final-state-via": "location"
    },

Please add the same x-ms-long-running-operation-options for both of these operations. And please fix it for all api versions, not just the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions