m3dev / octoparts

Octoparts, the backend services aggregator
https://m3dev.github.io/octoparts/
Other
151 stars 18 forks source link

Support default arguments for parameters #162

Open lloydmeta opened 9 years ago

lloydmeta commented 9 years ago

It would be nice if Octopart parameters could be registered with default argument values.

Use case: "Accept" header that defaults to "application/json" would be handy.

mauhiz commented 9 years ago

Noting, with current API it would not work with optional parameters because there is no way to disable sending them. Let's try to make it work only with required parameters