octoparts icon indicating copy to clipboard operation
octoparts copied to clipboard

Support default arguments for parameters

Open lloydmeta opened this issue 9 years ago • 1 comments

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.

lloydmeta avatar Aug 05 '15 01:08 lloydmeta

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

mauhiz avatar Aug 06 '15 00:08 mauhiz