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

Deprecate Maps Elevation API #23290

Merged
merged 2 commits into from
Mar 27, 2023
Merged

Deprecate Maps Elevation API #23290

merged 2 commits into from
Mar 27, 2023

Conversation

ismael-ms
Copy link
Contributor

@ismael-ms ismael-ms commented Mar 25, 2023

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 engagement record.

Elevation services
Elevation - REST API (Azure Maps) | Microsoft Learn
Elevation - Get Data For Bounding Box - REST API (Azure Maps) | Microsoft Learn
Elevation - Get Data For Points - REST API (Azure Maps) | Microsoft Learn
Elevation - Get Data For Polyline - REST API (Azure Maps) | Microsoft Learn
Elevation - Post Data For Points - REST API (Azure Maps) | Microsoft Learn
Elevation - Post Data For Polyline - REST API (Azure Maps) | Microsoft Learn

Render V2 DEM Tiles
Render V2 - Get Map Tile - REST API (Azure Maps) | Microsoft Learn
Render V2 - Get Map Tileset - REST API (Azure Maps) | Microsoft Learn

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 Open API document (swagger) if applicable, and the root paths that have been updated.

  • Design Document: N/A
  • Previous Open API Doc: N/A
  • Updated paths: specification/maps/data-plane/DEM/preview/1.0/elevation.json

❔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, @ismael-ms 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. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 25, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.4)] new version base version
    elevation.json 1.0(41517e0) 1.0(main)
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    1.0-preview 1.0-preview(41517e0) 1.0-preview(main)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: DEM/preview/1.0/elevation.json#L185
    IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: DEM/preview/1.0/elevation.json#L234
    IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: DEM/preview/1.0/elevation.json#L290
    IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: DEM/preview/1.0/elevation.json#L299
    ⚠️ VersionConvention API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'.
    Location: DEM/preview/1.0/elevation.json#L5
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: DEM/preview/1.0/elevation.json#L66
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ElevationModel'. Consider using the plural form of 'Elevation' 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: DEM/preview/1.0/elevation.json#L69
    ⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
    Location: DEM/preview/1.0/elevation.json#L79
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: DEM/preview/1.0/elevation.json#L82
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: DEM/preview/1.0/elevation.json#L105
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: DEM/preview/1.0/elevation.json#L105
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: DEM/preview/1.0/elevation.json#L105
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: DEM/preview/1.0/elevation.json#L110
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ElevationModel'. Consider using the plural form of 'Elevation' 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: DEM/preview/1.0/elevation.json#L113
    ⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
    Location: DEM/preview/1.0/elevation.json#L123
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: DEM/preview/1.0/elevation.json#L126
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: DEM/preview/1.0/elevation.json#L146
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: DEM/preview/1.0/elevation.json#L146
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: DEM/preview/1.0/elevation.json#L146
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: DEM/preview/1.0/elevation.json#L153
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ElevationModel'. Consider using the plural form of 'Elevation' 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: DEM/preview/1.0/elevation.json#L156
    ⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
    Location: DEM/preview/1.0/elevation.json#L166
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: DEM/preview/1.0/elevation.json#L169
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: DEM/preview/1.0/elevation.json#L201
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: DEM/preview/1.0/elevation.json#L201
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: DEM/preview/1.0/elevation.json#L201
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: DEM/preview/1.0/elevation.json#L206
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ElevationModel'. Consider using the plural form of 'Elevation' 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: DEM/preview/1.0/elevation.json#L209
    ⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
    Location: DEM/preview/1.0/elevation.json#L219
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: DEM/preview/1.0/elevation.json#L222
    ️️✔️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: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️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?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 25, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 25, 2023

    Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

    @ghost ghost added the Maps label Mar 25, 2023
    @ismael-ms ismael-ms force-pushed the ismael-ms-maps-DEM-1.0 branch 3 times, most recently from af64236 to 705b05a Compare March 27, 2023 17:31
    @ismael-ms ismael-ms force-pushed the ismael-ms-maps-DEM-1.0 branch 2 times, most recently from cff2115 to 9d5d75c Compare March 27, 2023 18:39
    @ismael-ms ismael-ms changed the title Deprecate Maps API Deprecate Maps Elevation API Mar 27, 2023
    @ismael-ms ismael-ms marked this pull request as ready for review March 27, 2023 19:59
    @ismael-ms ismael-ms requested a review from a team as a code owner March 27, 2023 19:59
    @ismael-ms ismael-ms requested review from JeffreyRichter and MushMal and removed request for a team March 27, 2023 19:59
    @heaths heaths merged commit a63994f into main Mar 27, 2023
    @heaths heaths deleted the ismael-ms-maps-DEM-1.0 branch March 27, 2023 20:53
    JoshLove-msft pushed a commit to JoshLove-msft/azure-rest-api-specs that referenced this pull request Apr 25, 2023
    * Add deprecation banner to Maps Elevation
    
    * Add hyperlink for retirement page
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants