Skip to content

Add disableDefaultDeprecatedMessage configuration option for json schema #2694

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kcwinner
Copy link

@kcwinner kcwinner commented Jul 8, 2025

Background

  • What do these changes do?

This adds support for a new json schema setting,disableDefaultDeprecatedMessage, that disables the default This {shape} is deprecated. descriptions.

I'm new to this codebase, let me know if there are other considerations I may have missed here

  • Why are they important?

#2693

Testing

  • How did you test these changes?
  • added test cases to OpenApiJsonSchemaMapperTest.java
  • ran ./gradlew :smithy-openapi:test --tests "*OpenApiJsonSchemaMapperTest*disableDefaultDeprecatedMessage*"
  • ran ./gradlew build

Links


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

… the default 'This {shape} is deprecated.' descriptions
@kcwinner kcwinner requested a review from a team as a code owner July 8, 2025 20:57
@kcwinner kcwinner requested a review from sugmanue July 8, 2025 20:57
@kcwinner kcwinner changed the title Add 'disableDefaultDeprecatedMessage configuration option for json schema Add disableDefaultDeprecatedMessage configuration option for json schema Jul 8, 2025
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.

1 participant