Conversation
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-pythonEncountered a Subprocess error: (azure-sdk-for-python)
Command: python ./scripts/multiapi_init_gen.py azure-keyvault Was not able to extract api_version of v2016_10_01 |
Automation for azure-sdk-for-nodeA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
Automation for azure-sdk-for-goA PR has been created for you: |
|
@prashanthyv you introduce a breaking change in an old version of KV data-plane. Note that this Swagger is still used to communicate with Azure Stack, so it cannot be changed only for documentation purposes, it has to be exact accurate truth of the behavior of "2016-10-01". So this PR means "Sending SEC256K1 was never possible ever, and it was a typo in the spec, and if you try it now it will be refused by our endpoint". Is that so? |
|
@lmazuel Are you really saying that we can't even update comments/docs in the swagger, with no other changes, without breaking stack? In other words, we can't improve our existing documentation without breaking stack? |
|
@lmazuel, the |
|
@RandalliLama Swagger is not documentation of a RestAPI, it's a description of the exact behavior of a RestAPI. We do documentation out of that, which is not exactly the same thing. If you update a "description" node, that's pure documentation. If you update a class name or class content, it has to still reflect the reality of the behavior of the endpoint. @msfcolombo To rewrite what I understand (and then I can suggest the best way to do so): |
|
@lmazuel Yes. We also don't want new versions of the client to send that value to the server. It's a breaking change from client's PoV. |
|
@msfcolombo The approach we'd recommend with @johanste is to be transparent with customers (documentation, or Swagger users):
I think this solves all your troubles:
|
|
@lmazuel - I don't mind updating the document to be backward compatible with respect to description. Thanks |
|
You don't have to do a new PR though, just update this one. |
|
@prashanthyv update? |
|
Can one of the admins verify this patch? |
|
@AutorestCI regenerate azure-sdk-for-go |
|
@prashanthyv any update? |
|
@lmazuel - I thought Fernando already took care of this |
|
@prashanthyv Please drop this PR. We need to work on a different kind of change. Thanks. |
|
Closing, feel free to re-open if necessary. |
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