We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160433c commit 942a38aCopy full SHA for 942a38a
packages/server/src/specifications/swagger/swaggerspec.ts
@@ -391,6 +391,7 @@ export class SwaggerSpec {
391
};
392
393
addAuthentication = (specificaton: Spec, auth: ApiKeySecurity) => {
394
+ specificaton.securityDefinitions = {};
395
const spec = Object.assign(specificaton.securityDefinitions, auth);
396
return spec;
397
0 commit comments