Skip to content

Commit

Permalink
contianerapps: fixing swagger inconsistencies in 2022-01-01-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Apr 12, 2022
1 parent 2c888f4 commit 553fc55
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@
"activeRevisionsMode": {
"description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\n<list><item>Multiple: multiple revisions can be active. If no value if provided, this is the default</item><item>Single: Only one revision can be active at a time. Revision weights can not be used in this mode</item></list>",
"enum": [
"multiple",
"single"
"Multiple",
"Single"
],
"type": "string",
"x-ms-enum": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}": {
"get": {
"tags": [
"ContainerAppsRevisions"
Expand All @@ -86,7 +86,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down Expand Up @@ -117,7 +117,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/activate": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate": {
"post": {
"tags": [
"ContainerAppsRevisions"
Expand All @@ -139,7 +139,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down Expand Up @@ -167,7 +167,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/deactivate": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate": {
"post": {
"tags": [
"ContainerAppsRevisions"
Expand All @@ -189,7 +189,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down Expand Up @@ -217,7 +217,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{name}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{replicaName}": {
"get": {
"tags": [
"ContainerAppsRevisionReplicas"
Expand Down Expand Up @@ -246,7 +246,7 @@
"type": "string"
},
{
"name": "name",
"name": "replicaName",
"in": "path",
"description": "Name of the Container App Revision Replica.",
"required": true,
Expand Down Expand Up @@ -330,7 +330,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/restart": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart": {
"post": {
"tags": [
"ContainerAppsRevisions"
Expand All @@ -352,7 +352,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}": {
"get": {
"tags": [
"DaprComponents"
Expand All @@ -86,7 +86,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down Expand Up @@ -138,7 +138,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down Expand Up @@ -200,7 +200,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{name}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}": {
"get": {
"tags": [
"ManagedEnvironments"
Expand All @@ -114,7 +114,7 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "name",
"name": "environmentName",
"in": "path",
"description": "Name of the Environment.",
"required": true,
Expand Down Expand Up @@ -309,7 +309,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates": {
"get": {
"tags": [
"ManagedEnvironments",
Expand All @@ -325,7 +325,7 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "managedEnvironmentName",
"name": "environmentName",
"in": "path",
"description": "Name of the Managed Environment.",
"required": true,
Expand Down Expand Up @@ -359,7 +359,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates/{name}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}": {
"get": {
"tags": [
"ManagedEnvironments",
Expand All @@ -375,14 +375,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "managedEnvironmentName",
"name": "environmentName",
"in": "path",
"description": "Name of the Managed Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "certificateName",
"in": "path",
"description": "Name of the Certificate.",
"required": true,
Expand Down Expand Up @@ -427,14 +427,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "managedEnvironmentName",
"name": "environmentName",
"in": "path",
"description": "Name of the Managed Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "certificateName",
"in": "path",
"description": "Name of the Certificate.",
"required": true,
Expand Down Expand Up @@ -487,14 +487,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "managedEnvironmentName",
"name": "environmentName",
"in": "path",
"description": "Name of the Managed Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "certificateName",
"in": "path",
"description": "Name of the Certificate.",
"required": true,
Expand Down Expand Up @@ -540,14 +540,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "managedEnvironmentName",
"name": "environmentName",
"in": "path",
"description": "Name of the Managed Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "certificateName",
"in": "path",
"description": "Name of the Certificate.",
"required": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages": {
"get": {
"tags": [
"ManagedEnvironmentsStorages"
Expand All @@ -31,7 +31,7 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "envName",
"name": "environmentName",
"in": "path",
"description": "Name of the Environment.",
"required": true,
Expand Down Expand Up @@ -62,7 +62,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages/{name}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName}": {
"get": {
"tags": [
"ManagedEnvironmentsStorages"
Expand All @@ -78,14 +78,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "envName",
"name": "environmentName",
"in": "path",
"description": "Name of the Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "storageName",
"in": "path",
"description": "Name of the storage.",
"required": true,
Expand Down Expand Up @@ -130,14 +130,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "envName",
"name": "environmentName",
"in": "path",
"description": "Name of the Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "storageName",
"in": "path",
"description": "Name of the storage.",
"required": true,
Expand Down Expand Up @@ -191,14 +191,14 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "envName",
"name": "environmentName",
"in": "path",
"description": "Name of the Environment.",
"required": true,
"type": "string"
},
{
"name": "name",
"name": "storageName",
"in": "path",
"description": "Name of the storage.",
"required": true,
Expand Down

0 comments on commit 553fc55

Please sign in to comment.