-
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
[CosmosDB] Remove ReadOnly tag for PublicNetworkAccess property #13027
Conversation
Hi, @soeom Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
Swagger Validation Report
|
Rule | Message |
---|---|
1029 - ReadonlyPropertyChanged |
The read only property has changed from 'true' to 'false'. New: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L6092:9 Old: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L6092:9 |
1029 - ReadonlyPropertyChanged |
The read only property has changed from 'true' to 'false'. New: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L6341:9 Old: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L6341:9 |
1029 - ReadonlyPropertyChanged |
The read only property has changed from 'true' to 'false'. New: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L6199:9 Old: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L6199:9 |
1029 - ReadonlyPropertyChanged |
The read only property has changed from 'true' to 'false'. New: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L8312:5 Old: Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json#L8312:5 |
️️✔️
LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌
[Staging] SDK Track2 Validation: 2 Errors, 67 Warnings failed [Detail]
Only 10 items are listed, please refer to log for more details.
- The following tags are being changed in this PR
Rule | Message |
---|---|
PreCheck/DuplicateSchema |
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"Duplicate Schema named ErrorResponse -- properties.code.description: undefined => "The error code.", properties.code.$ref: undefined => "#/components/schemas/schemas:454", properties.code.readOnly: undefined => true, properties.message.description: undefined => "The error message.", properties.message.$ref: undefined => "#/components/schemas/schemas:455", properties.message.readOnly: undefined => true, properties.target: undefined => "description":"The error target.", "readOnly":true, "$ref":"#/components/schemas/schemas:456", properties.details: undefined => "description":"The error details.", "readOnly":true, "$ref":"#/components/schemas/schemas:457", properties.additionalInfo: undefined => "description":"The error additional info.", "readOnly":true, "$ref":"#/components/schemas/schemas:458", title: undefined => "Error Response" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that." |
AutorestCore/Exception |
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"Error: Plugin prechecker reported failure." |
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'DatabaseAccountsListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'SqlDatabaseListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'SqlContainerListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'SqlStoredProcedureListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'SqlUserDefinedFunctionListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'SqlTriggerListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'MongoDBDatabaseListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
|
"readme":"cosmos-db/resource-manager/readme.md", "tag":"package-2021-01", "details":"The schema 'MongoDBCollectionListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'" |
️️✔️
[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
Swagger Generation Artifacts
|
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Hi @soeom, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
Looks like the examples for privateEndpoint apis have wrong apiVersion, can you please update them as part of this PR. |
specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json
Show resolved
Hide resolved
Once this change is merged can you please check the status of this PR #12861 and work with Fred to allow this change in that PR. |
@erich-wang |
Examples use the stable version 2021-01-15 which is supported. |
@msyyc |
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Please ensure to add changelog with this PR by answering the following questions.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.