-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add new property for CORS settings #6478
Conversation
SDK Automation [Logs] (Generated from b038fea)Python: Azure/azure-sdk-for-python [Logs] [Diff]
Java: Azure/azure-sdk-for-java [Logs] [Diff]
JavaScript: Azure/azure-sdk-for-js [Logs] [Diff]
Go: Azure/azure-sdk-for-go [Logs] [Diff]
Ruby: Azure/azure-sdk-for-ruby [Logs] [Diff]
|
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-rubyA PR has been created for you: |
Automation for azure-sdk-for-javaA 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-goA 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: |
Can one of the admins verify this patch? |
@openapi sdkautomation rebuild |
pls add this new property under new api version, to avoid confusion when client uses mix of new and old sdks. |
Do we have to add a new api-version? Our latest RP is compatible with older SDKs. It works fine with or without the cors property |
@juniwang The concern with adding a writable property in an existing API version is that there will be a mix of clients that are on older and newer versions. If the property is set by a latest version client, and the resource is then modified by a downlevel client, your service cannot know whether the property was intentionally removed or the result of a downlevel client. |
Thanks @KrisBash. We got the point. It's a good pattern to add new API version to avoid confusion. But for this perticular case, the |
I think that's ok. |
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.
Approving for ARM
Changes:
Add new property for CORS settings which enables customers to configure Cross-Origin Resource Sharing.
Tests:
all validations documented on https://github.com/Azure/adx-documentation-pr/wiki/Swagger-Validation-Tools passed.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.