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

Issue 215: Use API defaults for a simpler experience #235

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

brunovieira97
Copy link
Contributor

@brunovieira97 brunovieira97 commented Jan 21, 2024

New setting to allow for Spring Initializr recommended defaults to be used for following configurations:

  • Spring Boot version
  • Language
  • Packaging
  • Java version

Setting: spring.initializr.enableSmartDefaults*
Type: boolean
Default value: false

*Based on feature request from Issue, could be changed to a more appropriate name.


The default values will be based on the default field from API's response, such as below:

"javaVersion": {
    "type": "single-select",
    "default": "17",
    "values": [
        {
            "id": "21",
            "name": "21"
        },
        {
            "id": "17",
            "name": "17"
        }
    ]
}

Closes #215

@brunovieira97
Copy link
Contributor Author

I looked at my previous commits and realized they were not signed, for some reason. Had to force-push to fix that.

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.

Apply smart defaults to project creation wizard
1 participant