public API(string url = null, ISwaggerHTTPClient httpClient = null) { if (!string.IsNullOrWhiteSpace(url)) { this.url = url; } else { this.url = "http://localhost:1135"; } if (httpClient == null) { this.httpClient = new SwaggerHTTPClient(); } else { this.httpClient = httpClient; } }
public SwaggerPetstore(string url = null, ISwaggerHTTPClient httpClient = null) { if (!string.IsNullOrWhiteSpace(url)) { this.url = url; } else { this.url = "http://petstore.swagger.io"; } if (httpClient == null) { this.httpClient = new SwaggerHTTPClient(); } else { this.httpClient = httpClient; } }
public DevConfRatings(string url = null, ISwaggerHTTPClient httpClient = null) { if (!string.IsNullOrWhiteSpace(url)) { this.url = url; } else { this.url = "https://localhost:24110"; } if (httpClient == null) { this.httpClient = new SwaggerHTTPClient(); } else { this.httpClient = httpClient; } }