(
options: SecuritySchemeObject = {
type: 'apiKey'
},
name = 'api_key'
)
| 234 | } |
| 235 | |
| 236 | public addApiKey( |
| 237 | options: SecuritySchemeObject = { |
| 238 | type: 'apiKey' |
| 239 | }, |
| 240 | name = 'api_key' |
| 241 | ): this { |
| 242 | this.addSecurity(name, { |
| 243 | type: 'apiKey', |
| 244 | in: 'header', |
| 245 | name, |
| 246 | ...options |
| 247 | }); |
| 248 | return this; |
| 249 | } |
| 250 | |
| 251 | public addBasicAuth( |
| 252 | options: SecuritySchemeObject = { |
no test coverage detected