( input: ApiExplorerOptions | undefined, )
| 1253 | } |
| 1254 | |
| 1255 | function normalizeApiExplorerConfig( |
| 1256 | input: ApiExplorerOptions | undefined, |
| 1257 | ): ApiExplorerOptions { |
| 1258 | const config = input ?? {}; |
| 1259 | const url = config.url ?? 'https://explorer.loopback.io'; |
| 1260 | |
| 1261 | config.httpUrl = |
| 1262 | config.httpUrl ?? config.url ?? 'http://explorer.loopback.io'; |
| 1263 | |
| 1264 | config.url = url; |
| 1265 | |
| 1266 | return config; |
| 1267 | } |
no outgoing calls
no test coverage detected