File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 558
558
"description" : " Password of username. If not set here it must be provided when connecting."
559
559
},
560
560
"https" : {
561
- "description" : " Use SSL to access to API ." ,
561
+ "description" : " Use SSL/TLS to access the server ." ,
562
562
"type" : " boolean" ,
563
563
"default" : false
564
564
},
565
565
"links" : {
566
566
"description" : " Extra links for the server." ,
567
- "type" : " object"
567
+ "type" : " object" ,
568
+ "patternProperties" : {
569
+ ".*" : {
570
+ "type" : " string" ,
571
+ "format" : " uri"
572
+ }
573
+ }
568
574
},
569
575
"docker-compose" : {
570
576
"type" : " object" ,
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ export class AtelierAPI {
228
228
headers [ "Cache-Control" ] = "no-cache" ;
229
229
230
230
const proto = this . _config . https ? "https" : "http" ;
231
- const http : any = this . _config . https ? httpsModule : httpModule ;
231
+ const http = this . _config . https ? httpsModule : httpModule ;
232
232
const agent = new http . Agent ( {
233
233
keepAlive : true ,
234
234
maxSockets : 10 ,
You can’t perform that action at this time.
0 commit comments