express-jsdoc-swagger icon indicating copy to clipboard operation
express-jsdoc-swagger copied to clipboard

Add Default Value Option

Open mhkhoraidah opened this issue 3 years ago • 3 comments

You can add a default value by using 'default:' with single value.

For example: default:ITEM_ID

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix
  • [x] Feature
  • [ ] Test
  • [ ] Docs
  • [ ] Refactor
  • [ ] Build-related changes
  • [x] Other, please describe:

Description: default value example \examples\parameters\default.js and add run command 'npm run parameters:default'

mhkhoraidah avatar Apr 26 '22 08:04 mhkhoraidah

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Apr 26 '22 08:04 sonarqubecloud[bot]

Hi @mhkhoraidah sorry for the delayed response but this PR does not pass the tests so we could not merge it. I really like the change but we cannot merge it 😅

kevinccbsg avatar May 17 '22 10:05 kevinccbsg

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Aug 04 '22 06:08 sonarqubecloud[bot]