Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalazar committed Jul 24, 2021
1 parent bbaa928 commit ca9e6ba
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions index.d.ts
Expand Up @@ -114,14 +114,14 @@ 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}.
*
* 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.
*
* 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 Expand Up @@ -449,12 +449,12 @@ declare namespace hapiswagger {
/**
* A declaration of the security schemes available to be used in the specification. This does not enforce the security schemes on the operations and only serves to provide the relevant details for each scheme
*/
securityDefinitions?: {[name: string]: SecuritySchemeType}
securityDefinitions?: { [name: string]: SecuritySchemeType };

/**
* A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements)
*/
security?: [SecurityRequirementsType]
* A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements)
*/
security?: [SecurityRequirementsType];
}
}

Expand Down

0 comments on commit ca9e6ba

Please sign in to comment.