-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[DoNotMerge] Add RepairAction to AutoRepairs feature #16534
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
[DoNotMerge] Add RepairAction to AutoRepairs feature #16534
Conversation
* Add track2 batch 4 mysql-->cognitiveservices * resourcehealth-->sqlvirtualmachine
* fix examples * fix prettier checks
* Adds base for updating Microsoft.ApiManagement from version preview/2021-04-01-preview to version 2021-08-01 * Updates readme * Updates API version in new specs and examples
…ated] (Azure#16193) * Route: Rename parameter/client names * Route: Rename request body names * Route: Model a few objects as enum * Route: rename magnitudeOfDelay * Route: update startPointIndex/endPointIndex docstrings * Route: departureTime/arrivalTime to date-time * Route: Fix name in typescript.md * Route: modify docstrings for firstInstructionIndex/lastInstructionIndex * Route: rename turnAngleInDecimalDegrees * Route: Add docstrings for RouteSection/RouteLeg * Route: rename report object * Route: add friendly x-ms-examples key name * Route: rearrange definitions for better review * Route: remove language reference in hyperlink * Route: Remove repeated descriptions of batch API * Changed model name RouteDirectionsSummary to RouteSummary * Rename to RouteRangeResponse * Add max/min values for efficiency * Name changing with x-ms-client-name * Minor update * Route: naming fix * renamed all kWh to KwH * Route: add default values * Route: Fix wrong name * Route: Change response type name * Updated name and descriptions for route attributes * Remote language in URL * Route: definition name changed for type name * Route: keep the operations for maintaining SDK consistencies * Route: Change response object names * Route: Fix parameter type * Common: Add more definitions for better client type name * Common: Add description for query parameter * Route: Just rename RouteSummary Definition * Common: Redo the naming for batchItems * Route: add names for x-ms-enum * Route: change all floats to doubles (verified in backend) * Route: use collectionFormat for route range api * Route: rename operationIds to remove Post wording * Modified two method names * Route: update vehicleCommericial's client name * Route: update description/client name for carTrain Co-authored-by: Alex Tsao <[email protected]> Co-authored-by: Daniel Rocha <[email protected]>
…erated] (Azure#16148) * Modified AirQuality * Modified AirDetails * renaming variables for Current Condition * 1. Rename to model to WeatherValue 2. Renamed to IconCode definition * Rename properties to description(s) for consistency * Rename model to weatherValueRange * Renamed to Forecast for better self explaining * Better naming/self explaining for values * Update name fpr dbz * Add enum for UnitType, PrecipitationType, IconCode * Updated example files * Fix CI errors 1. Add new word to avoid error checks failing 2. Updated with "x-ms-client-name" to fix CI errors * Update according to review feedbacks 1. Removed duplicate enum attributes 2. Updated descriptions * Update IconCode * Update x-ms-exmaple for better description * Update Enum * add name for enum * Update according to feedback 1. Update all `query` to collectionFormat 2. Set `readOnly=true` for all response 3. Create PastHoursTemperature model for opimization * Update name Co-authored-by: Alex Tsao <[email protected]>
…on stable/2021-10-01 (This is internal data plane service inside Microsoft.Marketplace RP) (Azure#16306) * New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * first commit * fix * fix * examples * fix * words * fix * spell * pretty * fix * pretty * fix * comments * spelling
* fix check access response * Add DefinitionsPropertiesNamesCamelCase suppression role Co-authored-by: Prince Gupta <[email protected]>
* move questionAnswering 2021-07-15-preview to main * update version in examples
…preview/2021-06-01-preview (Azure#16399) * Bypass incompatible responses * Add missing path * Add version info * Removing undesired 404
|
Hi, @frank-pang-msft 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] |
|
[Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks. |
|
Thank you for your contribution frank-pang-msft! We will review the pull request and get back to you soon. |
Swagger Validation Report
|
| Rule | Message |
|---|---|
1007 - RemovedClientParameter |
The new version is missing a client parameter that was found in the old version. Was 'zTileIndex' removed or renamed? New: Common/preview/1.0/common.json#L530:3 Old: Common/preview/1.0/common.json#L530:3 |
1007 - RemovedClientParameter |
The new version is missing a client parameter that was found in the old version. Was 'IncludeText' removed or renamed? New: Common/preview/1.0/common.json#L530:3 Old: Common/preview/1.0/common.json#L530:3 |
️⚠️LintDiff: 5 Warnings warning [Detail]
- Linted configuring files (Based on source branch, openapi-validator v1.10.1 , classic-openapi-validator v1.1.10 )
- apimanagement/resource-manager/readme.md tag:package-2021-08
- data-plane/Language/readme.md tag:release_2021_07_15_preview
- keyvault/resource-manager/readme.md tag:package-preview-2021-06
- maps/data-plane/readme.md tag:default
- data-plane/Route/readme.md tag:1.0-preview
- data-plane/Weather/readme.md tag:1.0-preview
- marketplacecatalog/data-plane/readme.md tag:package-2021-10-01
- synapse/data-plane/readme.md tag:package-access-control-2020-12-01
- Linted configuring files (Based on target branch, openapi-validator v1.10.1 , classic-openapi-validator v1.1.10 )
- apimanagement/resource-manager/readme.md tag:default
- data-plane/Language/readme.md tag:default
- keyvault/resource-manager/readme.md tag:package-preview-2021-06
- maps/data-plane/readme.md tag:default
- data-plane/Route/readme.md tag:1.0-preview
- data-plane/Weather/readme.md tag:1.0-preview
- marketplacecatalog/data-plane/readme.md tag:default
- synapse/data-plane/readme.md tag:package-access-control-2020-12-01
| Rule | Message |
|---|---|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.Marketplace/stable/2021-10-01/marketplacecatalog.json#L1857 |
|
| The operation 'QuestionAnsweringProjects_DeleteProject' returns 202 status code, which indicates a long running operation, please enable 'x-ms-long-running-operation. Location: Language/preview/2021-07-15-preview/questionanswering-authoring.json#L169 |
|
| The value provided for description is not descriptive enough. Accurate and descriptive description is essential for maintaining reference documentation. Location: Microsoft.Marketplace/stable/2021-10-01/marketplacecatalog.json#L281 |
|
| The value provided for description is not descriptive enough. Accurate and descriptive description is essential for maintaining reference documentation. Location: Microsoft.Marketplace/stable/2021-10-01/marketplacecatalog.json#L1104 |
|
| The value provided for description is not descriptive enough. Accurate and descriptive description is essential for maintaining reference documentation. Location: Microsoft.Marketplace/stable/2021-10-01/marketplacecatalog.json#L1806 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Feedback/preview/1.0/feedback.json#L216 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Mobility/preview/1.0/mobility.json#L1464 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Mobility/preview/1.0/mobility.json#L1491 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Route/preview/1.0/route.json#L1813 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Route/preview/1.0/route.json#L1855 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Route/preview/1.0/route.json#L1878 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Route/preview/1.0/route.json#L1969 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Search/preview/1.0/search.json#L2075 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Spatial/preview/1.0/spatial.json#L1095 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Spatial/preview/1.0/spatial.json#L1118 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Spatial/preview/1.0/spatial.json#L1148 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Spatial/preview/1.0/spatial.json#L1175 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'SignInSettings_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ApiManagement/stable/2021-08-01/apimportalsettings.json#L123 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'SignUpSettings_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ApiManagement/stable/2021-08-01/apimportalsettings.json#L315 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'DelegationSettings_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ApiManagement/stable/2021-08-01/apimportalsettings.json#L507 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'SignInSettings_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ApiManagement/stable/2021-08-01/apimportalsettings.json#L218 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'SignUpSettings_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ApiManagement/stable/2021-08-01/apimportalsettings.json#L410 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'DelegationSettings_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ApiManagement/stable/2021-08-01/apimportalsettings.json#L602 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/2021-06-01-preview/secrets.json#L306 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/2021-06-01-preview/secrets.json#L312 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/2021-06-01-preview/secrets.json#L318 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/2021-06-01-preview/secrets.json#L324 |
R4018 - OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.ApiManagement/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.ApiManagement/stable/2021-08-01/apimdeployment.json#L37 |
R4037 - MissingTypeObject |
The schema 'ErrorFieldContract' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L38 |
R4037 - MissingTypeObject |
The schema 'ErrorResponse' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L55 |
R4037 - MissingTypeObject |
The schema 'ErrorResponseBody' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L65 |
R4037 - MissingTypeObject |
The schema 'RegionContract' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L85 |
R4037 - MissingTypeObject |
The schema 'RegionListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L103 |
R4037 - MissingTypeObject |
The schema 'ErrorFieldContract' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L38 |
R4037 - MissingTypeObject |
The schema 'ErrorResponseBody' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json#L65 |
️⚠️Avocado: 4 Warnings warning [Detail]
| Rule | Message |
|---|---|
| The default tag contains multiple API versions swaggers. readme: specification/alertsmanagement/resource-manager/readme.md tag: specification/alertsmanagement/resource-manager/readme.md#tag-package-2019-06-preview |
|
| The JSON file has a circular reference. readme: specification/apimanagement/resource-manager/readme.md json: Microsoft.ApiManagement/stable/2021-08-01/definitions.json |
|
| The default tag contains multiple API versions swaggers. readme: specification/mysql/resource-manager/readme.md tag: specification/mysql/resource-manager/readme.md#tag-package-2020-01-01 |
|
| The default tag contains multiple API versions swaggers. readme: specification/streamanalytics/resource-manager/readme.md tag: specification/streamanalytics/resource-manager/readme.md#tag-package-2020-03-preview |
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
- The following tags are being changed in this PR
- apimanagement/resource-manager/readme.md#package-2021-08
- cognitiveservices/data-plane/Language/readme.md#release_2021_05_01_preview
- cognitiveservices/data-plane/Language/readme.md#release_2021_07_15_preview
- marketplacecatalog/data-plane/readme.md#package-2021-10-01
- synapse/data-plane/readme.md#package-metadata-2021-07-01-preview
- synapse/data-plane/readme.md#package-artifacts-composite-v1
- synapse/data-plane/readme.md#package-artifacts-2021-06-01-preview
- synapse/data-plane/readme.md#package-vnet-2021-06-01-preview
- synapse/data-plane/readme.md#package-kql-script-2021-06-preview
- synapse/data-plane/readme.md#package-artifacts-2020-12-01
- synapse/data-plane/readme.md#package-monitoring-2020-12-01
- synapse/data-plane/readme.md#package-access-control-2020-12-01
- synapse/data-plane/readme.md#package-vnet-2020-12-01
- synapse/data-plane/readme.md#package-spark-2020-12-01
- synapse/data-plane/readme.md#package-spark-2019-11-01-preview
- synapse/data-plane/readme.md#package-artifacts-2019-06-01-preview
- synapse/data-plane/readme.md#package-access-control-2020-02-01-preview
- synapse/data-plane/readme.md#package-access-control-2020-08-01-preview
- synapse/data-plane/readme.md#package-vnet-2019-06-01-preview
- synapse/data-plane/readme.md#package-monitoring-2019-11-01-preview
- keyvault/resource-manager/readme.md#package-preview-2021-06
- maps/data-plane/Route/readme.md#1.0-preview
- maps/data-plane/Weather/readme.md#1.0-preview
️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
Swagger Generation Artifacts
|
|
Hi @frank-pang-msft, 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. |
|
PR mistake |
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Add a changelog entry for this PR by answering the following questions:
Contribution checklist:
- Is this change a breaking change? I do not think so, but please let me know.
- When running prettier on all json files there were a huge list of modified files that were not related to my change so I did not push it. Is this expected?
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.
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 any of the following scenarios apply to the PR, request approval from the 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.