Skip to content
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 @@ -406,7 +406,9 @@
"details": {
"description": "Gets additional details specific to this recommended action.",
"type": "object",
"additionalProperties": true,
"additionalProperties": {
"type": "string"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use of additionalProperties is not allowed for properties owned by the service. The only time its ok to use it is when the properties are pass thru (user defined) and not subject to any validations. Please make this an array or provide an explanation for why you need this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been used since the inception of the service, additionalProperties is already being used and has been for the last 9 years, I just wanted to fix the ModelValidation error, as the SQL ARM API team asked me to do that.

"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,9 @@
"details": {
"description": "Gets additional details specific to this recommended action.",
"type": "object",
"additionalProperties": true,
"additionalProperties": {
"type": "string"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use of additionalProperties is not allowed for properties owned by the service. The only time its ok to use it is when the properties are pass thru (user defined) and not subject to any validations. Please make this an array or provide an explanation for why you need this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been used since the inception of the service, additionalProperties is already being used and has been for the last 9 years, I just wanted to fix the ModelValidation error, as the SQL ARM API team asked me to do that.

"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,9 @@
"details": {
"description": "Gets additional details specific to this recommended action.",
"type": "object",
"additionalProperties": true,
"additionalProperties": {
"type": "string"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use of additionalProperties is not allowed for properties owned by the service. The only time its ok to use it is when the properties are pass thru (user defined) and not subject to any validations. Please make this an array or provide an explanation for why you need this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been used since the inception of the service, additionalProperties is already being used and has been for the last 9 years, I just wanted to fix the ModelValidation error, as the SQL ARM API team asked me to do that.

"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,9 @@
"observedImpact": [],
"timeSeries": [],
"details": {
"sqlErrorNumber": 208,
"sqlErrorNumber": "208",
"sqlErrorMessage": "Invalid object name 'dbo.Companies'.",
"sqlErrorCount": 342482
"sqlErrorCount": "342482"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,9 @@
"observedImpact": [],
"timeSeries": [],
"details": {
"sqlErrorNumber": 208,
"sqlErrorNumber": "208",
"sqlErrorMessage": "Invalid object name 'dbo.Companies'.",
"sqlErrorCount": 342482,
"sqlErrorCount": "342482",
"databaseName": "IndexAdvisor_test_3"
}
}
Expand Down