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

[Hub Generated] Review request for Creator to add version stable/2023-07-01 #24330

Merged
merged 7 commits into from
Jun 26, 2023

Conversation

tejitpabari99
Copy link
Contributor

@tejitpabari99 tejitpabari99 commented Jun 7, 2023

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

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: https://learn.microsoft.com/en-us/rest/api/maps/2023-03-01-preview/dataset
  • Updated paths: We have made a few changes for the GA version -
    • We introduced a new feature in the preview version (using udid to make a dataset), which we do not wish to carry forward to the new GA version. Hence, the removal from GA. Preview will continue to support that feature.
    • We are also removing alias from Style APIs and improve sprite description for GA version. Don't want to carry it forward.
    • We are removing Routeset and Wayfinding API introduced in the preview version from GA.
    • updated minWidth param default value and description. Not a breaking change - For the preview versions 2022-09-01-preview, 2023-03-01-preview (See pull/24385 for more information - Approved Breaking change label has been added)

❔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

@openapi-workflow-bot
Copy link

Hi, @tejitpabari99 Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 7, 2023

    Swagger Validation Report

    ️❌BreakingChange: 4 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    wayfind.json 2022-09-01-preview(40d6758) 2022-09-01-preview(main)
    wayfind.json 2023-03-01-preview(40d6758) 2023-03-01-preview(main)
    Rule Message
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-09-01-preview/wayfind.json#L279:9
    Old: Creator/preview/2022-09-01-preview/wayfind.json#L279:9
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-09-01-preview/wayfind.json#L260:5
    Old: Creator/preview/2022-09-01-preview/wayfind.json#L260:5
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2023-03-01-preview/wayfind.json#L269:9
    Old: Creator/preview/2023-03-01-preview/wayfind.json#L269:9
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2023-03-01-preview/wayfind.json#L250:5
    Old: Creator/preview/2023-03-01-preview/wayfind.json#L250:5
    ️⚠️Breaking Change(Cross-Version): 9 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    alias.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    dataset.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    dwgconversion.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    features.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    featurestate.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    mapconfiguration.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    style.json 2023-07-01(40d6758) 2023-03-01-preview(main)
    tileset.json 2023-07-01(40d6758) 2023-03-01-preview(main)

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

    Rule Message
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'Udid' removed or renamed?
    New: Creator/stable/2023-07-01/dataset.json#L60:3
    Old: Creator/preview/2023-03-01-preview/dataset.json#L60:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'OutputOntologyDataset' removed or renamed?
    New: Creator/stable/2023-07-01/dataset.json#L60:3
    Old: Creator/preview/2023-03-01-preview/dataset.json#L60:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'StyleAlias' removed or renamed?
    New: Creator/stable/2023-07-01/style.json#L60:3
    Old: Creator/preview/2023-03-01-preview/style.json#L60:3
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'udids' renamed or removed?
    New: Creator/stable/2023-07-01/dataset.json#L344:7
    Old: Creator/preview/2023-03-01-preview/dataset.json#L379:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'alias' renamed or removed?
    New: Creator/stable/2023-07-01/style.json#L308:7
    Old: Creator/preview/2023-03-01-preview/style.json#L319:7
    ⚠️ 1042 - ChangedParameterOrder The order of parameter 'CreateContent' was changed.
    New: Creator/stable/2023-07-01/style.json#L111:9
    Old: Creator/preview/2023-03-01-preview/style.json#L119:9
    ⚠️ 1046 - RemovedOptionalParameter The optional parameter 'udid' was removed in the new version.
    Old: Creator/preview/2023-03-01-preview/dataset.json#L154:9
    ⚠️ 1046 - RemovedOptionalParameter The optional parameter 'outputOntology' was removed in the new version.
    Old: Creator/preview/2023-03-01-preview/dataset.json#L154:9
    ⚠️ 1046 - RemovedOptionalParameter The optional parameter 'alias' was removed in the new version.
    Old: Creator/preview/2023-03-01-preview/style.json#L119:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.1.3) new version base version
    package-2023-07 package-2023-07(40d6758) default(main)
    package-preview-2023-03 package-preview-2023-03(40d6758) package-preview-2023-03(main)
    package-preview-2022-09 package-preview-2022-09(40d6758) package-preview-2022-09(main)

    The following errors/warnings exist before current PR submission:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    ValidFormats 'file' is not a known format.
    Location: Creator/stable/2023-07-01/mapconfiguration.json#L212
    ValidFormats 'file' is not a known format.
    Location: Creator/stable/2023-07-01/style.json#L201
    ⚠️ PageableOperation Based on the response model schema, operation 'Wayfinding_GetPath' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Creator/preview/2022-09-01-preview/wayfind.json#L271
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: Creator/preview/2022-09-01-preview/wayfind.json#L271
    ⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
    Location: Creator/preview/2022-09-01-preview/wayfind.json#L283
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Creator/preview/2022-09-01-preview/wayfind.json#L318
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Creator/preview/2022-09-01-preview/wayfind.json#L318
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Creator/preview/2022-09-01-preview/wayfind.json#L318
    ⚠️ PageableOperation Based on the response model schema, operation 'Wayfinding_GetPath' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Creator/preview/2023-03-01-preview/wayfind.json#L261
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: Creator/preview/2023-03-01-preview/wayfind.json#L261
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Creator/preview/2023-03-01-preview/wayfind.json#L308
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Creator/preview/2023-03-01-preview/wayfind.json#L308
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Creator/preview/2023-03-01-preview/wayfind.json#L308
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AliasModel'. Consider using the plural form of 'Alias' 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: Creator/stable/2023-07-01/alias.json#L97
    ⚠️ Post201Response Using post for a create operation is discouraged.
    Location: Creator/stable/2023-07-01/alias.json#L115
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Creator/stable/2023-07-01/alias.json#L127
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Creator/stable/2023-07-01/alias.json#L127
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Creator/stable/2023-07-01/alias.json#L127
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AliasModel'. Consider using the plural form of 'Alias' 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: Creator/stable/2023-07-01/alias.json#L134
    ⚠️ PaginationResponse Response body schema of pageable response should contain top-level array property value
    Location: Creator/stable/2023-07-01/alias.json#L155
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Creator/stable/2023-07-01/alias.json#L159
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Creator/stable/2023-07-01/alias.json#L159
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Creator/stable/2023-07-01/alias.json#L159
    ⚠️ OperationId OperationId for put method should contain 'Create' or 'Update'
    Location: Creator/stable/2023-07-01/alias.json#L168
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AliasModel'. Consider using the plural form of 'Alias' 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: Creator/stable/2023-07-01/alias.json#L168
    ⚠️ PutInOperationName 'PUT' operation 'Alias_Assign' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Creator/stable/2023-07-01/alias.json#L168
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Creator/stable/2023-07-01/alias.json#L178
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Creator/stable/2023-07-01/alias.json#L195
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Creator/stable/2023-07-01/alias.json#L195
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Creator/stable/2023-07-01/alias.json#L195
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ CIRCULAR_REFERENCE The JSON file has a circular reference.
    readme: maps/data-plane/Creator/readme.md
    json: Creator/stable/2023-07-01/tileset.json
    ️️✔️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.
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost ghost added the Maps label Jun 7, 2023
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 7, 2023

    Swagger pipeline restarted successfully, please wait for status update in this comment.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 7, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Swagger maps-data-plane-Creator https://apiview.dev/Assemblies/Review/a898fb2c351a49e8be8551541ff88a0e

    davsta90 and others added 4 commits June 21, 2023 12:09
    * updated minWIdth param default value and description
    
    * fixed spelling
    * Remove alias from Style APIs and improve sprite description
    
    * Fix validation errors
    * Dataset Swagger changes - Removing Udid support from GA
    
    * Changing version to 2023-07-01 in some places
    
    ---------
    
    Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>
    * Remove Wayfinding and Routeset from GA
    
    * Adding to Creator SDK readme
    
    * Revert "Adding to Creator SDK readme"
    
    This reverts commit b72f517.
    
    ---------
    
    Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>
    @AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Jun 21, 2023
    @openapi-workflow-bot
    Copy link

    Hi @tejitpabari99! The automation detected breaking changes in this pull request. As a result, it added the BreakingChangeReviewRequired label.

    You cannot proceed with merging this PR until you complete one of the following action items:

    ACTION ITEM ALTERNATIVE A: Fix the breaking change.
    Please consult the documentation provided in the relevant validation failures.

    ACTION ITEM ALTERNATIVE B: Request approval.
    Alternatively, if you cannot fix the breaking changes, then you can request an approval for them. Please follow the process described in the High-level Breaking Change Process doc.

    ACTION ITEM ALTERNATIVE C: Report false positive.
    If you think there are no breaking changes, i.e. the validation should pass yet it fails, then please explain why in a PR comment and @ the PR assignee.

    @tejitpabari99 tejitpabari99 marked this pull request as ready for review June 21, 2023 19:35
    @tejitpabari99 tejitpabari99 requested a review from a team as a code owner June 21, 2023 19:35
    @tejitpabari99 tejitpabari99 requested review from vicancy and JeffreyRichter and removed request for a team June 21, 2023 19:35
    @JeffreyRichter JeffreyRichter added Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. labels Jun 23, 2023
    @jhendrixMSFT jhendrixMSFT merged commit ed1c652 into main Jun 26, 2023
    @jhendrixMSFT jhendrixMSFT deleted the release-maps-Creator-2023-07-01 branch June 26, 2023 22:41
    harryli0108 pushed a commit to harryli0108/azure-rest-api-specs that referenced this pull request Jul 28, 2023
    …-07-01 (Azure#24330)
    
    * Adds base for updating Creator from version preview/2023-03-01-preview to version 2023-07-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * updated minWidth param default value and description (Azure#24385)
    
    * updated minWIdth param default value and description
    
    * fixed spelling
    
    * Remove alias from Style APIs and improve sprite description (Azure#24391)
    
    * Remove alias from Style APIs and improve sprite description
    
    * Fix validation errors
    
    * Dataset Swagger changes - Removing Udid support from GA (Azure#24358)
    
    * Dataset Swagger changes - Removing Udid support from GA
    
    * Changing version to 2023-07-01 in some places
    
    ---------
    
    Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>
    
    * Remove Wayfinding and Routeset from GA (Azure#24468)
    
    * Remove Wayfinding and Routeset from GA
    
    * Adding to Creator SDK readme
    
    * Revert "Adding to Creator SDK readme"
    
    This reverts commit b72f517.
    
    ---------
    
    Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>
    
    ---------
    
    Co-authored-by: davsta90 <88048110+davsta90@users.noreply.github.com>
    Co-authored-by: Xubin <zhugexubin@gmail.com>
    Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required data-plane Maps
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    6 participants