Skip to content

Commit

Permalink
fix some validation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cegraybl committed Nov 29, 2022
1 parent 95158dc commit 2784f56
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,9 @@
"items": {
"$ref": "#/definitions/OperationDefinition"
},
"x-ms-identifiers": []
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "The URI that can be used to request the next list of container registry operations.",
Expand Down Expand Up @@ -2140,15 +2142,19 @@
"items": {
"$ref": "#/definitions/OperationMetricSpecificationDefinition"
},
"x-ms-identifiers": []
"x-ms-identifiers": [
"name"
]
},
"logSpecifications": {
"description": "A list of Azure Monitoring log definitions.",
"type": "array",
"items": {
"$ref": "#/definitions/OperationLogSpecificationDefinition"
},
"x-ms-identifiers": []
"x-ms-identifiers": [
"name"
]
}
}
},
Expand Down Expand Up @@ -3091,7 +3097,9 @@
"items": {
"$ref": "#/definitions/RegistryUsage"
},
"x-ms-identifiers": []
"x-ms-identifiers": [
"name"
]
}
}
},
Expand Down Expand Up @@ -3559,7 +3567,9 @@
"items": {
"$ref": "#/definitions/TokenCertificate"
},
"x-ms-identifiers": []
"x-ms-identifiers": [
"thumbprint"
]
},
"passwords": {
"type": "array",
Expand Down Expand Up @@ -4262,7 +4272,10 @@
"items": {
"$ref": "#/definitions/InnerErrorDescription"
},
"x-ms-identifiers": []
"x-ms-identifiers": [
"message",
"target"
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2022-12-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"generateCredentialsParameters": {
"tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
"expiry": "2020-12-31T15:59:59.0707808Z"
}
},
"responses": {
"200": {
"body": {
"username": "myToken",
"passwords": [
{
"expiry": "2020-12-31T15:59:59.0707808Z",
"name": "password1",
"value": "00000000000000000000000000000000"
},
{
"expiry": "2020-12-31T15:59:59.0707808Z",
"name": "password2",
"value": "00000000000000000000000000000000"
}
]
}
},
"202": {}
}
}

0 comments on commit 2784f56

Please sign in to comment.