Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "Cosmos DB - Garnet Cache",
Expand Down Expand Up @@ -58,7 +58,7 @@
"200": {
"description": "Successfully retrieved the list of Garnet clusters.",
"schema": {
"$ref": "#/definitions/ListClusters"
"$ref": "#/definitions/ListGarnetClusters"
}
},
"default": {
Expand Down Expand Up @@ -97,7 +97,7 @@
"200": {
"description": "Successfully retrieved the list of Garnet clusters.",
"schema": {
"$ref": "#/definitions/ListClusters"
"$ref": "#/definitions/ListGarnetClusters"
}
},
"default": {
Expand Down Expand Up @@ -136,7 +136,7 @@
"200": {
"description": "The properties of the Garnet cluster were retrieved successfully.",
"schema": {
"$ref": "#/definitions/ClusterResource"
"$ref": "#/definitions/GarnetClusterResource"
}
},
"default": {
Expand Down Expand Up @@ -222,7 +222,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ClusterResource"
"$ref": "#/definitions/GarnetClusterResource"
},
"description": "The properties specifying the desired state of the Garnet cache cluster."
}
Expand All @@ -231,13 +231,13 @@
"200": {
"description": "The Garnet cache cluster is being updated.",
"schema": {
"$ref": "#/definitions/ClusterResource"
"$ref": "#/definitions/GarnetClusterResource"
}
},
"201": {
"description": "The Garnet cache cluster is being created",
"schema": {
"$ref": "#/definitions/ClusterResource"
"$ref": "#/definitions/GarnetClusterResource"
}
},
"default": {
Expand Down Expand Up @@ -275,7 +275,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ClusterResourcePatch"
"$ref": "#/definitions/GarnetClusterResourcePatch"
},
"description": "Parameters to provide for updating the Garnet cluster."
}
Expand All @@ -297,7 +297,7 @@
"200": {
"description": "Completed synchronously. This will only happen if the fields changed by patch require no changes to the actual Garnet data center.",
"schema": {
"$ref": "#/definitions/ClusterResource"
"$ref": "#/definitions/GarnetClusterResource"
}
},
"default": {
Expand All @@ -324,7 +324,7 @@
}
},
"definitions": {
"ListClusters": {
"ListGarnetClusters": {
"description": "List of Garnet clusters.",
"type": "object",
"properties": {
Expand All @@ -333,7 +333,7 @@
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/ClusterResource"
"$ref": "#/definitions/GarnetClusterResource"
}
},
"nextLink": {
Expand All @@ -343,7 +343,7 @@
}
}
},
"ClusterResource": {
"GarnetClusterResource": {
"description": "Representation of a Garnet cache cluster.",
"type": "object",
"allOf": [
Expand Down Expand Up @@ -452,7 +452,7 @@
}
}
},
"ClusterResourcePatch": {
"GarnetClusterResourcePatch": {
"description": "Representation of a Garnet cache cluster for updates.",
"type": "object",
"properties": {
Expand Down
Loading