How do we set global values? For template parameters, headers, auth type, and more.
I started a new project, imported a swagger file, and it generated a lot of resources. This is good.
But, all my generated resources use and require template parameters, headers, and basic authentication. I can set these values at the method level but it's tedious. Ideally they could be set at the project level. That, or I'm approaching this wrong (this is very much possible!)
How can I set default global values for these like I did for the end point? Basically, in psuedo-code:
if (resource uses template parameters) { if (template parameter not defined) { use default global value for this template parameter; } }
The same for headers and authentication method. In this case, I want to enable basic auth for all resources. Basically, this means defining all of this in one place rather than 40 (in my case).
I set "custom properties" at the project level but this doesn't seem to do anything regarding the above.
I'm using the Open Source version :) Thanks!