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

Some paths incorrectly trigger R2059 Unique Resource Paths #328

Closed
jhendrixMSFT opened this issue Oct 2, 2018 · 1 comment
Closed

Some paths incorrectly trigger R2059 Unique Resource Paths #328

jhendrixMSFT opened this issue Oct 2, 2018 · 1 comment

Comments

@jhendrixMSFT
Copy link
Member

As observed in Azure/azure-rest-api-specs#4058
See below for the problematic path. In this case I don't believe it's actually a separate RP.

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default": {
    "delete": {
      "operationId": "ServiceAssociationLink_Delete",
      "x-ms-examples": {
        "ContainerGroupsDelete": {
          "$ref": "./examples/ServiceAssociationLink_Delete.json"
        }
      },
      "summary": "Delete the container instance service association link for the subnet.",
      "description": "Delete the container instance service association link for the subnet. This operation unblocks user from deleting subnet.",
      "parameters": [
        {
          "$ref": "#/parameters/SubscriptionIdParameter"
        },
        {
          "$ref": "#/parameters/ApiVersionParameter"
        },
        {
          "$ref": "#/parameters/ResourceGroupNameParameter"
        },
        {
          "$ref": "#/parameters/VirtualNetworkNameParameter"
        },
        {
          "$ref": "#/parameters/SubnetNameParameter"
        }
      ],
      "responses": {
        "200": {
          "description": "OK"
        },
        "204": {
          "description": "No Content - the specified service association link was not found."
        }
      }
    }
@jhendrixMSFT
Copy link
Member Author

Opened in wrong repo.

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

No branches or pull requests

1 participant