[Key Vault] Adding preview version 7.0#2367
Conversation
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
1 similar comment
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-python |
|
@schaabs Also the README.md file wasn't updated, is that intentional? |
|
Did a commit to Azure/azure-sdk-for-go: |
|
Did a commit to Azure/azure-sdk-for-python: |
| "body":{ | ||
| "id":"https://storage-sdk-test.vault-int.azure-int.net/storage/getsas01/sas/getStrgSasDef01", | ||
| "sid":"https://storage-sdk-test.vault-int.azure-int.net/secrets/getsas01-getStrgSasDef01", | ||
| "template":"se=2018-02-01T00%3A00Z&spr=https&sv=2017-04-17&sr=b&sig=XXFNfuMCHYrBx0bhemJ7PWn0xGfImMXT6LfbXWvtRUk%3D", |
There was a problem hiding this comment.
there are 2 new parameters: "sasType" and "validityPeriod", in all sas get, delete, update, set responses and set request
| "sas-definition-name":"setStrgSasDef01", | ||
| "api-version":"2016-10-01", | ||
| "parameters":{ | ||
| "template":"se=2018-02-01T00%3A00Z&spr=https&sv=2017-04-17&sr=b&sig=XXFNfuMCHYrBx0bhemJ7PWn0xGfImMXT6LfbXWvtRUk%3D", |
There was a problem hiding this comment.
sasType and validityPeriod are required parameters
| "info": { | ||
| "title": "KeyVaultClient", | ||
| "description": "The key vault client performs cryptographic key operations and vault operations against the Key Vault service.", | ||
| "version": "2016-10-01" |
There was a problem hiding this comment.
we need to change this to reflect v7.0
There was a problem hiding this comment.
Good catch. I had this change originally but I must have blown it away when I merged in updates from 2016-10-01
rijethma
left a comment
There was a problem hiding this comment.
I'll CR once again after you add the missing parameters
| "description": "Created certificate bundle.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CertificateOperation" | ||
|
|
There was a problem hiding this comment.
sasType and validityPeriod are 2 new required parameters here
| "description": "Created certificate bundle.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CertificateOperation" | ||
|
|
There was a problem hiding this comment.
sasType and validityPeriod are 2 new required properties here
|
@jhendrixMSFT All the model validation failures seem to be saying that path parameters aren't specified, but they are. I believe I've seen this before and was told it was a bug in the validation. Is this the case, or am I incorrectly specifying path parameters in the examples? |
|
Did a commit to Azure/azure-sdk-for-python: |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
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. |
| "description": "Created certificate bundle.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CertificateOperation" | ||
|
|
There was a problem hiding this comment.
This is marked as read-only however the property is also required (like 4758). It can't be both, which one is correct?
There was a problem hiding this comment.
I'm not sure what you're referring to here. Is this comment on the wrong line?
There was a problem hiding this comment.
Was supposed to be on line 4742, not sure what happened.
| ], | ||
| "paths": { | ||
| "/keys/{key-name}/create": { | ||
| "post": { |
There was a problem hiding this comment.
Not all of the operations have examples, will they be added later?
There was a problem hiding this comment.
Yes. This version (7.0-preview) of the spec is a copy of the 2016-10-01 spec, with a few breaking changes so far. The 2016-10-01 didn't have examples for these operations. We plan on adding examples for all before moving 7.0 to stable.
|
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. |
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
1 similar comment
|
This commit was treated and no generation was made for Azure/azure-sdk-for-go |
|
Did a commit to Azure/azure-sdk-for-python: |
|
Did a commit to Azure/azure-sdk-for-python: |
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