Skip to content

Commit

Permalink
chore: remove paramType function
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Spigolon <[email protected]>
  • Loading branch information
msebastianb and Eomm authored Oct 11, 2023
1 parent 7f36c54 commit ecc9ae6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/util/generate-params-schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ const { matchParams } = require('./match-params')

const namePattern = /\{([^}]+)\}/

function paramType () {
return 'string'
}

function paramName (param) {
return param.replace(namePattern, (_, captured) => captured)
}
Expand Down

0 comments on commit ecc9ae6

Please sign in to comment.