Skip to content

docs: Corrected the variables and code snippets#50

Open
sellisd wants to merge 1 commit into
DependencyTrack:masterfrom
sellisd:master
Open

docs: Corrected the variables and code snippets#50
sellisd wants to merge 1 commit into
DependencyTrack:masterfrom
sellisd:master

Conversation

@sellisd
Copy link
Copy Markdown

@sellisd sellisd commented Aug 7, 2025

The examples in the readme file had variables in
camelCase while in the code they are all smallcase. I modified the readme to match the code, so now
a user can copy paste the code from the readme and have a working example directly.

Copilot AI review requested due to automatic review settings August 7, 2025 12:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR corrects variable naming inconsistencies in the README documentation to match the actual code implementation. The changes standardize all input variable names from camelCase to lowercase formatting.

  • Updated all input parameter names from camelCase to lowercase (e.g., serverHostnameserverhostname)
  • Updated all code examples to use the corrected lowercase variable names
  • Ensures documentation matches actual code implementation for copy-paste functionality

@owasp-dt-bot
Copy link
Copy Markdown

owasp-dt-bot commented Aug 7, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

The examples in the readme file had variables in
camelCase while in the code they are all smallcase.
I modified the readme to match the code, so now
a user can copy paste the code from the readme and
have a working example directly.

Signed-off-by: Diamantis Sellis <diamantis.sellis@cosmotech.com>
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.

3 participants