mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 08:23:45 +00:00
update java samples
This commit is contained in:
parent
6e48cf4247
commit
7dcef20355
@ -126,7 +126,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/0.1.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -124,7 +124,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/0.1.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -124,7 +124,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/1.0.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -126,7 +126,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/1.0.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -126,7 +126,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/1.0.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -126,7 +126,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/1.0.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -133,7 +133,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/1.0.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
@ -128,7 +128,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("Java-SDK");
|
||||
setUserAgent("OpenAPI-Generator/1.0.0/java");
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user