Skip to content
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

RouteMatrix 2024-06-01-preview #29153

Merged
merged 24 commits into from
Jun 4, 2024

Conversation

koyasu221b
Copy link
Member

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.

  • Link to API Spec engagement record issue:

Is this review for (select one):

  • a private preview
  • a public preview
  • GA release

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.

  • Design Document:
  • Previous API Spec Doc:
  • Updated paths:

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

Checks stuck in `queued` state? If the PR CI checks appear to be stuck in `queued` state, please add a comment with contents `/azp run`. This should result in a new comment denoting a `PR validation pipeline` has started and the checks should be updated after few minutes.

Copy link

openapi-pipeline-app bot commented May 18, 2024

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they will.
Addressing the following failures is highly recommended:
  • ⚠️ The check named TypeSpec Requirement (data-plane) has failed. TypeSpec usage is required for all new (greenfield) services. This is currently enforced as a warning for data-plane specs, but will be made a blocking error in the near future. For information on converting from OpenAPI specs to TypeSpec specs or on data-plane (DP) policies, refer to aka.ms/azsdk/typespec. If you have general questions on resource provider (RP) policies, refer to aka.ms/rphelp
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Copy link

openapi-pipeline-app bot commented May 18, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 10 Warnings warning [Detail]
Compared specs (v0.10.9) new version base version
route.json 2024-06-01-preview(dea21f7) 2024-05-01-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Route/preview/2024-06-01-preview/route.json#L755:9
Old: Route/preview/2024-05-01-preview/route.json#L523:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Route/preview/2024-06-01-preview/route.json#L755:9
Old: Route/preview/2024-05-01-preview/route.json#L523:9
⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
New: Route/preview/2024-06-01-preview/route.json#L1581:13
Old: Route/preview/2024-05-01-preview/route.json#L1189:13
⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
New: Route/preview/2024-06-01-preview/route.json#L1587:13
Old: Route/preview/2024-05-01-preview/route.json#L1194:13
⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
New: Route/preview/2024-06-01-preview/route.json#L1731:9
Old: Route/preview/2024-05-01-preview/route.json#L1337:9
⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
New: Route/preview/2024-06-01-preview/route.json#L1737:9
Old: Route/preview/2024-05-01-preview/route.json#L1342:9
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Route/preview/2024-06-01-preview/route.json#L865:9
Old: Route/preview/2024-05-01-preview/route.json#L658:9
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Route/preview/2024-06-01-preview/route.json#L865:9
Old: Route/preview/2024-05-01-preview/route.json#L658:9
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Route/preview/2024-06-01-preview/route.json#L3037:9
Old: Route/preview/2024-05-01-preview/route.json#L2514:9
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Route/preview/2024-06-01-preview/route.json#L2700:5
Old: Route/preview/2024-05-01-preview/route.json#L2128:5
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 10 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-preview-2024-06 package-preview-2024-06(dea21f7) default(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-06-01-preview/route.json#L513
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L554
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L618
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L667
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Route/preview/2024-06-01-preview/route.json#L667
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L720
⚠️ EnumInsteadOfBoolean 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: Route/preview/2024-06-01-preview/route.json#L2528
⚠️ PropertyType Property should have a defined type.
Location: Route/preview/2024-06-01-preview/route.json#L3297
⚠️ PropertyType Property should have a defined type.
Location: Route/preview/2024-06-01-preview/route.json#L3302
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Route/preview/2024-06-01-preview/route.json#L3472


The following errors/warnings exist before current PR submission:

Rule Message
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L131
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-06-01-preview/route.json#L146
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L194
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L254
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-06-01-preview/route.json#L269
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L314
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-06-01-preview/route.json#L329
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L376
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-06-01-preview/route.json#L391
⚠️ SchemaTypeAndFormat Schema with type: number should specify format
Location: Route/preview/2024-06-01-preview/route.json#L422
⚠️ SchemaTypeAndFormat Schema with type: number should specify format
Location: Route/preview/2024-06-01-preview/route.json#L422
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L436
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-06-01-preview/route.json#L451
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-06-01-preview/route.json#L498
⚠️ EnumInsteadOfBoolean 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: Route/preview/2024-06-01-preview/route.json#L805
⚠️ EnumInsteadOfBoolean 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: Route/preview/2024-06-01-preview/route.json#L913
⚠️ EnumInsteadOfBoolean 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: Route/preview/2024-06-01-preview/route.json#L918
⚠️ EnumInsteadOfBoolean 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: Route/preview/2024-06-01-preview/route.json#L2962
⚠️ EnumInsteadOfBoolean 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: Route/preview/2024-06-01-preview/route.json#L2986
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Route/preview/2024-06-01-preview/route.json#L3052
️️✔️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.
️️✔️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]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 18, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 18, 2024

