Skip to content

Conversation

aBurmeseDev
Copy link
Contributor

@aBurmeseDev aBurmeseDev commented Mar 4, 2025

Fixes aws/aws-sdk-js-v3#5761, JS-6001

Description of changes:

  • Replace empty deprecation messages with "see description"
  • Check for deprecatedTrait message and render it properly

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aBurmeseDev aBurmeseDev marked this pull request as ready for review March 4, 2025 07:04
@aBurmeseDev aBurmeseDev requested a review from a team as a code owner March 4, 2025 07:04
@aBurmeseDev aBurmeseDev force-pushed the john-docs branch 4 times, most recently from 4013229 to 5bd831a Compare October 2, 2025 19:20
.orElse("");
String deprecationString = "@deprecated" + deprecationMessage;
docs = docs + "\n\n" + deprecationString;
.map(msg -> " " + msg)
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to prefix empty space here since one already exists after the @deprecated tag.

String deprecationString = "@deprecated" + deprecationMessage;
docs = docs + "\n\n" + deprecationString;
.map(msg -> " " + msg)
.orElse(" see description");
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to prefix empty space

Copy link
Contributor

@kuhe kuhe left a comment

Choose a reason for hiding this comment

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

spacing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating Doc Reference for deprecated command "InvokeAsyncCommand"
2 participants