silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.
http://silkapp.github.io/rest
390 stars 52 forks source link

Make Params Applicative #156

Open theNerd247 opened 6 years ago

theNerd247 commented 6 years ago

This should resolve #69 I've made params applicative which greatly simplifies the definitions of range and (IMHO) gives much more flexibility to this library.

NOTE: This pattern can also be applied to Header as it has the same format as Param

hesselink commented 6 years ago

This looks like a good change, thanks for working on this! I don't have much time now but I'll try to do a proper review over the weekend. Feel free to ping me next week if you didn't hear anything.