4 ms·
SwaggerUI/OpenAPI support this to add your own users API credentials to the api call examples, if you care to implement. as a develoer, is just a nice touch th
by tough 3y ago
SwaggerUI/OpenAPI support this to add your own users API credentials to the api call examples, if you care to implement.
as a develoer, is just a nice touch that I can copy paste an example of code snippet and since I'm logged in they can give it to me already with a valid api key.
ymmv
They also allow to output examples in as many langugages/sdk's as you need too
- nicolaslem 3y agoThis unfortunately encourages users to hard-code secrets since the example snippet they get literally does it.