scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.72k stars 134 forks source link

The name captureParam is a bit strange #344

Closed fumieval closed 11 months ago

fumieval commented 11 months ago

...because it doesn't describe what it is capturing. How about pathParam, cf. https://swagger.io/docs/specification/describing-parameters/ ?

ocramz commented 11 months ago

I agree, but it's been called "captures" in the scotty docs for a long time..