(
options: SecuritySchemeObject = {
type: 'oauth2'
},
name = 'oauth2'
)
| 220 | } |
| 221 | |
| 222 | public addOAuth2( |
| 223 | options: SecuritySchemeObject = { |
| 224 | type: 'oauth2' |
| 225 | }, |
| 226 | name = 'oauth2' |
| 227 | ): this { |
| 228 | this.addSecurity(name, { |
| 229 | type: 'oauth2', |
| 230 | flows: {}, |
| 231 | ...options |
| 232 | }); |
| 233 | return this; |
| 234 | } |
| 235 | |
| 236 | public addApiKey( |
| 237 | options: SecuritySchemeObject = { |
no test coverage detected