-
Notifications
You must be signed in to change notification settings - Fork 5k
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 version 2023-10-01-preview for Purview.Workflow #25893
Conversation
Next Steps to Merge✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM). |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
purviewWorkflow.json | 2023-10-01-preview(d9cab54) | 2022-05-01-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: 17 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) | new version | base version |
---|---|---|
package-2023-10-01-preview | package-2023-10-01-preview(d9cab54) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowModel'. Consider using the plural form of 'Workflow' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L89 |
||
A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Workflow_CreateOrReplace' Request Model: 'parameters[1].schema' Response Model: 'responses[200].schema' Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L118 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowModel'. Consider using the plural form of 'Workflow' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L123 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowModel'. Consider using the plural form of 'Workflow' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L166 |
||
Since operation response has model definition in array type, it should be of the form '_list'. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L194 |
||
Operation might be pageable. Consider adding the x-ms-pageable extension. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L194 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowModel'. Consider using the plural form of 'Workflow' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L199 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L206 |
||
Error response should contain a x-ms-error-code header. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L229 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowRunModel'. Consider using the plural form of 'WorkflowRun' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L360 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowRunModel'. Consider using the plural form of 'WorkflowRun' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L396 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowTaskModel'. Consider using the plural form of 'WorkflowTask' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L519 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApprovalModel'. Consider using the plural form of 'Approval' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L552 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApprovalModel'. Consider using the plural form of 'Approval' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L594 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'WorkflowTaskModel'. Consider using the plural form of 'WorkflowTask' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L636 |
||
Schema should have a description or title. Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L1228 |
||
Consider using x-ms-client-flatten to provide a better end user experience Location: Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json#L1259 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
SwaggerAPIView 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).
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️
Automated merging requirements met succeeded [Detail] [Expand]
Swagger Generation Artifacts
|
Generated ApiView
|
Hi @wuweiran! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. |
Swagger pipeline restarted successfully, please wait for status update in this comment. |
* Add version 2023-10-01-preview for Purview.Workflow * Fix * Fix * Fix * Fix * Fix * Add description about max page size --------- Co-authored-by: Weiran Wu <weiranwu@microsoft.com>
Data Plane API - Pull Request
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.
/workflows/{workflowId}/validate
,/workflowtasks
,/workflowruns
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiView
comment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔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