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

[fix S360]fix live validation correctness WRITEONLY_PROPERTY_NOT_ALLOWED_IN_RES… #20843

Merged
merged 1 commit into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
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
Expand Up @@ -747,7 +747,7 @@
}
},
"DaprSecretsCollection": {
"description": "Dapr component Secrets Collection ARM resource.",
"description": "Dapr component Secrets Collection for ListSecrets Action.",
"required": [
"value"
],
Expand All @@ -765,6 +765,23 @@
}
}
},
"DaprSecret": {
"description": "Dapr component Secret for ListSecrets Action",
"type": "object",
"properties": {
"name": {
"description": "Secret Name.",
"type": "string",
"readOnly": true
},
"value": {
"description": "Secret Value.",
"type": "string",
"x-ms-secret": true,
"readOnly": true
}
}
},
"ExtendedLocation": {
"type": "object",
"description": "The complex type of the extended location.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
"body": {
"value": [
{
"name": "secret1"
"name": "secret1",
"value": "value1"
},
{
"name": "secret2"
"name": "secret2",
"value": "value2"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,23 +388,40 @@
}
},
"DaprSecretsCollection": {
"description": "Dapr component Secrets Collection ARM resource.",
"description": "Dapr component Secrets Collection for ListSecrets Action",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of secrets used by a Dapr component",
"description": "Collection of secrets for ListSecrets Action",
"type": "array",
"items": {
"$ref": "./CommonDefinitions.json#/definitions/Secret"
"$ref": "#/definitions/DaprSecret"
},
"x-ms-identifiers": [
"name"
]
}
}
},
"DaprSecret": {
"description": "Dapr component Secret for ListSecrets Action",
"type": "object",
"properties": {
"name": {
"description": "Secret Name.",
"type": "string",
"readOnly": true
},
"value": {
"description": "Secret Value.",
"type": "string",
"x-ms-secret": true,
"readOnly": true
}
}
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
"body": {
"value": [
{
"name": "secret1"
"name": "secret1",
"value": "value1"
},
{
"name": "secret2"
"name": "secret2",
"value": "value2"
}
]
}
Expand Down