-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Purview Share Test Api Specification Update - Version 2023-05-30-preview #23993
Conversation
Hi, @kevinmichaelbowersox 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. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
share.json | 2023-05-30-preview(5e26bc5) | 2023-02-15-preview(main) |
The following breaking changes are detected by comparison with the latest preview version:
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.2) | new version | base version |
---|---|---|
package-2023-05-30-preview | package-2023-05-30-preview(5e26bc5) | default(main) |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
OperationId for put method should contain both 'Create' and 'Update' Location: Azure.Analytics.Purview.Share/preview/2023-05-30-preview/share.json#L66 |
|
OperationId for put method should contain both 'Create' and 'Update' Location: Azure.Analytics.Purview.Share/preview/2023-05-30-preview/share.json#L412 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Azure.Analytics.Purview.Share/preview/2023-05-30-preview/share.json#L2038 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️
~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
CadlAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
TypeSpec Validation succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
Care for this PR will be performed by @faisalaltell12 |
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.
Looks good. 👍
I left a few minor comments that hopefully are easy fixes.
"properties": { | ||
"nextLink": { | ||
"description": "The Url of next result page.", | ||
"type": "string" |
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.
The nextLink
property should be format: url
.
"type": "string" | |
"type": "string", | |
"format": "url" |
} | ||
}, | ||
"ShareResourceList": { | ||
"description": "A page of Microsoft.Azure.Purview.Share.ApiService.V3.DataTransferObjects.ShareResource results.", |
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.
"description": "A page of Microsoft.Azure.Purview.Share.ApiService.V3.DataTransferObjects.ShareResource results.", | |
"description": "A page of ShareResource results.", |
"type": "string" | ||
}, | ||
"value": { | ||
"description": "Collection of items of type DataTransferObjects.", |
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.
"description": "Collection of items of type DataTransferObjects.", | |
"description": "Collection of items of type ShareResource.", |
"shareCounts": { | ||
"$ref": "#/definitions/ShareCounts" | ||
}, |
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.
Why nest these down inside a "ShareCounts" object? I think it will be better for users to simply put the two properties from "ShareCounts" here at the top level.
...ation/purview/data-plane/Azure.Analytics.Purview.Share/preview/2023-05-30-preview/share.json
Outdated
Show resolved
Hide resolved
Thank you Mike, the tough part is getting the local build - swashbuckle process specifically - to automatically apply those changes. That way on future API versions we have less developer intervention (y) Got it all working finally! |
@kevinmichaelbowersox (BTW, swashbuckle is not recommended...) |
Looks good! 👍 |
Data Plane API - Pull Request
Purview Share Test Api Specification Update - Version 2023-05-30-preview
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.
Is this review for (select one):
Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.
❔Got questions? Need additional info?? We are here to help!
Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.
Click here for links to tools, specs, guidelines & other good stuff
Tooling
Guidelines & Specifications
Helpful Links