Skip to content

Commit cd2bd84

Browse files
committed
update samples
1 parent 90233d6 commit cd2bd84

26 files changed

+288
-288
lines changed

samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Api/AnotherFakeApi.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public AnotherFakeApi() : this((string)null)
109109
/// Initializes a new instance of the <see cref="AnotherFakeApi"/> class.
110110
/// </summary>
111111
/// <returns></returns>
112-
public AnotherFakeApi(String basePath)
112+
public AnotherFakeApi(string basePath)
113113
{
114114
this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations(
115115
Org.OpenAPITools.Client.GlobalConfiguration.Instance,
@@ -172,7 +172,7 @@ public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.Ope
172172
/// Gets the base path of the API client.
173173
/// </summary>
174174
/// <value>The base path</value>
175-
public String GetBasePath()
175+
public string GetBasePath()
176176
{
177177
return this.Configuration.BasePath;
178178
}
@@ -225,12 +225,12 @@ public Org.OpenAPITools.Client.ApiResponse<ModelClient> Call123TestSpecialTagsWi
225225

226226
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
227227

228-
String[] _contentTypes = new String[] {
228+
string[] _contentTypes = new string[] {
229229
"application/json"
230230
};
231231

232232
// to determine the Accept header
233-
String[] _accepts = new String[] {
233+
string[] _accepts = new string[] {
234234
"application/json"
235235
};
236236

@@ -284,12 +284,12 @@ public Org.OpenAPITools.Client.ApiResponse<ModelClient> Call123TestSpecialTagsWi
284284

285285
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
286286

287-
String[] _contentTypes = new String[] {
287+
string[] _contentTypes = new string[] {
288288
"application/json"
289289
};
290290

291291
// to determine the Accept header
292-
String[] _accepts = new String[] {
292+
string[] _accepts = new string[] {
293293
"application/json"
294294
};
295295

samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Api/DefaultApi.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public DefaultApi() : this((string)null)
102102
/// Initializes a new instance of the <see cref="DefaultApi"/> class.
103103
/// </summary>
104104
/// <returns></returns>
105-
public DefaultApi(String basePath)
105+
public DefaultApi(string basePath)
106106
{
107107
this.Configuration = Org.OpenAPITools.Client.Configuration.MergeConfigurations(
108108
Org.OpenAPITools.Client.GlobalConfiguration.Instance,
@@ -165,7 +165,7 @@ public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPI
165165
/// Gets the base path of the API client.
166166
/// </summary>
167167
/// <value>The base path</value>
168-
public String GetBasePath()
168+
public string GetBasePath()
169169
{
170170
return this.Configuration.BasePath;
171171
}
@@ -212,11 +212,11 @@ public Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> FooGetWithHttp
212212
{
213213
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
214214

215-
String[] _contentTypes = new String[] {
215+
string[] _contentTypes = new string[] {
216216
};
217217

218218
// to determine the Accept header
219-
String[] _accepts = new String[] {
219+
string[] _accepts = new string[] {
220220
"application/json"
221221
};
222222

@@ -263,11 +263,11 @@ public Org.OpenAPITools.Client.ApiResponse<InlineResponseDefault> FooGetWithHttp
263263

264264
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
265265

266-
String[] _contentTypes = new String[] {
266+
string[] _contentTypes = new string[] {
267267
};
268268

269269
// to determine the Accept header
270-
String[] _accepts = new String[] {
270+
string[] _accepts = new string[] {
271271
"application/json"
272272
};
273273

0 commit comments

Comments
 (0)