Swagger spec for Server DNS Aliasing#1858
Conversation
|
@jaredmoo @nathannfan Please comment |
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
jaredmoo
left a comment
There was a problem hiding this comment.
Overall looks great, minor comments. Please confirm that the service is in at least 1 production region and you have .net sdk tests passing that use code generated from this swagger.
| - Microsoft.Sql/2015-05-01-preview/syncMembers.json | ||
| - Microsoft.Sql/2015-05-01-preview/virtualNetworkRules.json | ||
| - Microsoft.Sql/2017-03-01-preview/cancelOperations.json | ||
| - Microsoft.Sql/2017-03-01-preview/serverDnsAliases.json |
There was a problem hiding this comment.
please also add to schema-2017-03-preview section
There was a problem hiding this comment.
This tag does not exist, so I have created it
| "serverName": "dns-alias-new-server", | ||
| "dnsAliasName": "dns-alias-name-1", | ||
| "api-version": "2017-03-01-preview", | ||
| "parameters": { |
There was a problem hiding this comment.
nit: tabs/spaces here and in other example files
| }, | ||
| { | ||
| "$ref": "#/parameters/ApiVersionParameter" | ||
| } |
There was a problem hiding this comment.
is there no body parameter?
There was a problem hiding this comment.
No, those requests don't have body
| } | ||
| }, | ||
| "ServerDnsAliasAcquisition": { | ||
| "description": "A server dns alias acquisition request.", |
There was a problem hiding this comment.
DNS or dns? Please pick one and stuck with it :)
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
Captain @alvadb Ping on this one :) |
|
In response to Jared's comment: yes, service is in at least one production region (in fact it is deployed and working in all regions) and .net client tests are passing. |
alvadb
left a comment
There was a problem hiding this comment.
Please fix example errors in next commit.
|
No modification for AutorestCI/azure-sdk-for-node |
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-versionin the path should match theapi-versionin the spec).Quality of Swagger