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

feat: autodoc - render configuration defaultValue #185

Merged
merged 2 commits into from
Oct 10, 2023
Merged

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Oct 9, 2023

What this PR changes/adds

Render the defaultValue attribute of the @Setting annotation in the autodoc plugin

Why it does that

documentation

Further notes

  • removed issue and PR templates

Linked Issue(s)

Closes #184

Checklist

  • added appropriate tests?
  • performed checkstyle check locally?
  • added/updated copyright headers?
  • documented public classes/methods?
  • added/updated relevant documentation?
  • assigned appropriate label? (exclude from changelog with label no-changelog)
  • formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

@ndr-brt ndr-brt added the enhancement New feature or request label Oct 9, 2023
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Test Results

39 tests  ±0   39 ✔️ ±0   21s ⏱️ -2s
10 suites ±0     0 💤 ±0 
10 files   ±0     0 ±0 

Results for commit 48c05b2. ± Comparison against base commit 94b8791.

♻️ This comment has been updated with latest results.

settingBuilder.minimum(min);

return settingBuilder.build();
return ConfigurationSetting.Builder.newInstance().key(keyValue)
Copy link
Member

Choose a reason for hiding this comment

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

how on earth did I ever think that is good code 🤣
thanks for cleaning up!

@ndr-brt ndr-brt merged commit 345a6b2 into main Oct 10, 2023
17 checks passed
@ndr-brt ndr-brt deleted the 184-default-value branch October 10, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add defaultValue to the Setting autodoc entry
2 participants