Name every Spring recipe category the marketplace renders - #1123
Merged
Conversation
Without a category descriptor the marketplace falls back to capitalizing
the last package segment, so the recipe browser was showing chips like
"Boot4", "Cloud2025", "Springdoc", "Opentelemetry", "Oauth2", "Mvc",
"Http", "Security7", and bare "Doc"/"Client"/"Server"/"Util"/"Concurrent"
with no parent in view to make sense of them. Two of those ("Util",
"Security") also landed in shared buckets alongside unrelated recipes
from other repositories.
Adds descriptors for the fifteen packages that lacked one, following the
shapes the file already uses ("Spring Boot 3.x" -> "Spring Boot 4.x",
"Spring Security 6.x" -> "Spring Security 7.x"), uppercasing the
initialisms (MVC, HTTP, OAuth2), and qualifying leaves by their parent so
they read on their own: "Doc" -> "SpringDoc", "Client" -> "OAuth2
Client", "Server" -> "OAuth2 Server", "resource" -> "OAuth2 Resource
Server", "Util" -> "Spring Utilities", "Concurrent" -> "Spring
Concurrency". org.openrewrite.java.spring.doc and
org.openrewrite.java.springdoc both migrate SpringFox/Swagger to
springdoc-openapi, so both now render as "SpringDoc".
Also sorts the file by packageName, which restores the order it already
had before AMQP and Spring Cloud 2024 were appended at the end.
Claude-Session: https://claude.ai/code/session_01EUyznX1M3YWkX5zzLp4q93
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Categories without a descriptor fall back to a capitalized package segment, so
Boot4,Cloud2025,Oauth2andSecurity7were showing up as-is with no description.Adds descriptors across the Spring package tree and regenerates
recipes.csv.https://claude.ai/code/session_019r1a149dSe3VMXxtbPEPXs