Skip to content

Commit

Permalink
Update value type and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalazar committed Jul 24, 2021
1 parent 242e2ac commit bbaa928
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.d.ts
Expand Up @@ -114,10 +114,13 @@ declare namespace hapiswagger {

/**
* Lists the required security schemes to execute this operation. The object can have multiple security schemes declared in it which are all required (that is, there is a logical AND between the schemes)
* The name used for each property MUST correspond to a security scheme declared in the {@link RegisterOptions.securityDefinitions}
*
* The name used for each property MUST correspond to a security scheme declared in the {@link RegisterOptions.securityDefinitions}.
*
* If the security scheme is of `type` "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty.
*/
type SecurityRequirementsType = {
[securityDefinitionName: string]: [string]
[securityDefinitionName: string]: string[]
}

interface LicenseOptions {
Expand Down

0 comments on commit bbaa928

Please sign in to comment.