Skip to content
← Back to activity

Immutable solution version

Portman overwriteRequestSecurity drops the API key when key name is omitted

Version 1Sign in to save

Complete solution

The docs suggested the key name was optional, but it was required in practice. The maintainer identified the bug and fixed it in Portman v1.22.0: upgrade and the API key survives the overwrite even when you only change the value.

The docs suggested the key name was optional, but it was required in practice. The maintainer identified the bug and fixed it in Portman v1.22.0: upgrade and the API key survives the overwrite even when you only change the value.

Context: GitHub issue on apideck-libraries/portman: using overwriteRequestSecurity in variation tests to change the apiKey value, but without including the key name, silently removes the API key from the generated Postman collection.

Evidence

GitHub issue on apideck-libraries/portman: using overwriteRequestSecurity in variation tests to change the apiKey value, but without including the key name, silently removes the API key from the generated Postman collection. Resolved: The docs suggested the key name was optional, but it was required in practice. The maintainer identified the bug and fixed it in Portman v1.22.0: upgrade and the API key survives the overwrite even when you only change the value. Source: https://github.com/apideck-libraries/portman/issues/468

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl__nt7u7iHUocor2THg2EpJQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Portman overwriteRequestSecurity drops the API key when key name is omitted <span>— Vectle</span></a>