Generated ApiView

Language Package Name ApiView Link
Swagger Route https://apiview.dev/Assemblies/Review/46fc96bf83a8468da2623389b47566b4?revisionId=bbbf9b86cf3a4363adc0de6a3a1f7782

@koyasu221b koyasu221b requested a review from FarazGIS May 18, 2024 17:11
@koyasu221b koyasu221b changed the title RouteMatrix 2024-056-01-preview RouteMatrix 2024-06-01-preview May 18, 2024
@koyasu221b koyasu221b force-pushed the koyasu221b-maps-Route-2024-06-01-preview branch from 9589843 to 792a3c9 Compare May 22, 2024 01:25
@mikekistler mikekistler linked an issue May 23, 2024 that may be closed by this pull request
@koyasu221b koyasu221b marked this pull request as ready for review May 28, 2024 11:38
@koyasu221b koyasu221b requested a review from a team as a code owner May 28, 2024 11:38
@koyasu221b koyasu221b requested review from scgbear and johanste and removed request for a team May 28, 2024 11:38
@jhendrixMSFT
Copy link
Member

@JeffreyRichter has this been approved by the API review board?

@JeffreyRichter
Copy link
Member

Yes it has

@JeffreyRichter JeffreyRichter added the APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. label Jun 3, 2024
@jhendrixMSFT jhendrixMSFT merged commit fbf0006 into main Jun 4, 2024
29 of 32 checks passed
@jhendrixMSFT jhendrixMSFT deleted the koyasu221b-maps-Route-2024-06-01-preview branch June 4, 2024 14:32
Francisco-Gamino pushed a commit to Francisco-Gamino/azure-rest-api-specs that referenced this pull request Jun 5, 2024
* first commit

* fix

* Add operationType

* rename to pointType

* fix

* update

* Update example

* update

* update description for default value

* update description

* Remove axleCount for RouteMatrix

* Update vehicleSpec

* update description

* Update description

* remove async result

* Revert "remove async result"

This reverts commit b7b2728.

* Remove Summary

* follow azure's convention

* Remove Accept-Language for RouteMatrix

* Update retention period to 24 hours

* Add createdDateTime

* Add suppressions

* Update description

---------

Co-authored-by: Will Huang <huangwill@microsoft.com>
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
markcowl pushed a commit to markcowl/azure-rest-api-specs that referenced this pull request Jun 7, 2024
* first commit

* fix

* Add operationType

* rename to pointType

* fix

* update

* Update example

* update

* update description for default value

* update description

* Remove axleCount for RouteMatrix

* Update vehicleSpec

* update description

* Update description

* remove async result

* Revert "remove async result"

This reverts commit b7b2728.

* Remove Summary

* follow azure's convention

* Remove Accept-Language for RouteMatrix

* Update retention period to 24 hours

* Add createdDateTime

* Add suppressions

* Update description

---------

Co-authored-by: Will Huang <huangwill@microsoft.com>
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
markcowl pushed a commit to markcowl/azure-rest-api-specs that referenced this pull request Jun 7, 2024
* first commit

* fix

* Add operationType

* rename to pointType

* fix

* update

* Update example

* update

* update description for default value

* update description

* Remove axleCount for RouteMatrix

* Update vehicleSpec

* update description

* Update description

* remove async result

* Revert "remove async result"

This reverts commit b7b2728.

* Remove Summary

* follow azure's convention

* Remove Accept-Language for RouteMatrix

* Update retention period to 24 hours

* Add createdDateTime

* Add suppressions

* Update description

---------

Co-authored-by: Will Huang <huangwill@microsoft.com>
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
markcowl pushed a commit that referenced this pull request Jun 7, 2024
* first commit

* fix

* Add operationType

* rename to pointType

* fix

* update

* Update example

* update

* update description for default value

* update description

* Remove axleCount for RouteMatrix

* Update vehicleSpec

* update description

* Update description

* remove async result

* Revert "remove async result"

This reverts commit b7b2728.

* Remove Summary

* follow azure's convention

* Remove Accept-Language for RouteMatrix

* Update retention period to 24 hours

* Add createdDateTime

* Add suppressions

* Update description

---------

Co-authored-by: Will Huang <huangwill@microsoft.com>
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Azure Maps - Azure Maps] API Review
6 participants