fix: security in OAS2 is a dictionary of string (#43105)

This commit is contained in:
Vincenzo Chianese 2020-03-13 20:36:09 -05:00 committed by GitHub
parent e0faeb6bbe
commit 819ef44294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ export interface Operation {
parameters?: Array<Parameter | Reference>;
schemes?: string[];
deprecated?: boolean;
security?: Security[];
security?: Array<{ [securityDefinitionName: string]: string[] }>;
tags?: string[];
}