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

Add deprecation banner to Azure Maps Render V1 #26022

Merged
merged 6 commits into from
Oct 3, 2023

Conversation

miaxzhitong
Copy link
Member

@miaxzhitong miaxzhitong commented Sep 29, 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: N/A
  • Previous API Spec Doc: N/A
  • Updated paths: specification/maps/data-plane/Render/preview/1.0/render.json

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

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 29, 2023

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).

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 29, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
compared swaggers (via Oad v0.10.4)] new version base version
render.json 1.0(fd50de3) 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.1.6) new version base version
1.0 1.0(fd50de3) 1.0(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: Render/preview/1.0/render.json#L337
ValidFormats 'file' is not a known format.
Location: Render/preview/1.0/render.json#L469
ValidFormats 'file' is not a known format.
Location: Render/preview/1.0/render.json#L528
ValidFormats 'file' is not a known format.
Location: Render/preview/1.0/render.json#L639
⚠️ VersionConvention API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'.
Location: Render/preview/1.0/render.json#L5
⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
Location: Render/preview/1.0/render.json#L189
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Render/preview/1.0/render.json#L192
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Render/preview/1.0/render.json#L347
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Render/preview/1.0/render.json#L347
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Render/preview/1.0/render.json#L347
⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
Location: Render/preview/1.0/render.json#L367
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Render/preview/1.0/render.json#L370
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Render/preview/1.0/render.json#L479
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Render/preview/1.0/render.json#L479
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Render/preview/1.0/render.json#L479
⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
Location: Render/preview/1.0/render.json#L499
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Render/preview/1.0/render.json#L538
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Render/preview/1.0/render.json#L538
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Render/preview/1.0/render.json#L538
⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
Location: Render/preview/1.0/render.json#L558
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Render/preview/1.0/render.json#L561
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Render/preview/1.0/render.json#L572
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Render/preview/1.0/render.json#L572
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Render/preview/1.0/render.json#L572
⚠️ ParameterDefaultNotAllowed A required parameter should not specify a default value.
Location: Render/preview/1.0/render.json#L592
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Render/preview/1.0/render.json#L595
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Render/preview/1.0/render.json#L649
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Render/preview/1.0/render.json#L649
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Render/preview/1.0/render.json#L649
⚠️ PageableOperation Based on the response model schema, operation 'Render_GetCopyrightFromBoundingBox' might be pageable. Consider adding the x-ms-pageable extension.
Location: Render/preview/1.0/render.json#L656
️️✔️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]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 29, 2023

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

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 29, 2023

Generated ApiView

Language Package Name ApiView Link
Swagger 1.0 https://apiview.dev/Assemblies/Review/f6e8a5a83508452aa75083d84f9ec2a7

@miaxzhitong miaxzhitong marked this pull request as ready for review September 29, 2023 04:28
@miaxzhitong miaxzhitong requested a review from a team as a code owner September 29, 2023 04:28
@miaxzhitong miaxzhitong requested review from tg-msft and MushMal and removed request for a team September 29, 2023 04:28
@konrad-jamrozik
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Contributor

@ismael-ms ismael-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 🎉

@miaxzhitong
Copy link
Member Author

/pr RequestMerge

@miaxzhitong miaxzhitong changed the title [Hub Generated] Review request for Render to add version preview/1.0 Add deprecation banner to Azure Maps Render V1 Oct 2, 2023
@miaxzhitong
Copy link
Member Author

Hi @JeffreyRichter, Thanks for approving this PR. It seems that @tjprescott, the assignee of this PR, is OOF now. Can you help with merging this PR and so that we can caught the batch to go live today's evening / tomorrow's morning? Thanks so much!

@JeffreyRichter
Copy link
Member

@jhendrixMSFT Can you merge or what is the procedure if the assignee is OOF?

@miaxzhitong
Copy link
Member Author

Hi @JeffreyRichter, it seems that I can add you as assignee for this PR. Do you think it will be a good workaround for now? Please let me know if you have any concern here.

@JeffreyRichter
Copy link
Member

JeffreyRichter commented Oct 3, 2023 via email

@miaxzhitong
Copy link
Member Author

What do you want me to do with this pr?

-- Jeffrey
________________________________ From: miaxzhitong @.> Sent: Monday, October 2, 2023 5:58:32 PM To: Azure/azure-rest-api-specs @.> Cc: Jeffrey Richter @.>; Mention @.> Subject: Re: [Azure/azure-rest-api-specs] Add deprecation banner to Azure Maps Render V1 (PR #26022) Hi @JeffreyRichterhttps://github.com/JeffreyRichter, it seems that I can add you as assignee for this PR. Do you think it will be a good workaround for now? Please let me know if you have any concern here. — Reply to this email directly, view it on GitHub<#26022 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARLJP52PF4QVBWTIOJ5JLDX5NPLRAVCNFSM6AAAAAA5LZHOUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTHE4TMNZRGE. You are receiving this because you were mentioned.Message ID: @.***>

Can you help to merge it so that this PR can catch the go-live batch tomorrow? Thanks so much!

@JeffreyRichter
Copy link
Member

JeffreyRichter commented Oct 3, 2023 via email

@jhendrixMSFT jhendrixMSFT merged commit 7dc72e8 into main Oct 3, 2023
@jhendrixMSFT jhendrixMSFT deleted the miaxzhitong-maps-Render1.0-deprecation branch October 3, 2023 13:37
@openapi-pipeline-app
Copy link

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

jnlycklama pushed a commit that referenced this pull request Nov 8, 2023
* add render V1 deprecaton banner to render doc

* try for adding summary

* add summary to all other child pages

* remove retirement banner from top overview description

* fix Render V1 and V2 link

* bug fix

---------

Co-authored-by: Zhitong Xie <[email protected]>
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.

7 participants