-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Update SQL spec descriptions #970
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
Conversation
Reading "Azure SQL" over and over again is exhausting and gets in the way of understanding the docs.
Hi @jaredmoo, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
@@ -241,7 +241,7 @@ | |||
"items": { | |||
"$ref": "#/definitions/ServerFirewallRule" | |||
}, | |||
"description": "The list of Azure SQL server firewall rules for the server." | |||
"description": "The list of server firewall rules for the server." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just make it "The list of firewall rules for the server" for this one?
@@ -2,7 +2,7 @@ | |||
"swagger": "2.0", | |||
"info": { | |||
"title": "Azure SQL Database API spec", | |||
"description": "Provides create, read, update and delete functionality for Azure SQL resources including servers, databases, elastic pools, recommendations, operations, and usage metrics.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the one place I'd like to leave Azure SQL
@@ -241,7 +241,7 @@ | |||
"items": { | |||
"$ref": "#/definitions/ServerFirewallRule" | |||
}, | |||
"description": "The list of Azure SQL server firewall rules for the server." | |||
"description": "The list of server firewall rules for the server." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just make it "The list of firewall rules for the server" for this one?
@@ -2,7 +2,7 @@ | |||
"swagger": "2.0", | |||
"info": { | |||
"title": "Azure SQL Database API spec", | |||
"description": "Provides create, read, update and delete functionality for Azure SQL resources including servers, databases, elastic pools, recommendations, operations, and usage metrics.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the one place I'd like to leave Azure SQL in
@@ -294,7 +294,7 @@ | |||
"Databases" | |||
], | |||
"operationId": "Databases_ListByServer", | |||
"description": "Returns information about an Azure SQL database.", | |||
"description": "Returns information about a database.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this isn't your error, but could you put "Returns a list of databases by server."?
@@ -375,7 +375,7 @@ | |||
"Servers" | |||
], | |||
"operationId": "Servers_List", | |||
"description": "Returns information about an Azure SQL server.", | |||
"description": "Returns information about a server.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Returns a list of servers."?
@@ -554,7 +554,7 @@ | |||
"Servers" | |||
], | |||
"operationId": "Servers_ListUsages", | |||
"description": "Returns information about Azure SQL server usage.", | |||
"description": "Returns information about server usage.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usages
@@ -943,7 +943,7 @@ | |||
"RecommendedElasticPools" | |||
], | |||
"operationId": "RecommendedElasticPools_Get", | |||
"description": "Gets information about an Azure SQL Recommended Elastic Pool.", | |||
"description": "Gets information about an recommended elastic pool.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a recommended
Also restored "Azure SQL Database" wording to doc titles and tweaked list operation descriptions.
@@ -1560,7 +1560,7 @@ | |||
"$ref": "#/definitions/Resource" | |||
} | |||
], | |||
"description": "Represents an Azure SQL Recommended Elastic Pool." | |||
"description": "Represents an recommended elastic pool." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe ctrl+replace 'an recommended'
@@ -1560,7 +1560,7 @@ | |||
"$ref": "#/definitions/Resource" | |||
} | |||
], | |||
"description": "Represents an Azure SQL Recommended Elastic Pool." | |||
"description": "Represents an recommended elastic pool." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe ctrl+replace 'an recommended'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is failing specifically with error "FATAL: Error generating client model: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ServiceObjectiveName' and different values.", please take a look and fix.
@@ -99,7 +99,7 @@ | |||
"in": "path", | |||
"required": true, | |||
"type": "string", | |||
"description": "The name of the Azure SQL server firewall rule." | |||
"description": "The name of the f rule." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f -> "firewall"
Fixed, thanks. Node build seems to be hitting a transient error. |
@jaredmoo thanks, restarted job and now it is passing. |
Can I get a review and merge here? |
- Removed 'information about' wording - Fixed 'an data warehouse' - Made tense consistent - Corrected TDE description
@jaredmoo thanks, merging. |
No modification for NodeJS |
Thanks! |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger