diff --git a/docs/generators/groovy.md b/docs/generators/groovy.md
index 5407b0b894ef..d98428debc79 100644
--- a/docs/generators/groovy.md
+++ b/docs/generators/groovy.md
@@ -142,10 +142,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -153,6 +157,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -165,14 +171,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -188,19 +198,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -208,8 +220,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-camel.md b/docs/generators/java-camel.md
index e77c38151eb3..07d826e65844 100644
--- a/docs/generators/java-camel.md
+++ b/docs/generators/java-camel.md
@@ -181,10 +181,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -192,26 +196,31 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
else
enum
extends
-file
final
finally
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -227,19 +236,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -247,8 +258,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-helidon-client.md b/docs/generators/java-helidon-client.md
index a274c0e0307f..70d20b839464 100644
--- a/docs/generators/java-helidon-client.md
+++ b/docs/generators/java-helidon-client.md
@@ -135,10 +135,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -146,6 +150,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -158,14 +164,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -181,19 +191,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -201,8 +213,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-helidon-server.md b/docs/generators/java-helidon-server.md
index a34d62118c13..1da9f24f8d1b 100644
--- a/docs/generators/java-helidon-server.md
+++ b/docs/generators/java-helidon-server.md
@@ -137,10 +137,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -148,6 +152,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -160,14 +166,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -183,19 +193,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -203,8 +215,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-inflector.md b/docs/generators/java-inflector.md
index 8b8b35ea29dc..3781bf5a3d8c 100644
--- a/docs/generators/java-inflector.md
+++ b/docs/generators/java-inflector.md
@@ -139,10 +139,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -150,6 +154,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -162,14 +168,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -185,19 +195,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -205,8 +217,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-micronaut-client.md b/docs/generators/java-micronaut-client.md
index 1d3c4c201bd7..789ce3a03192 100644
--- a/docs/generators/java-micronaut-client.md
+++ b/docs/generators/java-micronaut-client.md
@@ -161,12 +161,16 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiexception
apiresponse
application
+array
+arraylist
assert
authorization
+bigdecimal
body
boolean
break
byte
+byte[]
case
catch
char
@@ -176,6 +180,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
const
continue
cookie
+date
+datetime
default
do
double
@@ -189,15 +195,19 @@ These options may be applied as additional-properties (cli) or configOptions (pl
for
format
goto
+hashmap
header
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -213,11 +223,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
pathvariable
private
@@ -226,9 +236,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
queryparam
queryvalue
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -236,8 +248,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-micronaut-server.md b/docs/generators/java-micronaut-server.md
index a848e57254ac..f6f79acede82 100644
--- a/docs/generators/java-micronaut-server.md
+++ b/docs/generators/java-micronaut-server.md
@@ -161,21 +161,28 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiexception
apiresponse
application
+array
+arraylist
assert
authorization
+bigdecimal
body
boolean
break
byte
+byte[]
case
catch
char
class
client
+completedfileupload
configuration
const
continue
cookie
+date
+datetime
default
do
double
@@ -189,15 +196,19 @@ These options may be applied as additional-properties (cli) or configOptions (pl
for
format
goto
+hashmap
header
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -213,11 +224,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
pathvariable
private
@@ -226,9 +237,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
queryparam
queryvalue
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -236,8 +249,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-microprofile.md b/docs/generators/java-microprofile.md
index 1a6d6369a0a6..a8a932f4d474 100644
--- a/docs/generators/java-microprofile.md
+++ b/docs/generators/java-microprofile.md
@@ -172,10 +172,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -183,6 +187,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -195,14 +201,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -218,19 +228,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -238,8 +250,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-msf4j.md b/docs/generators/java-msf4j.md
index d321b030be83..d0d195ae2864 100644
--- a/docs/generators/java-msf4j.md
+++ b/docs/generators/java-msf4j.md
@@ -145,10 +145,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -156,6 +160,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -168,14 +174,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -191,19 +201,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -211,8 +223,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-pkmst.md b/docs/generators/java-pkmst.md
index 4a96c9d89d9b..61f8612c6288 100644
--- a/docs/generators/java-pkmst.md
+++ b/docs/generators/java-pkmst.md
@@ -146,10 +146,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -157,6 +161,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -169,14 +175,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -192,19 +202,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -212,8 +224,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-play-framework.md b/docs/generators/java-play-framework.md
index 1e4efaaeae5b..331716ef6ff6 100644
--- a/docs/generators/java-play-framework.md
+++ b/docs/generators/java-play-framework.md
@@ -149,10 +149,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -160,6 +164,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -172,14 +178,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -195,19 +205,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -215,8 +227,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-undertow-server.md b/docs/generators/java-undertow-server.md
index ca484ad146ed..19419bc0aeaa 100644
--- a/docs/generators/java-undertow-server.md
+++ b/docs/generators/java-undertow-server.md
@@ -139,10 +139,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -150,6 +154,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -162,14 +168,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -185,19 +195,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -205,8 +217,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-vertx-web.md b/docs/generators/java-vertx-web.md
index 8c98816db81c..7e909f20a7d7 100644
--- a/docs/generators/java-vertx-web.md
+++ b/docs/generators/java-vertx-web.md
@@ -139,10 +139,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -150,6 +154,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -162,14 +168,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -185,19 +195,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -205,8 +217,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-vertx.md b/docs/generators/java-vertx.md
index 9720c15d8bdb..95fa46473378 100644
--- a/docs/generators/java-vertx.md
+++ b/docs/generators/java-vertx.md
@@ -142,10 +142,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -153,6 +157,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -165,14 +171,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -188,19 +198,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -208,8 +220,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java-wiremock.md b/docs/generators/java-wiremock.md
index 09fb082309e2..ec37c8052e93 100644
--- a/docs/generators/java-wiremock.md
+++ b/docs/generators/java-wiremock.md
@@ -139,10 +139,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -150,6 +154,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -162,14 +168,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -185,19 +195,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -205,8 +217,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/java.md b/docs/generators/java.md
index 816f4f2228a6..7a63f4d383a3 100644
--- a/docs/generators/java.md
+++ b/docs/generators/java.md
@@ -172,10 +172,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -183,6 +187,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -195,14 +201,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -218,19 +228,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -238,8 +250,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-cxf-cdi.md b/docs/generators/jaxrs-cxf-cdi.md
index d911fd30b0f3..92a39d6a6a6e 100644
--- a/docs/generators/jaxrs-cxf-cdi.md
+++ b/docs/generators/jaxrs-cxf-cdi.md
@@ -153,10 +153,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -164,6 +168,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -176,14 +182,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -199,19 +209,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -219,8 +231,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-cxf-client.md b/docs/generators/jaxrs-cxf-client.md
index 04ae1cfee4e1..8e93a178f9be 100644
--- a/docs/generators/jaxrs-cxf-client.md
+++ b/docs/generators/jaxrs-cxf-client.md
@@ -144,10 +144,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -155,6 +159,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -167,14 +173,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -190,19 +200,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -210,8 +222,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-cxf-extended.md b/docs/generators/jaxrs-cxf-extended.md
index 8c34c65d1460..165da71edf38 100644
--- a/docs/generators/jaxrs-cxf-extended.md
+++ b/docs/generators/jaxrs-cxf-extended.md
@@ -167,10 +167,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -178,6 +182,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -190,14 +196,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -213,19 +223,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -233,8 +245,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-cxf.md b/docs/generators/jaxrs-cxf.md
index 12deda54824d..98bcbd702fa6 100644
--- a/docs/generators/jaxrs-cxf.md
+++ b/docs/generators/jaxrs-cxf.md
@@ -162,10 +162,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -173,6 +177,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -185,14 +191,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -208,19 +218,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -228,8 +240,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-jersey.md b/docs/generators/jaxrs-jersey.md
index 0965570fdde4..0e377689ac8f 100644
--- a/docs/generators/jaxrs-jersey.md
+++ b/docs/generators/jaxrs-jersey.md
@@ -145,10 +145,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -156,6 +160,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -168,14 +174,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -191,19 +201,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -211,8 +223,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-resteasy-eap.md b/docs/generators/jaxrs-resteasy-eap.md
index 6973aecf1dba..9dde54d7d561 100644
--- a/docs/generators/jaxrs-resteasy-eap.md
+++ b/docs/generators/jaxrs-resteasy-eap.md
@@ -146,10 +146,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -157,6 +161,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -169,14 +175,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -192,19 +202,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -212,8 +224,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-resteasy.md b/docs/generators/jaxrs-resteasy.md
index f48428ba1c92..f15edc65564c 100644
--- a/docs/generators/jaxrs-resteasy.md
+++ b/docs/generators/jaxrs-resteasy.md
@@ -145,10 +145,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -156,6 +160,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -168,14 +174,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -191,19 +201,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -211,8 +223,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/jaxrs-spec.md b/docs/generators/jaxrs-spec.md
index 6f9fb5a40620..877e9390df63 100644
--- a/docs/generators/jaxrs-spec.md
+++ b/docs/generators/jaxrs-spec.md
@@ -153,10 +153,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -164,6 +168,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
@@ -176,14 +182,18 @@ These options may be applied as additional-properties (cli) or configOptions (pl
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -199,19 +209,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -219,8 +231,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/docs/generators/spring.md b/docs/generators/spring.md
index b71cefb3c126..99756a2dbc65 100644
--- a/docs/generators/spring.md
+++ b/docs/generators/spring.md
@@ -174,10 +174,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
apiclient
apiexception
apiresponse
+array
+arraylist
assert
+bigdecimal
boolean
break
byte
+byte[]
case
catch
char
@@ -185,26 +189,31 @@ These options may be applied as additional-properties (cli) or configOptions (pl
configuration
const
continue
+date
+datetime
default
do
double
else
enum
extends
-file
final
finally
float
for
goto
+hashmap
if
implements
import
instanceof
int
+integer
interface
+linkedhashset
list
localdate
+localdatetime
localreturntype
localtime
localvaraccept
@@ -220,19 +229,21 @@ These options may be applied as additional-properties (cli) or configOptions (pl
localvarpostbody
localvarqueryparams
long
+map
native
new
null
object
-offsetdatetime
package
private
protected
public
return
+set
short
static
strictfp
+string
stringutil
super
switch
@@ -240,8 +251,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
this
throw
throws
+timestamp
transient
try
+uri
+uuid
void
volatile
while
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
index 52e71fc22b79..53e8e6e49440 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
@@ -228,7 +228,7 @@ public AbstractJavaCodegen() {
setReservedWordsLowerCase(
Arrays.asList(
// special words
- "object", "list", "file",
+ "list", "file",
// used as internal variables, can collide with parameter names
"localVarPath", "localVarQueryParams", "localVarCollectionQueryParams",
"localVarHeaderParams", "localVarCookieParams", "localVarFormParams", "localVarPostBody",
@@ -238,12 +238,12 @@ public AbstractJavaCodegen() {
// language reserved words
"_", "abstract", "continue", "for", "new", "switch", "assert",
- "default", "if", "package", "synchronized", "boolean", "do", "goto", "private",
- "this", "break", "double", "implements", "protected", "throw", "byte", "else",
+ "default", "if", "package", "synchronized", "do", "goto", "private",
+ "this", "break", "implements", "protected", "throw", "byte", "else",
"import", "public", "throws", "case", "enum", "instanceof", "return", "transient",
"catch", "extends", "int", "short", "try", "char", "final", "interface", "static",
- "void", "class", "finally", "long", "strictfp", "volatile", "const", "float",
- "native", "super", "while", "null", "offsetdatetime", "localdate", "localtime")
+ "void", "class", "finally", "strictfp", "volatile", "const",
+ "native", "super", "while", "null")
);
languageSpecificPrimitives = Sets.newHashSet("String",
@@ -281,6 +281,8 @@ public AbstractJavaCodegen() {
importMapping.put("LocalDate", "org.joda.time.*");
importMapping.put("LocalTime", "org.joda.time.*");
+ updateReservedWords();
+
cliOptions.add(new CliOption(CodegenConstants.MODEL_PACKAGE, CodegenConstants.MODEL_PACKAGE_DESC));
cliOptions.add(new CliOption(CodegenConstants.API_PACKAGE, CodegenConstants.API_PACKAGE_DESC));
cliOptions.add(new CliOption(CodegenConstants.INVOKER_PACKAGE, CodegenConstants.INVOKER_PACKAGE_DESC).defaultValue(this.getInvokerPackage()));
@@ -628,6 +630,8 @@ public void processOpts() {
additionalProperties.put("legacyDates", "true");
}
+ updateReservedWords();
+
convertPropertyToStringAndWriteBack(TEST_OUTPUT, this::setOutputTestFolder);
convertPropertyToBooleanAndWriteBack(USE_JAKARTA_EE, this::setUseJakartaEe);
if (useJakartaEe) {
@@ -795,6 +799,13 @@ protected void applyJakartaPackage() {
writePropertyBack(JAVAX_PACKAGE, "jakarta");
}
+ protected void updateReservedWords() {
+ final List newReservedWords = new ArrayList<>(reservedWords());
+ newReservedWords.addAll(importMapping().keySet());
+ newReservedWords.addAll(languageSpecificPrimitives());
+ setReservedWordsLowerCase(newReservedWords);
+ }
+
@Override
public String escapeReservedWord(String name) {
if (this.reservedWordsMappings().containsKey(name)) {
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GroovyClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GroovyClientCodegen.java
index 1b194c7a4da9..31e112ac4900 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GroovyClientCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GroovyClientCodegen.java
@@ -68,6 +68,7 @@ public GroovyClientCodegen() {
languageSpecificPrimitives.add("File");
languageSpecificPrimitives.add("Map");
languageSpecificPrimitives.add("List");
+ updateReservedWords();
// this must not be OS-specific
sourceFolder = projectFolder + "/groovy";
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFClientCodegen.java
index 1b72f5699acd..895c4173011d 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFClientCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFClientCodegen.java
@@ -85,6 +85,7 @@ public JavaCXFClientCodegen() {
typeMapping.put("date", "LocalDate");
importMapping.put("LocalDate", "org.joda.time.LocalDate");
+ updateReservedWords();
embeddedTemplateDir = templateDir = JAXRS_TEMPLATE_DIRECTORY_NAME + File.separator + "cxf";
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFServerCodegen.java
index a1efb7ae720e..9c2819a5729f 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFServerCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaCXFServerCodegen.java
@@ -99,6 +99,7 @@ public JavaCXFServerCodegen() {
typeMapping.put("date", "LocalDate");
importMapping.put("LocalDate", "org.joda.time.LocalDate");
+ updateReservedWords();
embeddedTemplateDir = templateDir = JAXRS_TEMPLATE_DIRECTORY_NAME + File.separator + "cxf";
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaClientCodegen.java
index 397b41b17418..be866d30f39d 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaClientCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaClientCodegen.java
@@ -587,6 +587,7 @@ public void processOpts() {
} else if (VERTX.equals(getLibrary())) {
typeMapping.put("file", "AsyncFile");
importMapping.put("AsyncFile", "io.vertx.core.file.AsyncFile");
+ updateReservedWords();
forceSerializationLibrary(SERIALIZATION_LIBRARY_JACKSON);
apiTemplateFiles.put("apiImpl.mustache", "Impl.java");
apiTemplateFiles.put("rxApiImpl.mustache", ".java");
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonClientCodegen.java
index 980f2051ade1..744864771456 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonClientCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonClientCodegen.java
@@ -201,6 +201,7 @@ public void processOpts() {
importMapping.put("StringJoiner", "java.util.StringJoiner");
importMapping.put("WebClientRequestHeaders", "io.helidon.webclient.WebClientRequestHeaders");
importMapping.put("Pair", invokerPackage + ".Pair");
+ updateReservedWords();
List modifiable = new ArrayList<>();
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java
index 4e4cceb49603..01c95fb3fc78 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java
@@ -153,6 +153,7 @@ public void processOpts() {
importMapping.put("ObjectMapper", "com.fasterxml.jackson.databind.ObjectMapper");
importMapping.put("Jsonb", rootJavaEEPackage() + ".json.bind.Jsonb");
importMapping.put("JsonbBuilder", rootJavaEEPackage() + ".json.bind.JsonbBuilder");
+ updateReservedWords();
convertPropertyToBooleanAndWriteBack(USE_ABSTRACT_CLASS, value -> useAbstractClass = value);
convertPropertyToBooleanAndWriteBack(GRADLE_PROJECT, value -> gradleProject = value);
@@ -205,6 +206,7 @@ public void processOpts() {
importMapping.put("ByteArrayInputStream", "java.io.ByteArrayInputStream");
}
importMapping.put("Handler", "io.helidon.webserver.Handler");
+ updateReservedWords();
processSupportingFiles(modifiable, unmodifiable);
} else {
LOGGER.error("Unknown library option (-l/--library): {}", getLibrary());
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaJAXRSSpecServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaJAXRSSpecServerCodegen.java
index c0cc50bb49f5..82ca45d0bd39 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaJAXRSSpecServerCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaJAXRSSpecServerCodegen.java
@@ -107,6 +107,7 @@ public JavaJAXRSSpecServerCodegen() {
typeMapping.put("date", "LocalDate");
importMapping.put("LocalDate", "org.joda.time.LocalDate");
+ updateReservedWords();
super.embeddedTemplateDir = templateDir = JAXRS_TEMPLATE_DIRECTORY_NAME + File.separator + "spec";
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautAbstractCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautAbstractCodegen.java
index 8e19ac226ab5..a60d7bb61449 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautAbstractCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautAbstractCodegen.java
@@ -364,6 +364,7 @@ public void processOpts() {
importMapping.putIfAbsent("LocalDateTime", "java.time.LocalDateTime");
importMapping.putIfAbsent("OffsetDateTime", "java.time.OffsetDateTime");
importMapping.putIfAbsent("LocalDate", "java.time.LocalDate");
+ updateReservedWords();
// Add documentation files
modelDocTemplateFiles.clear();
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautServerCodegen.java
index 7ff2fb2a1f35..ea011b7b2dd3 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautServerCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautServerCodegen.java
@@ -72,6 +72,7 @@ public JavaMicronautServerCodegen() {
// It could be also StreamingFileUpload
typeMapping.put("file", "CompletedFileUpload");
importMapping.put("CompletedFileUpload", "io.micronaut.http.multipart.CompletedFileUpload");
+ updateReservedWords();
}
@Override
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaPlayFrameworkCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaPlayFrameworkCodegen.java
index 72deea70ce28..a17728ded694 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaPlayFrameworkCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaPlayFrameworkCodegen.java
@@ -205,6 +205,8 @@ public void processOpts() {
importMapping.put("InputStream", "java.io.InputStream");
typeMapping.put("file", "InputStream");
+
+ updateReservedWords();
}
@Override
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXServerCodegen.java
index 8d8701b63723..31ae2918c49e 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXServerCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXServerCodegen.java
@@ -160,6 +160,7 @@ public void processOpts() {
importMapping.put("JsonProperty", "com.fasterxml.jackson.annotation.JsonProperty");
importMapping.put("JsonValue", "com.fasterxml.jackson.annotation.JsonValue");
importMapping.put("MainApiException", rootPackage + ".MainApiException");
+ updateReservedWords();
modelDocTemplateFiles.clear();
apiDocTemplateFiles.clear();
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXWebServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXWebServerCodegen.java
index c55d972fa4eb..087e0ef5a429 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXWebServerCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaVertXWebServerCodegen.java
@@ -104,6 +104,7 @@ public void processOpts() {
importMapping.put("JsonValue", "com.fasterxml.jackson.annotation.JsonValue");
importMapping.put("FileUpload", "io.vertx.ext.web.FileUpload");
importMapping.put("JsonObject", "io.vertx.core.json.JsonObject");
+ updateReservedWords();
modelDocTemplateFiles.clear();
apiDocTemplateFiles.clear();
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java
index cb3c52a99c75..811c721a149a 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java
@@ -337,10 +337,6 @@ public void processOpts() {
.map(e -> Pair.of(e.getKey(), e.getValue().toString())).collect(Collectors.toList());
additionalProperties.put("configOptions", configOptions);
- // TODO remove "file" from reserved word list as feign client doesn't support using `baseName`
- // as the parameter name yet
- reservedWords.remove("file");
-
// Process java8 option before common java ones to change the default
// dateLibrary to java8.
LOGGER.info("----------------------------------");
@@ -453,6 +449,7 @@ public void processOpts() {
if (isUseSpringBoot3()) {
importMapping.put("ParameterObject", "org.springdoc.core.annotations.ParameterObject");
}
+ updateReservedWords();
if (interfaceOnly && delegatePattern) {
delegateMethod = true;
@@ -629,6 +626,15 @@ public void processOpts() {
supportsAdditionalPropertiesWithComposedSchema = true;
}
+ @Override
+ protected void updateReservedWords() {
+ super.updateReservedWords();
+
+ // TODO remove "file" from reserved word list as feign client doesn't support using `baseName`
+ // as the parameter name yet
+ reservedWords.remove("file");
+ }
+
private boolean containsEnums() {
if (openAPI == null) {
return false;
@@ -991,6 +997,7 @@ public CodegenOperation fromOperation(String path, String httpMethod, Operation
// this allows to use a custom Pageable schema without importing Spring Pageable.
if (Boolean.TRUE.equals(operation.getExtensions().get("x-spring-paginated"))) {
importMapping.put("Pageable", "org.springframework.data.domain.Pageable");
+ updateReservedWords();
}
Set provideArgsClassSet = reformatProvideArgsParams(operation);
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java
index 91c36f642936..5f101e57ddb8 100644
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java
+++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java
@@ -975,7 +975,7 @@ public void modelWithWrappedXmlTest() {
Assert.assertEquals(property2.getter, "getArray");
Assert.assertEquals(property2.setter, "setArray");
Assert.assertEquals(property2.dataType, "List");
- Assert.assertEquals(property2.name, "array");
+ Assert.assertEquals(property2.name, "_array");
Assert.assertEquals(property2.defaultValue, "new ArrayList<>()");
Assert.assertEquals(property2.baseType, "List");
Assert.assertTrue(property2.isContainer);
@@ -985,7 +985,7 @@ public void modelWithWrappedXmlTest() {
Assert.assertNotNull(property2.items);
CodegenProperty items = property2.items;
Assert.assertEquals(items.xmlName, "i");
- Assert.assertEquals(items.baseName, "array");
+ Assert.assertEquals(items.baseName, "_array");
}
@Test(description = "convert a boolean parameter")
diff --git a/samples/client/echo_api/java/apache-httpclient/docs/DataQuery.md b/samples/client/echo_api/java/apache-httpclient/docs/DataQuery.md
index 338c467b2d56..35bcc72f1786 100644
--- a/samples/client/echo_api/java/apache-httpclient/docs/DataQuery.md
+++ b/samples/client/echo_api/java/apache-httpclient/docs/DataQuery.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**suffix** | **String** | test suffix | [optional] |
|**text** | **String** | Some text containing white spaces | [optional] |
-|**date** | **OffsetDateTime** | A date | [optional] |
+|**_date** | **OffsetDateTime** | A date | [optional] |
diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java
index 51a75206c23a..043c7cecb148 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -48,7 +48,7 @@ public class DataQuery extends Query {
private String text;
public static final String JSON_PROPERTY_DATE = "date";
- private OffsetDateTime date;
+ private OffsetDateTime _date;
public DataQuery() {
@@ -104,29 +104,29 @@ public void setText(String text) {
this.text = text;
}
- public DataQuery date(OffsetDateTime date) {
+ public DataQuery _date(OffsetDateTime _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDate(OffsetDateTime date) {
- this.date = date;
+ public void setDate(OffsetDateTime _date) {
+ this._date = _date;
}
@Override
@@ -152,13 +152,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -168,7 +168,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java
index 63b5d3be120f..8d62dad8d35c 100644
--- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -42,7 +42,7 @@ public class DataQuery extends Query {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
- private OffsetDateTime date;
+ private OffsetDateTime _date;
public DataQuery() {
@@ -92,25 +92,25 @@ public void setText(String text) {
}
- public DataQuery date(OffsetDateTime date) {
+ public DataQuery _date(OffsetDateTime _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@javax.annotation.Nullable
public OffsetDateTime getDate() {
- return date;
+ return _date;
}
- public void setDate(OffsetDateTime date) {
- this.date = date;
+ public void setDate(OffsetDateTime _date) {
+ this._date = _date;
}
@@ -125,13 +125,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -141,7 +141,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/echo_api/java/native/docs/DataQuery.md b/samples/client/echo_api/java/native/docs/DataQuery.md
index d61a881571c0..6ebe4cae4003 100644
--- a/samples/client/echo_api/java/native/docs/DataQuery.md
+++ b/samples/client/echo_api/java/native/docs/DataQuery.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**suffix** | **String** | test suffix | [optional] |
|**text** | **String** | Some text containing white spaces | [optional] |
-|**date** | **Instant** | A date | [optional] |
+|**_date** | **Instant** | A date | [optional] |
diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java
index b02b053a95e6..0d192cbefffb 100644
--- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -50,7 +50,7 @@ public class DataQuery extends Query {
private String text;
public static final String JSON_PROPERTY_DATE = "date";
- private Instant date;
+ private Instant _date;
public DataQuery() {
}
@@ -103,27 +103,27 @@ public void setText(String text) {
}
- public DataQuery date(Instant date) {
- this.date = date;
+ public DataQuery _date(Instant _date) {
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Instant getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDate(Instant date) {
- this.date = date;
+ public void setDate(Instant _date) {
+ this._date = _date;
}
@@ -153,13 +153,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -169,7 +169,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/echo_api/java/okhttp-gson/docs/DataQuery.md b/samples/client/echo_api/java/okhttp-gson/docs/DataQuery.md
index 338c467b2d56..35bcc72f1786 100644
--- a/samples/client/echo_api/java/okhttp-gson/docs/DataQuery.md
+++ b/samples/client/echo_api/java/okhttp-gson/docs/DataQuery.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**suffix** | **String** | test suffix | [optional] |
|**text** | **String** | Some text containing white spaces | [optional] |
-|**date** | **OffsetDateTime** | A date | [optional] |
+|**_date** | **OffsetDateTime** | A date | [optional] |
diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java
index bec882d1bed8..701fe0f8afd5 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -65,7 +65,7 @@ public class DataQuery extends Query {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
- private OffsetDateTime date;
+ private OffsetDateTime _date;
public DataQuery() {
}
@@ -108,22 +108,22 @@ public void setText(String text) {
}
- public DataQuery date(OffsetDateTime date) {
- this.date = date;
+ public DataQuery _date(OffsetDateTime _date) {
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@javax.annotation.Nullable
public OffsetDateTime getDate() {
- return date;
+ return _date;
}
- public void setDate(OffsetDateTime date) {
- this.date = date;
+ public void setDate(OffsetDateTime _date) {
+ this._date = _date;
}
@@ -139,13 +139,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -155,7 +155,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/echo_api/java/restclient/docs/DataQuery.md b/samples/client/echo_api/java/restclient/docs/DataQuery.md
index d61a881571c0..6ebe4cae4003 100644
--- a/samples/client/echo_api/java/restclient/docs/DataQuery.md
+++ b/samples/client/echo_api/java/restclient/docs/DataQuery.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**suffix** | **String** | test suffix | [optional] |
|**text** | **String** | Some text containing white spaces | [optional] |
-|**date** | **Instant** | A date | [optional] |
+|**_date** | **Instant** | A date | [optional] |
diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java
index 223b3aea33f9..5259738d697f 100644
--- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -45,7 +45,7 @@ public class DataQuery extends Query {
private String text;
public static final String JSON_PROPERTY_DATE = "date";
- private Instant date;
+ private Instant _date;
public DataQuery() {
@@ -101,29 +101,29 @@ public void setText(String text) {
this.text = text;
}
- public DataQuery date(Instant date) {
+ public DataQuery _date(Instant _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Instant getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDate(Instant date) {
- this.date = date;
+ public void setDate(Instant _date) {
+ this._date = _date;
}
@Override
@@ -149,13 +149,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -165,7 +165,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/echo_api/java/resteasy/docs/DataQuery.md b/samples/client/echo_api/java/resteasy/docs/DataQuery.md
index 338c467b2d56..35bcc72f1786 100644
--- a/samples/client/echo_api/java/resteasy/docs/DataQuery.md
+++ b/samples/client/echo_api/java/resteasy/docs/DataQuery.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**suffix** | **String** | test suffix | [optional] |
|**text** | **String** | Some text containing white spaces | [optional] |
-|**date** | **OffsetDateTime** | A date | [optional] |
+|**_date** | **OffsetDateTime** | A date | [optional] |
diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java
index 995f120196e5..8c0e29d73d19 100644
--- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -45,7 +45,7 @@ public class DataQuery extends Query {
private String text;
public static final String JSON_PROPERTY_DATE = "date";
- private OffsetDateTime date;
+ private OffsetDateTime _date;
public DataQuery() {
@@ -101,29 +101,29 @@ public void setText(String text) {
this.text = text;
}
- public DataQuery date(OffsetDateTime date) {
+ public DataQuery _date(OffsetDateTime _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDate(OffsetDateTime date) {
- this.date = date;
+ public void setDate(OffsetDateTime _date) {
+ this._date = _date;
}
@Override
@@ -149,13 +149,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -165,7 +165,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/echo_api/java/resttemplate/docs/DataQuery.md b/samples/client/echo_api/java/resttemplate/docs/DataQuery.md
index 338c467b2d56..35bcc72f1786 100644
--- a/samples/client/echo_api/java/resttemplate/docs/DataQuery.md
+++ b/samples/client/echo_api/java/resttemplate/docs/DataQuery.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**suffix** | **String** | test suffix | [optional] |
|**text** | **String** | Some text containing white spaces | [optional] |
-|**date** | **OffsetDateTime** | A date | [optional] |
+|**_date** | **OffsetDateTime** | A date | [optional] |
diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java
index 995f120196e5..8c0e29d73d19 100644
--- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java
+++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java
@@ -45,7 +45,7 @@ public class DataQuery extends Query {
private String text;
public static final String JSON_PROPERTY_DATE = "date";
- private OffsetDateTime date;
+ private OffsetDateTime _date;
public DataQuery() {
@@ -101,29 +101,29 @@ public void setText(String text) {
this.text = text;
}
- public DataQuery date(OffsetDateTime date) {
+ public DataQuery _date(OffsetDateTime _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
* A date
- * @return date
+ * @return _date
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDate(OffsetDateTime date) {
- this.date = date;
+ public void setDate(OffsetDateTime _date) {
+ this._date = _date;
}
@Override
@@ -149,13 +149,13 @@ public boolean equals(Object o) {
DataQuery dataQuery = (DataQuery) o;
return Objects.equals(this.suffix, dataQuery.suffix) &&
Objects.equals(this.text, dataQuery.text) &&
- Objects.equals(this.date, dataQuery.date) &&
+ Objects.equals(this._date, dataQuery._date) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(suffix, text, date, super.hashCode());
+ return Objects.hash(suffix, text, _date, super.hashCode());
}
@Override
@@ -165,7 +165,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/docs/FakeApi.md b/samples/client/petstore/java-helidon-client/v3/mp/docs/FakeApi.md
index 4cdd475689dd..5593ec250d46 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/docs/FakeApi.md
+++ b/samples/client/petstore/java-helidon-client/v3/mp/docs/FakeApi.md
@@ -477,7 +477,7 @@ No authorization required
## testEndpointParameters
-> void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -492,14 +492,14 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/docs/FooGetDefaultResponse.md b/samples/client/petstore/java-helidon-client/v3/mp/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java-helidon-client/v3/mp/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/docs/FormatTest.md b/samples/client/petstore/java-helidon-client/v3/mp/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/docs/FormatTest.md
+++ b/samples/client/petstore/java-helidon-client/v3/mp/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java-helidon-client/v3/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java-helidon-client/v3/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java-helidon-client/v3/mp/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java-helidon-client/v3/mp/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/api/FakeApi.java
index 717ed9436919..cab0b1f72a29 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -143,7 +143,7 @@ public interface FakeApi {
@POST
@Consumes({ "application/x-www-form-urlencoded" })
- void testEndpointParameters(@FormParam("number") BigDecimal number, @FormParam("double") Double _double, @FormParam("pattern_without_delimiter") String patternWithoutDelimiter, @FormParam("byte") byte[] _byte, @FormParam("integer") Integer integer, @FormParam("int32") Integer int32, @FormParam("int64") Long int64, @FormParam("float") Float _float, @FormParam("string") String string, @FormParam("binary") File binary, @FormParam("date") LocalDate date, @FormParam("dateTime") OffsetDateTime dateTime, @FormParam("password") String password, @FormParam("callback") String paramCallback) throws ApiException, ProcessingException;
+ void testEndpointParameters(@FormParam("number") BigDecimal number, @FormParam("double") Double _double, @FormParam("pattern_without_delimiter") String patternWithoutDelimiter, @FormParam("byte") byte[] _byte, @FormParam("integer") Integer _integer, @FormParam("int32") Integer int32, @FormParam("int64") Long int64, @FormParam("float") Float _float, @FormParam("string") String _string, @FormParam("binary") File binary, @FormParam("date") LocalDate _date, @FormParam("dateTime") OffsetDateTime _dateTime, @FormParam("password") String password, @FormParam("callback") String paramCallback) throws ApiException, ProcessingException;
/**
* To test enum parameters
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 27971dae9168..f1defcba9dd8 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -24,25 +24,25 @@
public class FooGetDefaultResponse {
- private Foo string;
+ private Foo _string;
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
**/
public Foo getString() {
- return string;
+ return _string;
}
/**
- * Set string
+ * Set _string
**/
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
@@ -55,7 +55,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java
index 1f3fc84b65ae..b4ceece195ab 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -28,7 +28,7 @@
public class FormatTest {
- private Integer integer;
+ private Integer _integer;
private Integer int32;
@@ -42,17 +42,17 @@ public class FormatTest {
private BigDecimal decimal;
- private String string;
+ private String _string;
private byte[] _byte;
private File binary;
- private LocalDate date;
+ private LocalDate _date;
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
- private UUID uuid;
+ private UUID _uuid;
private String password;
@@ -67,24 +67,24 @@ public class FormatTest {
private String patternWithDigitsAndDelimiter;
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
**/
public Integer getInteger() {
- return integer;
+ return _integer;
}
/**
- * Set integer
+ * Set _integer
**/
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
@@ -217,22 +217,22 @@ public FormatTest decimal(BigDecimal decimal) {
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
**/
public String getString() {
- return string;
+ return _string;
}
/**
- * Set string
+ * Set _string
**/
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
@@ -277,62 +277,62 @@ public FormatTest binary(File binary) {
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
**/
public LocalDate getDate() {
- return date;
+ return _date;
}
/**
- * Set date
+ * Set _date
**/
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
**/
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
/**
- * Set dateTime
+ * Set _dateTime
**/
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
@@ -405,19 +405,19 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index de307d1e2860..5ca52e49a9a6 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -28,74 +28,74 @@
public class MixedPropertiesAndAdditionalPropertiesClass {
- private UUID uuid;
+ private UUID _uuid;
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
- private Map map = null;
+ private Map _map = null;
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
**/
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
/**
- * Set dateTime
+ * Set _dateTime
**/
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
**/
public Map getMap() {
- return map;
+ return _map;
}
/**
- * Set map
+ * Set _map
**/
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- this.map.put(key, mapItem);
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ this._map.put(key, _mapItem);
return this;
}
@@ -108,9 +108,9 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 254b7df22cb4..29c5809eaab0 100644
--- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -28,7 +28,7 @@
public class ObjectWithDeprecatedFields {
- private String uuid;
+ private String _uuid;
private BigDecimal id;
@@ -37,22 +37,22 @@ public class ObjectWithDeprecatedFields {
private List bars = null;
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public String getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
@@ -136,7 +136,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java-helidon-client/v3/se/docs/FakeApi.md b/samples/client/petstore/java-helidon-client/v3/se/docs/FakeApi.md
index 37a949ea0508..115454734fcd 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/docs/FakeApi.md
+++ b/samples/client/petstore/java-helidon-client/v3/se/docs/FakeApi.md
@@ -878,7 +878,7 @@ No authorization required
## testEndpointParameters
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -910,18 +910,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -942,14 +942,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/se/docs/FooGetDefaultResponse.md b/samples/client/petstore/java-helidon-client/v3/se/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java-helidon-client/v3/se/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/se/docs/FormatTest.md b/samples/client/petstore/java-helidon-client/v3/se/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/docs/FormatTest.md
+++ b/samples/client/petstore/java-helidon-client/v3/se/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/se/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java-helidon-client/v3/se/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java-helidon-client/v3/se/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/se/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java-helidon-client/v3/se/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java-helidon-client/v3/se/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApi.java
index a7f954df9a69..375becb7e36a 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -94,19 +94,19 @@ public interface FakeApi {
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return {@code ApiResponse}
*/
- ApiResponse testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback);
+ ApiResponse testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback);
/**
* To test enum parameters
diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApiImpl.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApiImpl.java
index 8f6e7f539c0c..3254b5795f99 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApiImpl.java
+++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/api/FakeApiImpl.java
@@ -598,13 +598,13 @@ protected ApiResponse testClientModelSubmit(WebClientRequestBuilder webC
}
@Override
- public ApiResponse testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) {
+ public ApiResponse testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) {
Objects.requireNonNull(number, "Required parameter 'number' not specified");
Objects.requireNonNull(_double, "Required parameter '_double' not specified");
Objects.requireNonNull(patternWithoutDelimiter, "Required parameter 'patternWithoutDelimiter' not specified");
Objects.requireNonNull(_byte, "Required parameter '_byte' not specified");
- WebClientRequestBuilder webClientRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
- return testEndpointParametersSubmit(webClientRequestBuilder, number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ WebClientRequestBuilder webClientRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
+ return testEndpointParametersSubmit(webClientRequestBuilder, number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -615,19 +615,19 @@ public ApiResponse testEndpointParameters(BigDecimal number, Double _doubl
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return WebClientRequestBuilder for testEndpointParameters
*/
- protected WebClientRequestBuilder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) {
+ protected WebClientRequestBuilder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) {
WebClientRequestBuilder webClientRequestBuilder = apiClient.webClient()
.method("POST");
@@ -647,32 +647,32 @@ protected WebClientRequestBuilder testEndpointParametersRequestBuilder(BigDecima
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return {@code ApiResponse} for the submitted request
*/
- protected ApiResponse testEndpointParametersSubmit(WebClientRequestBuilder webClientRequestBuilder, BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) {
+ protected ApiResponse testEndpointParametersSubmit(WebClientRequestBuilder webClientRequestBuilder, BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) {
String formParams = new StringJoiner("&")
- .add("integer=" + integer)
+ .add("integer=" + _integer)
.add("int32=" + int32)
.add("int64=" + int64)
.add("number=" + number)
.add("float=" + _float)
.add("double=" + _double)
- .add("string=" + string)
+ .add("string=" + _string)
.add("pattern_without_delimiter=" + patternWithoutDelimiter)
.add("byte=" + _byte)
.add("binary=" + binary)
- .add("date=" + date)
- .add("dateTime=" + dateTime)
+ .add("date=" + _date)
+ .add("dateTime=" + _dateTime)
.add("password=" + password)
.add("callback=" + paramCallback)
.toString();
diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 27971dae9168..f1defcba9dd8 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -24,25 +24,25 @@
public class FooGetDefaultResponse {
- private Foo string;
+ private Foo _string;
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
**/
public Foo getString() {
- return string;
+ return _string;
}
/**
- * Set string
+ * Set _string
**/
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
@@ -55,7 +55,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java
index 1f3fc84b65ae..b4ceece195ab 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -28,7 +28,7 @@
public class FormatTest {
- private Integer integer;
+ private Integer _integer;
private Integer int32;
@@ -42,17 +42,17 @@ public class FormatTest {
private BigDecimal decimal;
- private String string;
+ private String _string;
private byte[] _byte;
private File binary;
- private LocalDate date;
+ private LocalDate _date;
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
- private UUID uuid;
+ private UUID _uuid;
private String password;
@@ -67,24 +67,24 @@ public class FormatTest {
private String patternWithDigitsAndDelimiter;
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
**/
public Integer getInteger() {
- return integer;
+ return _integer;
}
/**
- * Set integer
+ * Set _integer
**/
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
@@ -217,22 +217,22 @@ public FormatTest decimal(BigDecimal decimal) {
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
**/
public String getString() {
- return string;
+ return _string;
}
/**
- * Set string
+ * Set _string
**/
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
@@ -277,62 +277,62 @@ public FormatTest binary(File binary) {
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
**/
public LocalDate getDate() {
- return date;
+ return _date;
}
/**
- * Set date
+ * Set _date
**/
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
**/
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
/**
- * Set dateTime
+ * Set _dateTime
**/
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
@@ -405,19 +405,19 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index de307d1e2860..5ca52e49a9a6 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -28,74 +28,74 @@
public class MixedPropertiesAndAdditionalPropertiesClass {
- private UUID uuid;
+ private UUID _uuid;
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
- private Map map = null;
+ private Map _map = null;
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
**/
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
/**
- * Set dateTime
+ * Set _dateTime
**/
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
**/
public Map getMap() {
- return map;
+ return _map;
}
/**
- * Set map
+ * Set _map
**/
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- this.map.put(key, mapItem);
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ this._map.put(key, _mapItem);
return this;
}
@@ -108,9 +108,9 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 254b7df22cb4..29c5809eaab0 100644
--- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -28,7 +28,7 @@
public class ObjectWithDeprecatedFields {
- private String uuid;
+ private String _uuid;
private BigDecimal id;
@@ -37,22 +37,22 @@ public class ObjectWithDeprecatedFields {
private List bars = null;
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public String getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
@@ -136,7 +136,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/docs/FakeApi.md b/samples/client/petstore/java-helidon-client/v4/mp/docs/FakeApi.md
index 4cdd475689dd..5593ec250d46 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/docs/FakeApi.md
+++ b/samples/client/petstore/java-helidon-client/v4/mp/docs/FakeApi.md
@@ -477,7 +477,7 @@ No authorization required
## testEndpointParameters
-> void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -492,14 +492,14 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/docs/FooGetDefaultResponse.md b/samples/client/petstore/java-helidon-client/v4/mp/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java-helidon-client/v4/mp/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/docs/FormatTest.md b/samples/client/petstore/java-helidon-client/v4/mp/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/docs/FormatTest.md
+++ b/samples/client/petstore/java-helidon-client/v4/mp/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java-helidon-client/v4/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java-helidon-client/v4/mp/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java-helidon-client/v4/mp/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java-helidon-client/v4/mp/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/api/FakeApi.java
index 717ed9436919..cab0b1f72a29 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -143,7 +143,7 @@ public interface FakeApi {
@POST
@Consumes({ "application/x-www-form-urlencoded" })
- void testEndpointParameters(@FormParam("number") BigDecimal number, @FormParam("double") Double _double, @FormParam("pattern_without_delimiter") String patternWithoutDelimiter, @FormParam("byte") byte[] _byte, @FormParam("integer") Integer integer, @FormParam("int32") Integer int32, @FormParam("int64") Long int64, @FormParam("float") Float _float, @FormParam("string") String string, @FormParam("binary") File binary, @FormParam("date") LocalDate date, @FormParam("dateTime") OffsetDateTime dateTime, @FormParam("password") String password, @FormParam("callback") String paramCallback) throws ApiException, ProcessingException;
+ void testEndpointParameters(@FormParam("number") BigDecimal number, @FormParam("double") Double _double, @FormParam("pattern_without_delimiter") String patternWithoutDelimiter, @FormParam("byte") byte[] _byte, @FormParam("integer") Integer _integer, @FormParam("int32") Integer int32, @FormParam("int64") Long int64, @FormParam("float") Float _float, @FormParam("string") String _string, @FormParam("binary") File binary, @FormParam("date") LocalDate _date, @FormParam("dateTime") OffsetDateTime _dateTime, @FormParam("password") String password, @FormParam("callback") String paramCallback) throws ApiException, ProcessingException;
/**
* To test enum parameters
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 27971dae9168..f1defcba9dd8 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -24,25 +24,25 @@
public class FooGetDefaultResponse {
- private Foo string;
+ private Foo _string;
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
**/
public Foo getString() {
- return string;
+ return _string;
}
/**
- * Set string
+ * Set _string
**/
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
@@ -55,7 +55,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java
index 1f3fc84b65ae..b4ceece195ab 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -28,7 +28,7 @@
public class FormatTest {
- private Integer integer;
+ private Integer _integer;
private Integer int32;
@@ -42,17 +42,17 @@ public class FormatTest {
private BigDecimal decimal;
- private String string;
+ private String _string;
private byte[] _byte;
private File binary;
- private LocalDate date;
+ private LocalDate _date;
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
- private UUID uuid;
+ private UUID _uuid;
private String password;
@@ -67,24 +67,24 @@ public class FormatTest {
private String patternWithDigitsAndDelimiter;
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
**/
public Integer getInteger() {
- return integer;
+ return _integer;
}
/**
- * Set integer
+ * Set _integer
**/
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
@@ -217,22 +217,22 @@ public FormatTest decimal(BigDecimal decimal) {
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
**/
public String getString() {
- return string;
+ return _string;
}
/**
- * Set string
+ * Set _string
**/
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
@@ -277,62 +277,62 @@ public FormatTest binary(File binary) {
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
**/
public LocalDate getDate() {
- return date;
+ return _date;
}
/**
- * Set date
+ * Set _date
**/
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
**/
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
/**
- * Set dateTime
+ * Set _dateTime
**/
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
@@ -405,19 +405,19 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index de307d1e2860..5ca52e49a9a6 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -28,74 +28,74 @@
public class MixedPropertiesAndAdditionalPropertiesClass {
- private UUID uuid;
+ private UUID _uuid;
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
- private Map map = null;
+ private Map _map = null;
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
**/
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
/**
- * Set dateTime
+ * Set _dateTime
**/
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
**/
public Map getMap() {
- return map;
+ return _map;
}
/**
- * Set map
+ * Set _map
**/
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- this.map.put(key, mapItem);
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ this._map.put(key, _mapItem);
return this;
}
@@ -108,9 +108,9 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 254b7df22cb4..29c5809eaab0 100644
--- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -28,7 +28,7 @@
public class ObjectWithDeprecatedFields {
- private String uuid;
+ private String _uuid;
private BigDecimal id;
@@ -37,22 +37,22 @@ public class ObjectWithDeprecatedFields {
private List bars = null;
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
**/
public String getUuid() {
- return uuid;
+ return _uuid;
}
/**
- * Set uuid
+ * Set _uuid
**/
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
@@ -136,7 +136,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java-micronaut-client/docs/apis/FakeApi.md b/samples/client/petstore/java-micronaut-client/docs/apis/FakeApi.md
index 50260b878f48..d940111b5a1a 100644
--- a/samples/client/petstore/java-micronaut-client/docs/apis/FakeApi.md
+++ b/samples/client/petstore/java-micronaut-client/docs/apis/FakeApi.md
@@ -247,7 +247,7 @@ To test \"client\" model
# **testEndpointParameters**
```java
-Mono FakeApi.testEndpointParameters(number_doublepatternWithoutDelimiter_byteintegerint32int64_floatstringbinarydatedateTimepasswordparamCallback)
+Mono FakeApi.testEndpointParameters(number_doublepatternWithoutDelimiter_byte_integerint32int64_float_stringbinary_date_dateTimepasswordparamCallback)
```
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -261,14 +261,14 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイ
| **_double** | `Double`| None | |
| **patternWithoutDelimiter** | `String`| None | |
| **_byte** | `byte[]`| None | |
-| **integer** | `Integer`| None | [optional parameter] |
+| **_integer** | `Integer`| None | [optional parameter] |
| **int32** | `Integer`| None | [optional parameter] |
| **int64** | `Long`| None | [optional parameter] |
| **_float** | `Float`| None | [optional parameter] |
-| **string** | `String`| None | [optional parameter] |
+| **_string** | `String`| None | [optional parameter] |
| **binary** | `File`| None | [optional parameter] |
-| **date** | `LocalDate`| None | [optional parameter] |
-| **dateTime** | `OffsetDateTime`| None | [optional parameter] |
+| **_date** | `LocalDate`| None | [optional parameter] |
+| **_dateTime** | `OffsetDateTime`| None | [optional parameter] |
| **password** | `String`| None | [optional parameter] |
| **paramCallback** | `String`| None | [optional parameter] |
diff --git a/samples/client/petstore/java-micronaut-client/docs/models/FormatTest.md b/samples/client/petstore/java-micronaut-client/docs/models/FormatTest.md
index 420fa584ec3f..c0fc9dcda073 100644
--- a/samples/client/petstore/java-micronaut-client/docs/models/FormatTest.md
+++ b/samples/client/petstore/java-micronaut-client/docs/models/FormatTest.md
@@ -8,20 +8,20 @@ The class is defined in **[FormatTest.java](../../src/main/java/org/openapitools
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**integer** | `Integer` | | [optional property]
+**_integer** | `Integer` | | [optional property]
**int32** | `Integer` | | [optional property]
**int64** | `Long` | | [optional property]
**number** | `BigDecimal` | |
**_float** | `Float` | | [optional property]
**_double** | `Double` | | [optional property]
-**string** | `String` | | [optional property]
+**_string** | `String` | | [optional property]
**_byte** | `byte[]` | |
**binary** | `File` | | [optional property]
-**date** | `LocalDate` | |
-**dateTime** | `OffsetDateTime` | | [optional property]
-**uuid** | `UUID` | | [optional property]
+**_date** | `LocalDate` | |
+**_dateTime** | `OffsetDateTime` | | [optional property]
+**_uuid** | `UUID` | | [optional property]
**password** | `String` | |
-**bigDecimal** | `BigDecimal` | | [optional property]
+**_bigDecimal** | `BigDecimal` | | [optional property]
diff --git a/samples/client/petstore/java-micronaut-client/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java-micronaut-client/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md
index 5eac3d4d078a..3d49aaa8109e 100644
--- a/samples/client/petstore/java-micronaut-client/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java-micronaut-client/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -8,9 +8,9 @@ The class is defined in **[MixedPropertiesAndAdditionalPropertiesClass.java](../
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**uuid** | `UUID` | | [optional property]
-**dateTime** | `OffsetDateTime` | | [optional property]
-**map** | [`Map<String, Animal>`](Animal.md) | | [optional property]
+**_uuid** | `UUID` | | [optional property]
+**_dateTime** | `OffsetDateTime` | | [optional property]
+**_map** | [`Map<String, Animal>`](Animal.md) | | [optional property]
diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java
index b69afc3dd3b0..97138799caba 100644
--- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java
+++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java
@@ -143,14 +143,14 @@ Mono testClientModel(
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
*/
@@ -161,14 +161,14 @@ Mono testEndpointParameters(
@NotNull @DecimalMin("67.8") @DecimalMax("123.4") Double _double,
@NotNull @Pattern(regexp="^[A-Z].*") String patternWithoutDelimiter,
@NotNull byte[] _byte,
- @Nullable @Min(10) @Max(100) Integer integer,
+ @Nullable @Min(10) @Max(100) Integer _integer,
@Nullable @Min(20) @Max(200) Integer int32,
@Nullable Long int64,
@Nullable @DecimalMax("987.6") Float _float,
- @Nullable @Pattern(regexp="/[a-z]/i") String string,
+ @Nullable @Pattern(regexp="/[a-z]/i") String _string,
@Nullable File binary,
- @Nullable @Format("yyyy-MM-dd") LocalDate date,
- @Nullable @Format("yyyy-MM-dd'T'HH:mm:ss.SSSXXXX") OffsetDateTime dateTime,
+ @Nullable @Format("yyyy-MM-dd") LocalDate _date,
+ @Nullable @Format("yyyy-MM-dd'T'HH:mm:ss.SSSXXXX") OffsetDateTime _dateTime,
@Nullable @Size(min=10, max=64) String password,
@Nullable String paramCallback
);
diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java
index 6d050884ce37..01bfc8b1adab 100644
--- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java
+++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java
@@ -51,7 +51,7 @@
@Introspected
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -69,7 +69,7 @@ public class FormatTest {
private Double _double;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -78,32 +78,32 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
- private BigDecimal bigDecimal;
+ private BigDecimal _bigDecimal;
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@Nullable
@Min(10)
@@ -111,13 +111,13 @@ public FormatTest integer(Integer integer) {
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
public FormatTest int32(Integer int32) {
@@ -246,27 +246,27 @@ public void setDouble(Double _double) {
this._double = _double;
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@Nullable
@Pattern(regexp="/[a-z]/i")
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
public FormatTest _byte(byte[] _byte) {
@@ -313,74 +313,74 @@ public void setBinary(File binary) {
this.binary = binary;
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@NotNull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
public FormatTest password(String password) {
@@ -406,26 +406,26 @@ public void setPassword(String password) {
this.password = password;
}
- public FormatTest bigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public FormatTest _bigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
return this;
}
/**
- * Get bigDecimal
- * @return bigDecimal
+ * Get _bigDecimal
+ * @return _bigDecimal
*/
@Nullable
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getBigDecimal() {
- return bigDecimal;
+ return _bigDecimal;
}
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setBigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public void setBigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
}
@Override
@@ -437,45 +437,45 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
- Objects.equals(this.bigDecimal, formatTest.bigDecimal);
+ Objects.equals(this._bigDecimal, formatTest._bigDecimal);
}
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, _bigDecimal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
- sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
+ sb.append(" _bigDecimal: ").append(toIndentedString(_bigDecimal)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java
index c0290ee40f05..11304050a111 100644
--- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -39,90 +39,90 @@
@Introspected
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = null;
+ private Map _map = null;
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@Override
@@ -134,23 +134,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/apache-httpclient/docs/FakeApi.md b/samples/client/petstore/java/apache-httpclient/docs/FakeApi.md
index 37a949ea0508..115454734fcd 100644
--- a/samples/client/petstore/java/apache-httpclient/docs/FakeApi.md
+++ b/samples/client/petstore/java/apache-httpclient/docs/FakeApi.md
@@ -878,7 +878,7 @@ No authorization required
## testEndpointParameters
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -910,18 +910,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -942,14 +942,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/apache-httpclient/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/apache-httpclient/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java/apache-httpclient/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java/apache-httpclient/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java/apache-httpclient/docs/FormatTest.md b/samples/client/petstore/java/apache-httpclient/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java/apache-httpclient/docs/FormatTest.md
+++ b/samples/client/petstore/java/apache-httpclient/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java/apache-httpclient/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/apache-httpclient/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/apache-httpclient/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/apache-httpclient/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/apache-httpclient/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/apache-httpclient/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java/apache-httpclient/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java/apache-httpclient/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java
index 23684a5ffefb..74b5ae950838 100644
--- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -990,20 +990,20 @@ public Client testClientModel(Client client, Map additionalHeade
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException if fails to make API call
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- this.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, Collections.emptyMap());
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ this.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, Collections.emptyMap());
}
@@ -1014,20 +1014,20 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, Map additionalHeaders) throws ApiException {
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, Map additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'number' is set
@@ -1065,8 +1065,8 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
localVarHeaderParams.putAll(additionalHeaders);
- if (integer != null)
- localVarFormParams.put("integer", integer);
+ if (_integer != null)
+ localVarFormParams.put("integer", _integer);
if (int32 != null)
localVarFormParams.put("int32", int32);
if (int64 != null)
@@ -1077,18 +1077,18 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
localVarFormParams.put("float", _float);
if (_double != null)
localVarFormParams.put("double", _double);
-if (string != null)
- localVarFormParams.put("string", string);
+if (_string != null)
+ localVarFormParams.put("string", _string);
if (patternWithoutDelimiter != null)
localVarFormParams.put("pattern_without_delimiter", patternWithoutDelimiter);
if (_byte != null)
localVarFormParams.put("byte", _byte);
if (binary != null)
localVarFormParams.put("binary", binary);
-if (date != null)
- localVarFormParams.put("date", date);
-if (dateTime != null)
- localVarFormParams.put("dateTime", dateTime);
+if (_date != null)
+ localVarFormParams.put("date", _date);
+if (_dateTime != null)
+ localVarFormParams.put("dateTime", _dateTime);
if (password != null)
localVarFormParams.put("password", password);
if (paramCallback != null)
diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 8e7eacb02aa0..69720002ad8d 100644
--- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -37,34 +37,34 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FooGetDefaultResponse {
public static final String JSON_PROPERTY_STRING = "string";
- private Foo string;
+ private Foo _string;
public FooGetDefaultResponse() {
}
- public FooGetDefaultResponse string(Foo string) {
+ public FooGetDefaultResponse _string(Foo _string) {
- this.string = string;
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Foo getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
@Override
@@ -76,19 +76,19 @@ public boolean equals(Object o) {
return false;
}
FooGetDefaultResponse fooGetDefaultResponse = (FooGetDefaultResponse) o;
- return Objects.equals(this.string, fooGetDefaultResponse.string);
+ return Objects.equals(this._string, fooGetDefaultResponse._string);
}
@Override
public int hashCode() {
- return Objects.hash(string);
+ return Objects.hash(_string);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FormatTest.java
index d36ce911c5b4..29d5c6cb73cb 100644
--- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -56,7 +56,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -77,7 +77,7 @@ public class FormatTest {
private BigDecimal decimal;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -86,13 +86,13 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
@@ -106,31 +106,31 @@ public class FormatTest {
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
+ public FormatTest _integer(Integer _integer) {
- this.integer = integer;
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
public FormatTest int32(Integer int32) {
@@ -291,29 +291,29 @@ public void setDecimal(BigDecimal decimal) {
this.decimal = decimal;
}
- public FormatTest string(String string) {
+ public FormatTest _string(String _string) {
- this.string = string;
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
public FormatTest _byte(byte[] _byte) {
@@ -366,79 +366,79 @@ public void setBinary(File binary) {
this.binary = binary;
}
- public FormatTest date(LocalDate date) {
+ public FormatTest _date(LocalDate _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
+ public FormatTest _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
public FormatTest password(String password) {
@@ -525,19 +525,19 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
Objects.equals(this.decimal, formatTest.decimal) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
Objects.equals(this.patternWithDigits, formatTest.patternWithDigits) &&
Objects.equals(this.patternWithDigitsAndDelimiter, formatTest.patternWithDigitsAndDelimiter);
@@ -545,26 +545,26 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, decimal, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, decimal, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 2d60b5704095..ca6a7e6283d4 100644
--- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -42,98 +42,98 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
- this.map = map;
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@Override
@@ -145,23 +145,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 802af367cc9d..b9e11e2257cf 100644
--- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -43,7 +43,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class ObjectWithDeprecatedFields {
public static final String JSON_PROPERTY_UUID = "uuid";
- private String uuid;
+ private String _uuid;
public static final String JSON_PROPERTY_ID = "id";
private BigDecimal id;
@@ -57,29 +57,29 @@ public class ObjectWithDeprecatedFields {
public ObjectWithDeprecatedFields() {
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
public ObjectWithDeprecatedFields id(BigDecimal id) {
@@ -180,7 +180,7 @@ public boolean equals(Object o) {
return false;
}
ObjectWithDeprecatedFields objectWithDeprecatedFields = (ObjectWithDeprecatedFields) o;
- return Objects.equals(this.uuid, objectWithDeprecatedFields.uuid) &&
+ return Objects.equals(this._uuid, objectWithDeprecatedFields._uuid) &&
Objects.equals(this.id, objectWithDeprecatedFields.id) &&
Objects.equals(this.deprecatedRef, objectWithDeprecatedFields.deprecatedRef) &&
Objects.equals(this.bars, objectWithDeprecatedFields.bars);
@@ -188,14 +188,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(uuid, id, deprecatedRef, bars);
+ return Objects.hash(_uuid, id, deprecatedRef, bars);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java
index 6f78f956efb8..33230f1c43ca 100644
--- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -311,14 +311,14 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
*/
@@ -327,7 +327,7 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
"Content-Type: application/x-www-form-urlencoded",
"Accept: application/json",
})
- void testEndpointParameters(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback);
+ void testEndpointParameters(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer _integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String _string, @Param("binary") File binary, @Param("date") LocalDate _date, @Param("dateTime") OffsetDateTime _dateTime, @Param("password") String password, @Param("callback") String paramCallback);
/**
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -337,14 +337,14 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
*/
@@ -353,7 +353,7 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
"Content-Type: application/x-www-form-urlencoded",
"Accept: application/json",
})
- ApiResponse testEndpointParametersWithHttpInfo(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback);
+ ApiResponse testEndpointParametersWithHttpInfo(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer _integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String _string, @Param("binary") File binary, @Param("date") LocalDate _date, @Param("dateTime") OffsetDateTime _dateTime, @Param("password") String password, @Param("callback") String paramCallback);
diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java
index 1d182c30d78a..293294386cd3 100644
--- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -52,7 +52,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -70,7 +70,7 @@ public class FormatTest {
private Double _double;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -79,48 +79,48 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
- private BigDecimal bigDecimal;
+ private BigDecimal _bigDecimal;
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
+ public FormatTest _integer(Integer _integer) {
- this.integer = integer;
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -262,29 +262,29 @@ public void setDouble(Double _double) {
}
- public FormatTest string(String string) {
+ public FormatTest _string(String _string) {
- this.string = string;
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -340,81 +340,81 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
+ public FormatTest _date(LocalDate _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
+ public FormatTest _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -444,29 +444,29 @@ public void setPassword(String password) {
}
- public FormatTest bigDecimal(BigDecimal bigDecimal) {
+ public FormatTest _bigDecimal(BigDecimal _bigDecimal) {
- this.bigDecimal = bigDecimal;
+ this._bigDecimal = _bigDecimal;
return this;
}
/**
- * Get bigDecimal
- * @return bigDecimal
+ * Get _bigDecimal
+ * @return _bigDecimal
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getBigDecimal() {
- return bigDecimal;
+ return _bigDecimal;
}
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setBigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public void setBigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
}
@@ -479,45 +479,45 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
- Objects.equals(this.bigDecimal, formatTest.bigDecimal);
+ Objects.equals(this._bigDecimal, formatTest._bigDecimal);
}
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, _bigDecimal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
- sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
+ sb.append(" _bigDecimal: ").append(toIndentedString(_bigDecimal)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 1eb78737b5d5..64a67fef3f61 100644
--- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -40,100 +40,100 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
- this.map = map;
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -146,23 +146,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java
index c0f7cd6f9403..3a12e73bf1ab 100644
--- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -512,14 +512,14 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
*/
@@ -528,7 +528,7 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
"Content-Type: application/x-www-form-urlencoded",
"Accept: application/json",
})
- void testEndpointParameters(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback);
+ void testEndpointParameters(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer _integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String _string, @Param("binary") File binary, @Param("date") LocalDate _date, @Param("dateTime") OffsetDateTime _dateTime, @Param("password") String password, @Param("callback") String paramCallback);
/**
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -538,14 +538,14 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
*/
@@ -554,7 +554,7 @@ public TestBodyWithQueryParamsQueryParams query(final String value) {
"Content-Type: application/x-www-form-urlencoded",
"Accept: application/json",
})
- ApiResponse testEndpointParametersWithHttpInfo(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback);
+ ApiResponse testEndpointParametersWithHttpInfo(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer _integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String _string, @Param("binary") File binary, @Param("date") LocalDate _date, @Param("dateTime") OffsetDateTime _dateTime, @Param("password") String password, @Param("callback") String paramCallback);
diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 11866ac661f4..a2244fd6de50 100644
--- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -34,34 +34,34 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FooGetDefaultResponse {
public static final String JSON_PROPERTY_STRING = "string";
- private Foo string;
+ private Foo _string;
public FooGetDefaultResponse() {
}
- public FooGetDefaultResponse string(Foo string) {
+ public FooGetDefaultResponse _string(Foo _string) {
- this.string = string;
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Foo getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
@@ -74,19 +74,19 @@ public boolean equals(Object o) {
return false;
}
FooGetDefaultResponse fooGetDefaultResponse = (FooGetDefaultResponse) o;
- return Objects.equals(this.string, fooGetDefaultResponse.string);
+ return Objects.equals(this._string, fooGetDefaultResponse._string);
}
@Override
public int hashCode() {
- return Objects.hash(string);
+ return Objects.hash(_string);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java
index f08e91ffe628..c98efae9b30c 100644
--- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -53,7 +53,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -74,7 +74,7 @@ public class FormatTest {
private BigDecimal decimal;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -83,13 +83,13 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
@@ -103,31 +103,31 @@ public class FormatTest {
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
+ public FormatTest _integer(Integer _integer) {
- this.integer = integer;
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -295,29 +295,29 @@ public void setDecimal(BigDecimal decimal) {
}
- public FormatTest string(String string) {
+ public FormatTest _string(String _string) {
- this.string = string;
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -373,81 +373,81 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
+ public FormatTest _date(LocalDate _date) {
- this.date = date;
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
+ public FormatTest _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -538,19 +538,19 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
Objects.equals(this.decimal, formatTest.decimal) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
Objects.equals(this.patternWithDigits, formatTest.patternWithDigits) &&
Objects.equals(this.patternWithDigitsAndDelimiter, formatTest.patternWithDigitsAndDelimiter);
@@ -558,26 +558,26 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, decimal, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, decimal, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index bfd499a32b3f..f91e0b9e579c 100644
--- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -39,100 +39,100 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
- this.map = map;
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -145,23 +145,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index fd788ba25409..f70fe399c1a4 100644
--- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -40,7 +40,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class ObjectWithDeprecatedFields {
public static final String JSON_PROPERTY_UUID = "uuid";
- private String uuid;
+ private String _uuid;
public static final String JSON_PROPERTY_ID = "id";
private BigDecimal id;
@@ -54,29 +54,29 @@ public class ObjectWithDeprecatedFields {
public ObjectWithDeprecatedFields() {
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
@@ -181,7 +181,7 @@ public boolean equals(Object o) {
return false;
}
ObjectWithDeprecatedFields objectWithDeprecatedFields = (ObjectWithDeprecatedFields) o;
- return Objects.equals(this.uuid, objectWithDeprecatedFields.uuid) &&
+ return Objects.equals(this._uuid, objectWithDeprecatedFields._uuid) &&
Objects.equals(this.id, objectWithDeprecatedFields.id) &&
Objects.equals(this.deprecatedRef, objectWithDeprecatedFields.deprecatedRef) &&
Objects.equals(this.bars, objectWithDeprecatedFields.bars);
@@ -189,14 +189,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(uuid, id, deprecatedRef, bars);
+ return Objects.hash(_uuid, id, deprecatedRef, bars);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java/google-api-client/docs/FakeApi.md b/samples/client/petstore/java/google-api-client/docs/FakeApi.md
index 627366e41db3..e8088cb9be26 100644
--- a/samples/client/petstore/java/google-api-client/docs/FakeApi.md
+++ b/samples/client/petstore/java/google-api-client/docs/FakeApi.md
@@ -548,7 +548,7 @@ No authorization required
## testEndpointParameters
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -580,18 +580,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -612,14 +612,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/google-api-client/docs/FormatTest.md b/samples/client/petstore/java/google-api-client/docs/FormatTest.md
index 9c68c3080e13..7e401945c3bc 100644
--- a/samples/client/petstore/java/google-api-client/docs/FormatTest.md
+++ b/samples/client/petstore/java/google-api-client/docs/FormatTest.md
@@ -7,20 +7,20 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
-|**bigDecimal** | **BigDecimal** | | [optional] |
+|**_bigDecimal** | **BigDecimal** | | [optional] |
diff --git a/samples/client/petstore/java/google-api-client/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/google-api-client/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/google-api-client/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/google-api-client/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java
index 619fe1effa4c..a5a500ac500c 100644
--- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -757,20 +757,20 @@ public HttpResponse testClientModelForHttpResponse(Client body, Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
- this.uuid = uuid;
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
- this.dateTime = dateTime;
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
- this.map = map;
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@Override
@@ -142,23 +142,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FakeApi.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FakeApi.md
index d21432dbf3e4..62d1027300a1 100644
--- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FakeApi.md
+++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FakeApi.md
@@ -541,7 +541,7 @@ No authorization required
## testEndpointParameters
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -580,18 +580,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- LocalDateTime dateTime = new LocalDateTime(); // LocalDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ LocalDateTime _dateTime = new LocalDateTime(); // LocalDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -612,14 +612,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **LocalDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **LocalDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md
index 5c36e3616e7d..b312d2eefa05 100644
--- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md
+++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md
@@ -7,20 +7,20 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **LocalDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **LocalDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
-|**bigDecimal** | **BigDecimal** | | [optional] |
+|**_bigDecimal** | **BigDecimal** | | [optional] |
diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index d8ba815078e3..bc785b9c5a31 100644
--- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **LocalDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **LocalDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java
index c49af5d12355..6d6e814bfca6 100644
--- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -373,14 +373,14 @@ public ApiResponse testClientModelWithHttpInfo(Client body) throws ApiEx
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException if fails to make API call
@@ -391,8 +391,8 @@ public ApiResponse testClientModelWithHttpInfo(Client body) throws ApiEx
404 | User not found | - |
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, LocalDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, LocalDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -402,14 +402,14 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
@@ -421,7 +421,7 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
404 | User not found | - |
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, LocalDateTime dateTime, String password, String paramCallback) throws ApiException {
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, LocalDateTime _dateTime, String password, String paramCallback) throws ApiException {
// Check required parameters
if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@@ -438,8 +438,8 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
// Form parameters
Map localVarFormParams = new LinkedHashMap<>();
- if (integer != null) {
- localVarFormParams.put("integer", integer);
+ if (_integer != null) {
+ localVarFormParams.put("integer", _integer);
}
if (int32 != null) {
localVarFormParams.put("int32", int32);
@@ -452,19 +452,19 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
localVarFormParams.put("float", _float);
}
localVarFormParams.put("double", _double);
- if (string != null) {
- localVarFormParams.put("string", string);
+ if (_string != null) {
+ localVarFormParams.put("string", _string);
}
localVarFormParams.put("pattern_without_delimiter", patternWithoutDelimiter);
localVarFormParams.put("byte", _byte);
if (binary != null) {
localVarFormParams.put("binary", binary);
}
- if (date != null) {
- localVarFormParams.put("date", date);
+ if (_date != null) {
+ localVarFormParams.put("date", _date);
}
- if (dateTime != null) {
- localVarFormParams.put("dateTime", dateTime);
+ if (_dateTime != null) {
+ localVarFormParams.put("dateTime", _dateTime);
}
if (password != null) {
localVarFormParams.put("password", password);
diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java
index 5f1c645585eb..0b253cd00065 100644
--- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -54,7 +54,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -72,7 +72,7 @@ public class FormatTest {
private Double _double;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -81,47 +81,47 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private LocalDateTime dateTime;
+ private LocalDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
- private BigDecimal bigDecimal;
+ private BigDecimal _bigDecimal;
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -258,28 +258,28 @@ public void setDouble(Double _double) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -333,78 +333,78 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(LocalDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(LocalDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LocalDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(LocalDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(LocalDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -433,28 +433,28 @@ public void setPassword(String password) {
}
- public FormatTest bigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public FormatTest _bigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
return this;
}
/**
- * Get bigDecimal
- * @return bigDecimal
+ * Get _bigDecimal
+ * @return _bigDecimal
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getBigDecimal() {
- return bigDecimal;
+ return _bigDecimal;
}
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setBigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public void setBigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
}
@@ -470,45 +470,45 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
- Objects.equals(this.bigDecimal, formatTest.bigDecimal);
+ Objects.equals(this._bigDecimal, formatTest._bigDecimal);
}
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, _bigDecimal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
- sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
+ sb.append(" _bigDecimal: ").append(toIndentedString(_bigDecimal)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 026e40a84163..147590bb1f20 100644
--- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -42,97 +42,97 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private LocalDateTime dateTime;
+ private LocalDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(LocalDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(LocalDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LocalDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(LocalDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(LocalDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -148,23 +148,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey2-java8/docs/FakeApi.md b/samples/client/petstore/java/jersey2-java8/docs/FakeApi.md
index 84167f65462a..ec43ec6cabed 100644
--- a/samples/client/petstore/java/jersey2-java8/docs/FakeApi.md
+++ b/samples/client/petstore/java/jersey2-java8/docs/FakeApi.md
@@ -541,7 +541,7 @@ No authorization required
## testEndpointParameters
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -580,18 +580,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -612,14 +612,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md b/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md
index 9c68c3080e13..7e401945c3bc 100644
--- a/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md
+++ b/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md
@@ -7,20 +7,20 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
-|**bigDecimal** | **BigDecimal** | | [optional] |
+|**_bigDecimal** | **BigDecimal** | | [optional] |
diff --git a/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java
index e4228cf75150..83d42b387a07 100644
--- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -373,14 +373,14 @@ public ApiResponse testClientModelWithHttpInfo(Client body) throws ApiEx
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException if fails to make API call
@@ -391,8 +391,8 @@ public ApiResponse testClientModelWithHttpInfo(Client body) throws ApiEx
404 | User not found | - |
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -402,14 +402,14 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
@@ -421,7 +421,7 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
404 | User not found | - |
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
// Check required parameters
if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@@ -438,8 +438,8 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
// Form parameters
Map localVarFormParams = new LinkedHashMap<>();
- if (integer != null) {
- localVarFormParams.put("integer", integer);
+ if (_integer != null) {
+ localVarFormParams.put("integer", _integer);
}
if (int32 != null) {
localVarFormParams.put("int32", int32);
@@ -452,19 +452,19 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
localVarFormParams.put("float", _float);
}
localVarFormParams.put("double", _double);
- if (string != null) {
- localVarFormParams.put("string", string);
+ if (_string != null) {
+ localVarFormParams.put("string", _string);
}
localVarFormParams.put("pattern_without_delimiter", patternWithoutDelimiter);
localVarFormParams.put("byte", _byte);
if (binary != null) {
localVarFormParams.put("binary", binary);
}
- if (date != null) {
- localVarFormParams.put("date", date);
+ if (_date != null) {
+ localVarFormParams.put("date", _date);
}
- if (dateTime != null) {
- localVarFormParams.put("dateTime", dateTime);
+ if (_dateTime != null) {
+ localVarFormParams.put("dateTime", _dateTime);
}
if (password != null) {
localVarFormParams.put("password", password);
diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java
index bc3e557e062e..b96c5a12e754 100644
--- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -54,7 +54,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -72,7 +72,7 @@ public class FormatTest {
private Double _double;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -81,47 +81,47 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
- private BigDecimal bigDecimal;
+ private BigDecimal _bigDecimal;
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -258,28 +258,28 @@ public void setDouble(Double _double) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -333,78 +333,78 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -433,28 +433,28 @@ public void setPassword(String password) {
}
- public FormatTest bigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public FormatTest _bigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
return this;
}
/**
- * Get bigDecimal
- * @return bigDecimal
+ * Get _bigDecimal
+ * @return _bigDecimal
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getBigDecimal() {
- return bigDecimal;
+ return _bigDecimal;
}
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setBigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public void setBigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
}
@@ -470,45 +470,45 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
- Objects.equals(this.bigDecimal, formatTest.bigDecimal);
+ Objects.equals(this._bigDecimal, formatTest._bigDecimal);
}
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, _bigDecimal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
- sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
+ sb.append(" _bigDecimal: ").append(toIndentedString(_bigDecimal)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 9c60134dd799..dd4e43e0281f 100644
--- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -42,97 +42,97 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -148,23 +148,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey3/docs/FakeApi.md b/samples/client/petstore/java/jersey3/docs/FakeApi.md
index 7d45cd6a51b8..60c4c3dd416e 100644
--- a/samples/client/petstore/java/jersey3/docs/FakeApi.md
+++ b/samples/client/petstore/java/jersey3/docs/FakeApi.md
@@ -726,7 +726,7 @@ No authorization required
## testEndpointParameters
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -766,18 +766,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -798,14 +798,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java/jersey3/docs/FormatTest.md b/samples/client/petstore/java/jersey3/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java/jersey3/docs/FormatTest.md
+++ b/samples/client/petstore/java/jersey3/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java
index 2368a00d7bc2..b51937ab531c 100644
--- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -480,14 +480,14 @@ public ApiResponse testClientModelWithHttpInfo(Client client) throws Api
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException if fails to make API call
@@ -498,8 +498,8 @@ public ApiResponse testClientModelWithHttpInfo(Client client) throws Api
404 | User not found | - |
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -509,14 +509,14 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
@@ -528,7 +528,7 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
404 | User not found | - |
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
// Check required parameters
if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@@ -545,8 +545,8 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
// Form parameters
Map localVarFormParams = new LinkedHashMap<>();
- if (integer != null) {
- localVarFormParams.put("integer", integer);
+ if (_integer != null) {
+ localVarFormParams.put("integer", _integer);
}
if (int32 != null) {
localVarFormParams.put("int32", int32);
@@ -559,19 +559,19 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
localVarFormParams.put("float", _float);
}
localVarFormParams.put("double", _double);
- if (string != null) {
- localVarFormParams.put("string", string);
+ if (_string != null) {
+ localVarFormParams.put("string", _string);
}
localVarFormParams.put("pattern_without_delimiter", patternWithoutDelimiter);
localVarFormParams.put("byte", _byte);
if (binary != null) {
localVarFormParams.put("binary", binary);
}
- if (date != null) {
- localVarFormParams.put("date", date);
+ if (_date != null) {
+ localVarFormParams.put("date", _date);
}
- if (dateTime != null) {
- localVarFormParams.put("dateTime", dateTime);
+ if (_dateTime != null) {
+ localVarFormParams.put("dateTime", _dateTime);
}
if (password != null) {
localVarFormParams.put("password", password);
diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index f785a43e16f3..06d25bad7580 100644
--- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -39,19 +39,19 @@
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FooGetDefaultResponse {
public static final String JSON_PROPERTY_STRING = "string";
- private Foo string;
+ private Foo _string;
public FooGetDefaultResponse() {
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@jakarta.annotation.Nullable
@Valid
@@ -60,14 +60,14 @@ public FooGetDefaultResponse string(Foo string) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Foo getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
@@ -83,19 +83,19 @@ public boolean equals(Object o) {
return false;
}
FooGetDefaultResponse fooGetDefaultResponse = (FooGetDefaultResponse) o;
- return Objects.equals(this.string, fooGetDefaultResponse.string);
+ return Objects.equals(this._string, fooGetDefaultResponse._string);
}
@Override
public int hashCode() {
- return Objects.hash(string);
+ return Objects.hash(_string);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java
index 85b7bfd72d81..8642ad7cdd6f 100644
--- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -58,7 +58,7 @@
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -79,7 +79,7 @@ public class FormatTest {
private BigDecimal decimal;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -88,13 +88,13 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
@@ -108,16 +108,16 @@ public class FormatTest {
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@jakarta.annotation.Nullable
@Min(10) @Max(100)
@@ -125,14 +125,14 @@ public FormatTest integer(Integer integer) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -303,14 +303,14 @@ public void setDecimal(BigDecimal decimal) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@jakarta.annotation.Nullable
@Pattern(regexp="/[a-z]/i")
@@ -318,14 +318,14 @@ public FormatTest string(String string) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -383,14 +383,14 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@jakarta.annotation.Nonnull
@NotNull
@@ -400,25 +400,25 @@ public FormatTest date(LocalDate date) {
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@jakarta.annotation.Nullable
@Valid
@@ -427,25 +427,25 @@ public FormatTest dateTime(OffsetDateTime dateTime) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@jakarta.annotation.Nullable
@Valid
@@ -454,14 +454,14 @@ public FormatTest uuid(UUID uuid) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -556,19 +556,19 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
Objects.equals(this.decimal, formatTest.decimal) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
Objects.equals(this.patternWithDigits, formatTest.patternWithDigits) &&
Objects.equals(this.patternWithDigitsAndDelimiter, formatTest.patternWithDigitsAndDelimiter);
@@ -576,26 +576,26 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, decimal, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, decimal, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 62faa6faf3cb..4dcd384cd710 100644
--- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -44,25 +44,25 @@
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@jakarta.annotation.Nullable
@Valid
@@ -71,25 +71,25 @@ public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@jakarta.annotation.Nullable
@Valid
@@ -98,33 +98,33 @@ public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateT
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@jakarta.annotation.Nullable
@Valid
@@ -133,14 +133,14 @@ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -156,23 +156,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 8d001d9050ea..929aa99ac173 100644
--- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -44,7 +44,7 @@
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class ObjectWithDeprecatedFields {
public static final String JSON_PROPERTY_UUID = "uuid";
- private String uuid;
+ private String _uuid;
public static final String JSON_PROPERTY_ID = "id";
@Deprecated
@@ -61,14 +61,14 @@ public class ObjectWithDeprecatedFields {
public ObjectWithDeprecatedFields() {
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@jakarta.annotation.Nullable
@@ -76,14 +76,14 @@ public ObjectWithDeprecatedFields uuid(String uuid) {
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
@@ -199,7 +199,7 @@ public boolean equals(Object o) {
return false;
}
ObjectWithDeprecatedFields objectWithDeprecatedFields = (ObjectWithDeprecatedFields) o;
- return Objects.equals(this.uuid, objectWithDeprecatedFields.uuid) &&
+ return Objects.equals(this._uuid, objectWithDeprecatedFields._uuid) &&
Objects.equals(this.id, objectWithDeprecatedFields.id) &&
Objects.equals(this.deprecatedRef, objectWithDeprecatedFields.deprecatedRef) &&
Objects.equals(this.bars, objectWithDeprecatedFields.bars);
@@ -207,14 +207,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(uuid, id, deprecatedRef, bars);
+ return Objects.hash(_uuid, id, deprecatedRef, bars);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java/native-async/docs/FakeApi.md b/samples/client/petstore/java/native-async/docs/FakeApi.md
index e10d657aaa82..4d7946930db9 100644
--- a/samples/client/petstore/java/native-async/docs/FakeApi.md
+++ b/samples/client/petstore/java/native-async/docs/FakeApi.md
@@ -1715,7 +1715,7 @@ No authorization required
## testEndpointParameters
-> CompletableFuture testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> CompletableFuture testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -1748,18 +1748,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- CompletableFuture result = apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ CompletableFuture result = apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -1780,14 +1780,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
@@ -1813,7 +1813,7 @@ CompletableFuture (empty response body)
## testEndpointParametersWithHttpInfo
-> CompletableFuture> testEndpointParameters testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> CompletableFuture> testEndpointParameters testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -1847,18 +1847,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- CompletableFuture> response = apiInstance.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ CompletableFuture> response = apiInstance.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
System.out.println("Status code: " + response.get().getStatusCode());
System.out.println("Response headers: " + response.get().getHeaders());
} catch (InterruptedException | ExecutionException e) {
@@ -1888,14 +1888,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java/native-async/docs/FormatTest.md b/samples/client/petstore/java/native-async/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java/native-async/docs/FormatTest.md
+++ b/samples/client/petstore/java/native-async/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java
index a1d0bc66ed3f..f026d38d20dd 100644
--- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -1201,22 +1201,22 @@ private HttpRequest.Builder testClientModelRequestBuilder(Client client) throws
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @return CompletableFuture<Void>
* @throws ApiException if fails to make API call
*/
- public CompletableFuture testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
+ public CompletableFuture testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
try {
- HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
return memberVarHttpClient.sendAsync(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofString()).thenComposeAsync(localVarResponse -> {
@@ -1238,22 +1238,22 @@ public CompletableFuture testEndpointParameters(BigDecimal number, Double
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @return CompletableFuture<ApiResponse<Void>>
* @throws ApiException if fails to make API call
*/
- public CompletableFuture> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
+ public CompletableFuture> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
try {
- HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
return memberVarHttpClient.sendAsync(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofString()).thenComposeAsync(localVarResponse -> {
@@ -1274,7 +1274,7 @@ public CompletableFuture> testEndpointParametersWithHttpInfo(B
}
}
- private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
+ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
// verify the required parameter 'number' is set
if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@@ -1301,8 +1301,8 @@ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal numb
localVarRequestBuilder.header("Accept", "application/json");
List formValues = new ArrayList<>();
- if (integer != null) {
- formValues.add(new BasicNameValuePair("integer", integer.toString()));
+ if (_integer != null) {
+ formValues.add(new BasicNameValuePair("integer", _integer.toString()));
}
if (int32 != null) {
formValues.add(new BasicNameValuePair("int32", int32.toString()));
@@ -1319,8 +1319,8 @@ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal numb
if (_double != null) {
formValues.add(new BasicNameValuePair("double", _double.toString()));
}
- if (string != null) {
- formValues.add(new BasicNameValuePair("string", string.toString()));
+ if (_string != null) {
+ formValues.add(new BasicNameValuePair("string", _string.toString()));
}
if (patternWithoutDelimiter != null) {
formValues.add(new BasicNameValuePair("pattern_without_delimiter", patternWithoutDelimiter.toString()));
@@ -1331,11 +1331,11 @@ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal numb
if (binary != null) {
formValues.add(new BasicNameValuePair("binary", binary.toString()));
}
- if (date != null) {
- formValues.add(new BasicNameValuePair("date", date.toString()));
+ if (_date != null) {
+ formValues.add(new BasicNameValuePair("date", _date.toString()));
}
- if (dateTime != null) {
- formValues.add(new BasicNameValuePair("dateTime", dateTime.toString()));
+ if (_dateTime != null) {
+ formValues.add(new BasicNameValuePair("dateTime", _dateTime.toString()));
}
if (password != null) {
formValues.add(new BasicNameValuePair("password", password.toString()));
diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 5bdd37e51f57..303ba833b8c6 100644
--- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -39,32 +39,32 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FooGetDefaultResponse {
public static final String JSON_PROPERTY_STRING = "string";
- private Foo string;
+ private Foo _string;
public FooGetDefaultResponse() {
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Foo getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
@@ -80,19 +80,19 @@ public boolean equals(Object o) {
return false;
}
FooGetDefaultResponse fooGetDefaultResponse = (FooGetDefaultResponse) o;
- return Objects.equals(this.string, fooGetDefaultResponse.string);
+ return Objects.equals(this._string, fooGetDefaultResponse._string);
}
@Override
public int hashCode() {
- return Objects.hash(string);
+ return Objects.hash(_string);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java
index d7ebbce524a9..6926747d874b 100644
--- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -58,7 +58,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -79,7 +79,7 @@ public class FormatTest {
private BigDecimal decimal;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -88,13 +88,13 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
@@ -108,29 +108,29 @@ public class FormatTest {
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -286,27 +286,27 @@ public void setDecimal(BigDecimal decimal) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -358,75 +358,75 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -514,19 +514,19 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
Objects.equals(this.decimal, formatTest.decimal) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
Objects.equals(this.patternWithDigits, formatTest.patternWithDigits) &&
Objects.equals(this.patternWithDigitsAndDelimiter, formatTest.patternWithDigitsAndDelimiter);
@@ -534,26 +534,26 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, decimal, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, decimal, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 8517bcc60427..6fec58bc894c 100644
--- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -45,94 +45,94 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -148,23 +148,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index b76ff02ff973..b3cb1d8de43d 100644
--- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -45,7 +45,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class ObjectWithDeprecatedFields {
public static final String JSON_PROPERTY_UUID = "uuid";
- private String uuid;
+ private String _uuid;
public static final String JSON_PROPERTY_ID = "id";
private BigDecimal id;
@@ -59,27 +59,27 @@ public class ObjectWithDeprecatedFields {
public ObjectWithDeprecatedFields() {
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
@@ -181,7 +181,7 @@ public boolean equals(Object o) {
return false;
}
ObjectWithDeprecatedFields objectWithDeprecatedFields = (ObjectWithDeprecatedFields) o;
- return Objects.equals(this.uuid, objectWithDeprecatedFields.uuid) &&
+ return Objects.equals(this._uuid, objectWithDeprecatedFields._uuid) &&
Objects.equals(this.id, objectWithDeprecatedFields.id) &&
Objects.equals(this.deprecatedRef, objectWithDeprecatedFields.deprecatedRef) &&
Objects.equals(this.bars, objectWithDeprecatedFields.bars);
@@ -189,14 +189,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(uuid, id, deprecatedRef, bars);
+ return Objects.hash(_uuid, id, deprecatedRef, bars);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java/native/docs/FakeApi.md b/samples/client/petstore/java/native/docs/FakeApi.md
index f9dd65ba4ec9..4e727c34491f 100644
--- a/samples/client/petstore/java/native/docs/FakeApi.md
+++ b/samples/client/petstore/java/native/docs/FakeApi.md
@@ -1607,7 +1607,7 @@ No authorization required
## testEndpointParameters
-> void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -1639,18 +1639,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -1671,14 +1671,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
@@ -1704,7 +1704,7 @@ null (empty response body)
## testEndpointParametersWithHttpInfo
-> ApiResponse testEndpointParameters testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> ApiResponse testEndpointParameters testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -1737,18 +1737,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- ApiResponse response = apiInstance.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ ApiResponse response = apiInstance.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
@@ -1771,14 +1771,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java/native/docs/FormatTest.md b/samples/client/petstore/java/native/docs/FormatTest.md
index 01b8c777ae06..e56dd0d80db9 100644
--- a/samples/client/petstore/java/native/docs/FormatTest.md
+++ b/samples/client/petstore/java/native/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
|**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] |
diff --git a/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java
index 569d74f8752f..954dabd4de20 100644
--- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -1002,20 +1002,20 @@ private HttpRequest.Builder testClientModelRequestBuilder(Client client) throws
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException if fails to make API call
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -1025,21 +1025,21 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
* @throws ApiException if fails to make API call
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
@@ -1072,7 +1072,7 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
}
}
- private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
+ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
// verify the required parameter 'number' is set
if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@@ -1099,8 +1099,8 @@ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal numb
localVarRequestBuilder.header("Accept", "application/json");
List formValues = new ArrayList<>();
- if (integer != null) {
- formValues.add(new BasicNameValuePair("integer", integer.toString()));
+ if (_integer != null) {
+ formValues.add(new BasicNameValuePair("integer", _integer.toString()));
}
if (int32 != null) {
formValues.add(new BasicNameValuePair("int32", int32.toString()));
@@ -1117,8 +1117,8 @@ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal numb
if (_double != null) {
formValues.add(new BasicNameValuePair("double", _double.toString()));
}
- if (string != null) {
- formValues.add(new BasicNameValuePair("string", string.toString()));
+ if (_string != null) {
+ formValues.add(new BasicNameValuePair("string", _string.toString()));
}
if (patternWithoutDelimiter != null) {
formValues.add(new BasicNameValuePair("pattern_without_delimiter", patternWithoutDelimiter.toString()));
@@ -1129,11 +1129,11 @@ private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal numb
if (binary != null) {
formValues.add(new BasicNameValuePair("binary", binary.toString()));
}
- if (date != null) {
- formValues.add(new BasicNameValuePair("date", date.toString()));
+ if (_date != null) {
+ formValues.add(new BasicNameValuePair("date", _date.toString()));
}
- if (dateTime != null) {
- formValues.add(new BasicNameValuePair("dateTime", dateTime.toString()));
+ if (_dateTime != null) {
+ formValues.add(new BasicNameValuePair("dateTime", _dateTime.toString()));
}
if (password != null) {
formValues.add(new BasicNameValuePair("password", password.toString()));
diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index b15bb8d96122..e4f007aa3021 100644
--- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -39,32 +39,32 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FooGetDefaultResponse {
public static final String JSON_PROPERTY_STRING = "string";
- private Foo string;
+ private Foo _string;
public FooGetDefaultResponse() {
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Foo getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
@@ -80,19 +80,19 @@ public boolean equals(Object o) {
return false;
}
FooGetDefaultResponse fooGetDefaultResponse = (FooGetDefaultResponse) o;
- return Objects.equals(this.string, fooGetDefaultResponse.string);
+ return Objects.equals(this._string, fooGetDefaultResponse._string);
}
@Override
public int hashCode() {
- return Objects.hash(string);
+ return Objects.hash(_string);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -160,8 +160,8 @@ protected Builder(FooGetDefaultResponse instance) {
this.instance = instance;
}
- public FooGetDefaultResponse.Builder string(Foo string) {
- this.instance.string = string;
+ public FooGetDefaultResponse.Builder _string(Foo _string) {
+ this.instance._string = _string;
return this;
}
@@ -198,7 +198,7 @@ public static FooGetDefaultResponse.Builder builder() {
*/
public FooGetDefaultResponse.Builder toBuilder() {
return new FooGetDefaultResponse.Builder()
- .string(getString());
+ ._string(getString());
}
}
diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java
index d373a15b18aa..e45dcf44edc2 100644
--- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -58,7 +58,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class FormatTest {
public static final String JSON_PROPERTY_INTEGER = "integer";
- private Integer integer;
+ private Integer _integer;
public static final String JSON_PROPERTY_INT32 = "int32";
private Integer int32;
@@ -79,7 +79,7 @@ public class FormatTest {
private BigDecimal decimal;
public static final String JSON_PROPERTY_STRING = "string";
- private String string;
+ private String _string;
public static final String JSON_PROPERTY_BYTE = "byte";
private byte[] _byte;
@@ -88,13 +88,13 @@ public class FormatTest {
private File binary;
public static final String JSON_PROPERTY_DATE = "date";
- private LocalDate date;
+ private LocalDate _date;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
@@ -108,29 +108,29 @@ public class FormatTest {
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
- return integer;
+ return _integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -286,27 +286,27 @@ public void setDecimal(BigDecimal decimal) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
- return string;
+ return _string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -358,75 +358,75 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
- return date;
+ return _date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -514,19 +514,19 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
Objects.equals(this.decimal, formatTest.decimal) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
Objects.equals(this.patternWithDigits, formatTest.patternWithDigits) &&
Objects.equals(this.patternWithDigitsAndDelimiter, formatTest.patternWithDigitsAndDelimiter);
@@ -534,26 +534,26 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, decimal, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, decimal, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, patternWithDigits, patternWithDigitsAndDelimiter);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
sb.append(" patternWithDigitsAndDelimiter: ").append(toIndentedString(patternWithDigitsAndDelimiter)).append("\n");
@@ -699,8 +699,8 @@ protected Builder(FormatTest instance) {
this.instance = instance;
}
- public FormatTest.Builder integer(Integer integer) {
- this.instance.integer = integer;
+ public FormatTest.Builder _integer(Integer _integer) {
+ this.instance._integer = _integer;
return this;
}
public FormatTest.Builder int32(Integer int32) {
@@ -727,8 +727,8 @@ public FormatTest.Builder decimal(BigDecimal decimal) {
this.instance.decimal = decimal;
return this;
}
- public FormatTest.Builder string(String string) {
- this.instance.string = string;
+ public FormatTest.Builder _string(String _string) {
+ this.instance._string = _string;
return this;
}
public FormatTest.Builder _byte(byte[] _byte) {
@@ -739,16 +739,16 @@ public FormatTest.Builder binary(File binary) {
this.instance.binary = binary;
return this;
}
- public FormatTest.Builder date(LocalDate date) {
- this.instance.date = date;
+ public FormatTest.Builder _date(LocalDate _date) {
+ this.instance._date = _date;
return this;
}
- public FormatTest.Builder dateTime(OffsetDateTime dateTime) {
- this.instance.dateTime = dateTime;
+ public FormatTest.Builder _dateTime(OffsetDateTime _dateTime) {
+ this.instance._dateTime = _dateTime;
return this;
}
- public FormatTest.Builder uuid(UUID uuid) {
- this.instance.uuid = uuid;
+ public FormatTest.Builder _uuid(UUID _uuid) {
+ this.instance._uuid = _uuid;
return this;
}
public FormatTest.Builder password(String password) {
@@ -797,19 +797,19 @@ public static FormatTest.Builder builder() {
*/
public FormatTest.Builder toBuilder() {
return new FormatTest.Builder()
- .integer(getInteger())
+ ._integer(getInteger())
.int32(getInt32())
.int64(getInt64())
.number(getNumber())
._float(getFloat())
._double(getDouble())
.decimal(getDecimal())
- .string(getString())
+ ._string(getString())
._byte(getByte())
.binary(getBinary())
- .date(getDate())
- .dateTime(getDateTime())
- .uuid(getUuid())
+ ._date(getDate())
+ ._dateTime(getDateTime())
+ ._uuid(getUuid())
.password(getPassword())
.patternWithDigits(getPatternWithDigits())
.patternWithDigitsAndDelimiter(getPatternWithDigitsAndDelimiter());
diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index a1e808e486a8..eae97184e3b2 100644
--- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -45,94 +45,94 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String JSON_PROPERTY_UUID = "uuid";
- private UUID uuid;
+ private UUID _uuid;
public static final String JSON_PROPERTY_DATE_TIME = "dateTime";
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String JSON_PROPERTY_MAP = "map";
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map getMap() {
- return map;
+ return _map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -148,23 +148,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -247,16 +247,16 @@ protected Builder(MixedPropertiesAndAdditionalPropertiesClass instance) {
this.instance = instance;
}
- public MixedPropertiesAndAdditionalPropertiesClass.Builder uuid(UUID uuid) {
- this.instance.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass.Builder _uuid(UUID _uuid) {
+ this.instance._uuid = _uuid;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass.Builder dateTime(OffsetDateTime dateTime) {
- this.instance.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass.Builder _dateTime(OffsetDateTime _dateTime) {
+ this.instance._dateTime = _dateTime;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass.Builder map(Map map) {
- this.instance.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass.Builder _map(Map _map) {
+ this.instance._map = _map;
return this;
}
@@ -293,9 +293,9 @@ public static MixedPropertiesAndAdditionalPropertiesClass.Builder builder() {
*/
public MixedPropertiesAndAdditionalPropertiesClass.Builder toBuilder() {
return new MixedPropertiesAndAdditionalPropertiesClass.Builder()
- .uuid(getUuid())
- .dateTime(getDateTime())
- .map(getMap());
+ ._uuid(getUuid())
+ ._dateTime(getDateTime())
+ ._map(getMap());
}
}
diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 30052aee4b94..5b74b4342aff 100644
--- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -45,7 +45,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0-SNAPSHOT")
public class ObjectWithDeprecatedFields {
public static final String JSON_PROPERTY_UUID = "uuid";
- private String uuid;
+ private String _uuid;
public static final String JSON_PROPERTY_ID = "id";
private BigDecimal id;
@@ -59,27 +59,27 @@ public class ObjectWithDeprecatedFields {
public ObjectWithDeprecatedFields() {
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUuid() {
- return uuid;
+ return _uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
@@ -181,7 +181,7 @@ public boolean equals(Object o) {
return false;
}
ObjectWithDeprecatedFields objectWithDeprecatedFields = (ObjectWithDeprecatedFields) o;
- return Objects.equals(this.uuid, objectWithDeprecatedFields.uuid) &&
+ return Objects.equals(this._uuid, objectWithDeprecatedFields._uuid) &&
Objects.equals(this.id, objectWithDeprecatedFields.id) &&
Objects.equals(this.deprecatedRef, objectWithDeprecatedFields.deprecatedRef) &&
Objects.equals(this.bars, objectWithDeprecatedFields.bars);
@@ -189,14 +189,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(uuid, id, deprecatedRef, bars);
+ return Objects.hash(_uuid, id, deprecatedRef, bars);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
@@ -286,8 +286,8 @@ protected Builder(ObjectWithDeprecatedFields instance) {
this.instance = instance;
}
- public ObjectWithDeprecatedFields.Builder uuid(String uuid) {
- this.instance.uuid = uuid;
+ public ObjectWithDeprecatedFields.Builder _uuid(String _uuid) {
+ this.instance._uuid = _uuid;
return this;
}
public ObjectWithDeprecatedFields.Builder id(BigDecimal id) {
@@ -336,7 +336,7 @@ public static ObjectWithDeprecatedFields.Builder builder() {
*/
public ObjectWithDeprecatedFields.Builder toBuilder() {
return new ObjectWithDeprecatedFields.Builder()
- .uuid(getUuid())
+ ._uuid(getUuid())
.id(getId())
.deprecatedRef(getDeprecatedRef())
.bars(getBars());
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FakeApi.md b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FakeApi.md
index 98f0b0098b8b..0d96b99298be 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FakeApi.md
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FakeApi.md
@@ -515,7 +515,7 @@ No authorization required
# **testEndpointParameters**
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -546,18 +546,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -577,14 +577,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FormatTest.md b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FormatTest.md
index 9c68c3080e13..7e401945c3bc 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FormatTest.md
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/FormatTest.md
@@ -7,20 +7,20 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
-|**bigDecimal** | **BigDecimal** | | [optional] |
+|**_bigDecimal** | **BigDecimal** | | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/FakeApi.java
index e036975291ef..5a6eeeb11758 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -1113,14 +1113,14 @@ public okhttp3.Call testClientModelAsync(Client body, final ApiCallback
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @param _callback Callback for upload/download progress
@@ -1133,7 +1133,7 @@ public okhttp3.Call testClientModelAsync(Client body, final ApiCallback
404 | User not found | - |
*/
- public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1164,8 +1164,8 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
- if (integer != null) {
- localVarFormParams.put("integer", integer);
+ if (_integer != null) {
+ localVarFormParams.put("integer", _integer);
}
if (int32 != null) {
@@ -1188,8 +1188,8 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
localVarFormParams.put("double", _double);
}
- if (string != null) {
- localVarFormParams.put("string", string);
+ if (_string != null) {
+ localVarFormParams.put("string", _string);
}
if (patternWithoutDelimiter != null) {
@@ -1204,12 +1204,12 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
localVarFormParams.put("binary", binary);
}
- if (date != null) {
- localVarFormParams.put("date", date);
+ if (_date != null) {
+ localVarFormParams.put("date", _date);
}
- if (dateTime != null) {
- localVarFormParams.put("dateTime", dateTime);
+ if (_dateTime != null) {
+ localVarFormParams.put("dateTime", _dateTime);
}
if (password != null) {
@@ -1242,7 +1242,7 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'number' is set
if (number == null) {
throw new ApiException("Missing the required parameter 'number' when calling testEndpointParameters(Async)");
@@ -1263,7 +1263,7 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
throw new ApiException("Missing the required parameter '_byte' when calling testEndpointParameters(Async)");
}
- return testEndpointParametersCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, _callback);
+ return testEndpointParametersCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, _callback);
}
@@ -1274,14 +1274,14 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1292,8 +1292,8 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
404 | User not found | - |
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -1303,14 +1303,14 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
@@ -1322,8 +1322,8 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
404 | User not found | - |
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, null);
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, null);
return localVarApiClient.execute(localVarCall);
}
@@ -1334,14 +1334,14 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @param _callback The callback to be executed when the API call finishes
@@ -1354,9 +1354,9 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
404 | User not found | - |
*/
- public okhttp3.Call testEndpointParametersAsync(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call testEndpointParametersAsync(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, _callback);
+ okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
return localVarCall;
}
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java
index d1042d844f30..17ece42b1b24 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -58,7 +58,7 @@
public class FormatTest {
public static final String SERIALIZED_NAME_INTEGER = "integer";
@SerializedName(SERIALIZED_NAME_INTEGER)
- private Integer integer;
+ private Integer _integer;
public static final String SERIALIZED_NAME_INT32 = "int32";
@SerializedName(SERIALIZED_NAME_INT32)
@@ -82,7 +82,7 @@ public class FormatTest {
public static final String SERIALIZED_NAME_STRING = "string";
@SerializedName(SERIALIZED_NAME_STRING)
- private String string;
+ private String _string;
public static final String SERIALIZED_NAME_BYTE = "byte";
@SerializedName(SERIALIZED_NAME_BYTE)
@@ -94,15 +94,15 @@ public class FormatTest {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
- private LocalDate date;
+ private LocalDate _date;
public static final String SERIALIZED_NAME_DATE_TIME = "dateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private UUID uuid;
+ private UUID _uuid;
public static final String SERIALIZED_NAME_PASSWORD = "password";
@SerializedName(SERIALIZED_NAME_PASSWORD)
@@ -110,29 +110,29 @@ public class FormatTest {
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
- private BigDecimal bigDecimal;
+ private BigDecimal _bigDecimal;
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
public Integer getInteger() {
- return integer;
+ return _integer;
}
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -239,22 +239,22 @@ public void setDouble(Double _double) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
public String getString() {
- return string;
+ return _string;
}
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -296,60 +296,60 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
public LocalDate getDate() {
- return date;
+ return _date;
}
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -372,22 +372,22 @@ public void setPassword(String password) {
}
- public FormatTest bigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public FormatTest _bigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
return this;
}
/**
- * Get bigDecimal
- * @return bigDecimal
+ * Get _bigDecimal
+ * @return _bigDecimal
*/
@javax.annotation.Nullable
public BigDecimal getBigDecimal() {
- return bigDecimal;
+ return _bigDecimal;
}
- public void setBigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public void setBigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
}
@@ -401,45 +401,45 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
- Objects.equals(this.bigDecimal, formatTest.bigDecimal);
+ Objects.equals(this._bigDecimal, formatTest._bigDecimal);
}
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, _bigDecimal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
- sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
+ sb.append(" _bigDecimal: ").append(toIndentedString(_bigDecimal)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 619caaf67a45..851f5d588ffb 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -58,81 +58,81 @@
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private UUID uuid;
+ private UUID _uuid;
public static final String SERIALIZED_NAME_DATE_TIME = "dateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String SERIALIZED_NAME_MAP = "map";
@SerializedName(SERIALIZED_NAME_MAP)
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
public Map getMap() {
- return map;
+ return _map;
}
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -146,23 +146,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FakeApi.md b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FakeApi.md
index 98f0b0098b8b..0d96b99298be 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FakeApi.md
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FakeApi.md
@@ -515,7 +515,7 @@ No authorization required
# **testEndpointParameters**
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -546,18 +546,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -577,14 +577,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FormatTest.md b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FormatTest.md
index 453c512d6107..4dc8d8b029cf 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FormatTest.md
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/FormatTest.md
@@ -7,20 +7,20 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
-|**bigDecimal** | **BigDecimal** | | [optional] |
+|**_bigDecimal** | **BigDecimal** | | [optional] |
## Implemented Interfaces
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index 67a556da124d..ca9423c420c4 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
## Implemented Interfaces
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/FakeApi.java
index c4f7380e9b8a..d9dd0f5bd864 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -1049,14 +1049,14 @@ public okhttp3.Call testClientModelAsync(Client body, final ApiCallback
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @param _callback Callback for upload/download progress
@@ -1069,7 +1069,7 @@ public okhttp3.Call testClientModelAsync(Client body, final ApiCallback
404 | User not found | - |
*/
- public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1094,8 +1094,8 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
- if (integer != null) {
- localVarFormParams.put("integer", integer);
+ if (_integer != null) {
+ localVarFormParams.put("integer", _integer);
}
if (int32 != null) {
@@ -1118,8 +1118,8 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
localVarFormParams.put("double", _double);
}
- if (string != null) {
- localVarFormParams.put("string", string);
+ if (_string != null) {
+ localVarFormParams.put("string", _string);
}
if (patternWithoutDelimiter != null) {
@@ -1134,12 +1134,12 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
localVarFormParams.put("binary", binary);
}
- if (date != null) {
- localVarFormParams.put("date", date);
+ if (_date != null) {
+ localVarFormParams.put("date", _date);
}
- if (dateTime != null) {
- localVarFormParams.put("dateTime", dateTime);
+ if (_dateTime != null) {
+ localVarFormParams.put("dateTime", _dateTime);
}
if (password != null) {
@@ -1170,7 +1170,7 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'number' is set
if (number == null) {
throw new ApiException("Missing the required parameter 'number' when calling testEndpointParameters(Async)");
@@ -1191,7 +1191,7 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
throw new ApiException("Missing the required parameter '_byte' when calling testEndpointParameters(Async)");
}
- return testEndpointParametersCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, _callback);
+ return testEndpointParametersCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, _callback);
}
@@ -1202,14 +1202,14 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1220,8 +1220,8 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
404 | User not found | - |
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -1231,14 +1231,14 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
@@ -1250,8 +1250,8 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
404 | User not found | - |
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, null);
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, null);
return localVarApiClient.execute(localVarCall);
}
@@ -1262,14 +1262,14 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
+ * @param _date None (optional)
+ * @param _dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @param _callback The callback to be executed when the API call finishes
@@ -1282,9 +1282,9 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
404 | User not found | - |
*/
- public okhttp3.Call testEndpointParametersAsync(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call testEndpointParametersAsync(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, _callback);
+ okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
return localVarCall;
}
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java
index a2039b14a9c2..fbedfbb3916e 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -60,7 +60,7 @@
public class FormatTest implements Parcelable {
public static final String SERIALIZED_NAME_INTEGER = "integer";
@SerializedName(SERIALIZED_NAME_INTEGER)
- private Integer integer;
+ private Integer _integer;
public static final String SERIALIZED_NAME_INT32 = "int32";
@SerializedName(SERIALIZED_NAME_INT32)
@@ -84,7 +84,7 @@ public class FormatTest implements Parcelable {
public static final String SERIALIZED_NAME_STRING = "string";
@SerializedName(SERIALIZED_NAME_STRING)
- private String string;
+ private String _string;
public static final String SERIALIZED_NAME_BYTE = "byte";
@SerializedName(SERIALIZED_NAME_BYTE)
@@ -96,15 +96,15 @@ public class FormatTest implements Parcelable {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
- private LocalDate date;
+ private LocalDate _date;
public static final String SERIALIZED_NAME_DATE_TIME = "dateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private UUID uuid;
+ private UUID _uuid;
public static final String SERIALIZED_NAME_PASSWORD = "password";
@SerializedName(SERIALIZED_NAME_PASSWORD)
@@ -112,29 +112,29 @@ public class FormatTest implements Parcelable {
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
- private BigDecimal bigDecimal;
+ private BigDecimal _bigDecimal;
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
public Integer getInteger() {
- return integer;
+ return _integer;
}
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -241,22 +241,22 @@ public void setDouble(Double _double) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
public String getString() {
- return string;
+ return _string;
}
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -298,60 +298,60 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
public LocalDate getDate() {
- return date;
+ return _date;
}
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -374,22 +374,22 @@ public void setPassword(String password) {
}
- public FormatTest bigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public FormatTest _bigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
return this;
}
/**
- * Get bigDecimal
- * @return bigDecimal
+ * Get _bigDecimal
+ * @return _bigDecimal
*/
@javax.annotation.Nullable
public BigDecimal getBigDecimal() {
- return bigDecimal;
+ return _bigDecimal;
}
- public void setBigDecimal(BigDecimal bigDecimal) {
- this.bigDecimal = bigDecimal;
+ public void setBigDecimal(BigDecimal _bigDecimal) {
+ this._bigDecimal = _bigDecimal;
}
@@ -403,45 +403,45 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.password, formatTest.password) &&
- Objects.equals(this.bigDecimal, formatTest.bigDecimal);
+ Objects.equals(this._bigDecimal, formatTest._bigDecimal);
}
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, password, _bigDecimal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" password: ").append("*").append("\n");
- sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
+ sb.append(" _bigDecimal: ").append(toIndentedString(_bigDecimal)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -459,37 +459,37 @@ private String toIndentedString(Object o) {
public void writeToParcel(Parcel out, int flags) {
- out.writeValue(integer);
+ out.writeValue(_integer);
out.writeValue(int32);
out.writeValue(int64);
out.writeValue(number);
out.writeValue(_float);
out.writeValue(_double);
- out.writeValue(string);
+ out.writeValue(_string);
out.writeValue(_byte);
out.writeValue(binary);
- out.writeValue(date);
- out.writeValue(dateTime);
- out.writeValue(uuid);
+ out.writeValue(_date);
+ out.writeValue(_dateTime);
+ out.writeValue(_uuid);
out.writeValue(password);
- out.writeValue(bigDecimal);
+ out.writeValue(_bigDecimal);
}
FormatTest(Parcel in) {
- integer = (Integer)in.readValue(null);
+ _integer = (Integer)in.readValue(null);
int32 = (Integer)in.readValue(null);
int64 = (Long)in.readValue(null);
number = (BigDecimal)in.readValue(BigDecimal.class.getClassLoader());
_float = (Float)in.readValue(null);
_double = (Double)in.readValue(null);
- string = (String)in.readValue(null);
+ _string = (String)in.readValue(null);
_byte = (byte[])in.readValue(null);
binary = (File)in.readValue(File.class.getClassLoader());
- date = (LocalDate)in.readValue(LocalDate.class.getClassLoader());
- dateTime = (OffsetDateTime)in.readValue(OffsetDateTime.class.getClassLoader());
- uuid = (UUID)in.readValue(UUID.class.getClassLoader());
+ _date = (LocalDate)in.readValue(LocalDate.class.getClassLoader());
+ _dateTime = (OffsetDateTime)in.readValue(OffsetDateTime.class.getClassLoader());
+ _uuid = (UUID)in.readValue(UUID.class.getClassLoader());
password = (String)in.readValue(null);
- bigDecimal = (BigDecimal)in.readValue(BigDecimal.class.getClassLoader());
+ _bigDecimal = (BigDecimal)in.readValue(BigDecimal.class.getClassLoader());
}
public int describeContents() {
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 46e27fa87758..ba5123d4f594 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -60,81 +60,81 @@
public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable {
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private UUID uuid;
+ private UUID _uuid;
public static final String SERIALIZED_NAME_DATE_TIME = "dateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String SERIALIZED_NAME_MAP = "map";
@SerializedName(SERIALIZED_NAME_MAP)
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
public Map getMap() {
- return map;
+ return _map;
}
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
@@ -148,23 +148,23 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map);
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map);
+ return Objects.hash(_uuid, _dateTime, _map);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -182,15 +182,15 @@ private String toIndentedString(Object o) {
public void writeToParcel(Parcel out, int flags) {
- out.writeValue(uuid);
- out.writeValue(dateTime);
- out.writeValue(map);
+ out.writeValue(_uuid);
+ out.writeValue(_dateTime);
+ out.writeValue(_map);
}
MixedPropertiesAndAdditionalPropertiesClass(Parcel in) {
- uuid = (UUID)in.readValue(UUID.class.getClassLoader());
- dateTime = (OffsetDateTime)in.readValue(OffsetDateTime.class.getClassLoader());
- map = (Map)in.readValue(Animal.class.getClassLoader());
+ _uuid = (UUID)in.readValue(UUID.class.getClassLoader());
+ _dateTime = (OffsetDateTime)in.readValue(OffsetDateTime.class.getClassLoader());
+ _map = (Map)in.readValue(Animal.class.getClassLoader());
}
public int describeContents() {
diff --git a/samples/client/petstore/java/okhttp-gson/docs/AnotherFakeApi.md b/samples/client/petstore/java/okhttp-gson/docs/AnotherFakeApi.md
index d21e29ab0926..327530243b58 100644
--- a/samples/client/petstore/java/okhttp-gson/docs/AnotherFakeApi.md
+++ b/samples/client/petstore/java/okhttp-gson/docs/AnotherFakeApi.md
@@ -74,7 +74,7 @@ No authorization required
# **getParameterArrayNumber**
-> getParameterArrayNumber(array)
+> getParameterArrayNumber(_array)
parameter array number default value
@@ -93,9 +93,9 @@ public class Example {
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
- List array = Arrays.asList(); // List | array integer
+ List _array = Arrays.asList(); // List | array integer
try {
- apiInstance.getParameterArrayNumber(array);
+ apiInstance.getParameterArrayNumber(_array);
} catch (ApiException e) {
System.err.println("Exception when calling AnotherFakeApi#getParameterArrayNumber");
System.err.println("Status code: " + e.getCode());
@@ -111,7 +111,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
-| **array** | [**List<Integer>**](Integer.md)| array integer | |
+| **_array** | [**List<Integer>**](Integer.md)| array integer | |
### Return type
diff --git a/samples/client/petstore/java/okhttp-gson/docs/FakeApi.md b/samples/client/petstore/java/okhttp-gson/docs/FakeApi.md
index 18f99688c925..2bbe222a1049 100644
--- a/samples/client/petstore/java/okhttp-gson/docs/FakeApi.md
+++ b/samples/client/petstore/java/okhttp-gson/docs/FakeApi.md
@@ -826,7 +826,7 @@ No authorization required
# **testEndpointParameters**
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -857,18 +857,18 @@ public class Example {
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
- Integer integer = 56; // Integer | None
+ Integer _integer = 56; // Integer | None
Integer int32 = 56; // Integer | None
Long int64 = 56L; // Long | None
Float _float = 3.4F; // Float | None
- String string = "string_example"; // String | None
+ String _string = "_string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
- LocalDate date = LocalDate.now(); // LocalDate | None
- OffsetDateTime dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
+ LocalDate _date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime _dateTime = OffsetDateTime.parse("2010-02-01T10:20:10.111110+01:00"); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {
- apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testEndpointParameters");
System.err.println("Status code: " + e.getCode());
@@ -888,14 +888,14 @@ public class Example {
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] [default to 2010-02-01T10:20:10.111110+01:00] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/okhttp-gson/docs/FooGetDefaultResponse.md
index ff3d7a3a56c3..7fcb7b5e5427 100644
--- a/samples/client/petstore/java/okhttp-gson/docs/FooGetDefaultResponse.md
+++ b/samples/client/petstore/java/okhttp-gson/docs/FooGetDefaultResponse.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**string** | [**Foo**](Foo.md) | | [optional] |
+|**_string** | [**Foo**](Foo.md) | | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson/docs/FormatTest.md b/samples/client/petstore/java/okhttp-gson/docs/FormatTest.md
index 71790022c16d..19a7adb36882 100644
--- a/samples/client/petstore/java/okhttp-gson/docs/FormatTest.md
+++ b/samples/client/petstore/java/okhttp-gson/docs/FormatTest.md
@@ -7,19 +7,19 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
|**decimal** | **BigDecimal** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**uuidWithDefault** | **UUID** | | [optional] |
|**password** | **String** | | |
|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/okhttp-gson/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/okhttp-gson/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/okhttp-gson/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/okhttp-gson/docs/ObjectWithDeprecatedFields.md
index f1cf571f4c09..803ee7845f7a 100644
--- a/samples/client/petstore/java/okhttp-gson/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/java/okhttp-gson/docs/ObjectWithDeprecatedFields.md
@@ -7,7 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **String** | | [optional] |
+|**_uuid** | **String** | | [optional] |
|**id** | **BigDecimal** | | [optional] |
|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
|**bars** | **List<String>** | | [optional] |
diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
index a58d4bf127b5..9a1003aae51f 100644
--- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
+++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
@@ -198,7 +198,7 @@ public okhttp3.Call call123testSpecialTagsAsync(Client client, final ApiCallback
}
/**
* Build call for getParameterArrayNumber
- * @param array array integer (required)
+ * @param _array array integer (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -208,7 +208,7 @@ public okhttp3.Call call123testSpecialTagsAsync(Client client, final ApiCallback
200 | OK | - |
*/
- public okhttp3.Call getParameterArrayNumberCall(List array, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getParameterArrayNumberCall(List _array, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -233,8 +233,8 @@ public okhttp3.Call getParameterArrayNumberCall(List array, final ApiCa
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
- if (array != null) {
- localVarHeaderParams.put("array", localVarApiClient.parameterToString(array));
+ if (_array != null) {
+ localVarHeaderParams.put("array", localVarApiClient.parameterToString(_array));
}
final String[] localVarAccepts = {
@@ -256,20 +256,20 @@ public okhttp3.Call getParameterArrayNumberCall(List array, final ApiCa
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getParameterArrayNumberValidateBeforeCall(List array, final ApiCallback _callback) throws ApiException {
- // verify the required parameter 'array' is set
- if (array == null) {
- throw new ApiException("Missing the required parameter 'array' when calling getParameterArrayNumber(Async)");
+ private okhttp3.Call getParameterArrayNumberValidateBeforeCall(List _array, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter '_array' is set
+ if (_array == null) {
+ throw new ApiException("Missing the required parameter '_array' when calling getParameterArrayNumber(Async)");
}
- return getParameterArrayNumberCall(array, _callback);
+ return getParameterArrayNumberCall(_array, _callback);
}
/**
* parameter array number default value
*
- * @param array array integer (required)
+ * @param _array array integer (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -277,14 +277,14 @@ private okhttp3.Call getParameterArrayNumberValidateBeforeCall(List arr
200 | OK | - |
*/
- public void getParameterArrayNumber(List array) throws ApiException {
- getParameterArrayNumberWithHttpInfo(array);
+ public void getParameterArrayNumber(List _array) throws ApiException {
+ getParameterArrayNumberWithHttpInfo(_array);
}
/**
* parameter array number default value
*
- * @param array array integer (required)
+ * @param _array array integer (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -293,15 +293,15 @@ public void getParameterArrayNumber(List array) throws ApiException {
200 | OK | - |
*/
- public ApiResponse getParameterArrayNumberWithHttpInfo(List array) throws ApiException {
- okhttp3.Call localVarCall = getParameterArrayNumberValidateBeforeCall(array, null);
+ public ApiResponse getParameterArrayNumberWithHttpInfo(List _array) throws ApiException {
+ okhttp3.Call localVarCall = getParameterArrayNumberValidateBeforeCall(_array, null);
return localVarApiClient.execute(localVarCall);
}
/**
* parameter array number default value (asynchronously)
*
- * @param array array integer (required)
+ * @param _array array integer (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -311,9 +311,9 @@ public ApiResponse getParameterArrayNumberWithHttpInfo(List array
200 | OK | - |
*/
- public okhttp3.Call getParameterArrayNumberAsync(List array, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getParameterArrayNumberAsync(List _array, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getParameterArrayNumberValidateBeforeCall(array, _callback);
+ okhttp3.Call localVarCall = getParameterArrayNumberValidateBeforeCall(_array, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
return localVarCall;
}
diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/FakeApi.java
index 664a08c41d6f..aa9832db6e05 100644
--- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -1678,14 +1678,14 @@ public okhttp3.Call testClientModelAsync(Client client, final ApiCallback 404 | User not found | - |
*/
- public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1723,8 +1723,8 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
- if (integer != null) {
- localVarFormParams.put("integer", integer);
+ if (_integer != null) {
+ localVarFormParams.put("integer", _integer);
}
if (int32 != null) {
@@ -1747,8 +1747,8 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
localVarFormParams.put("double", _double);
}
- if (string != null) {
- localVarFormParams.put("string", string);
+ if (_string != null) {
+ localVarFormParams.put("string", _string);
}
if (patternWithoutDelimiter != null) {
@@ -1763,12 +1763,12 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
localVarFormParams.put("binary", binary);
}
- if (date != null) {
- localVarFormParams.put("date", date);
+ if (_date != null) {
+ localVarFormParams.put("date", _date);
}
- if (dateTime != null) {
- localVarFormParams.put("dateTime", dateTime);
+ if (_dateTime != null) {
+ localVarFormParams.put("dateTime", _dateTime);
}
if (password != null) {
@@ -1799,7 +1799,7 @@ public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'number' is set
if (number == null) {
throw new ApiException("Missing the required parameter 'number' when calling testEndpointParameters(Async)");
@@ -1820,7 +1820,7 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
throw new ApiException("Missing the required parameter '_byte' when calling testEndpointParameters(Async)");
}
- return testEndpointParametersCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, _callback);
+ return testEndpointParametersCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, _callback);
}
@@ -1831,14 +1831,14 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1849,8 +1849,8 @@ private okhttp3.Call testEndpointParametersValidateBeforeCall(BigDecimal number,
404 | User not found | - |
*/
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback);
}
/**
@@ -1860,14 +1860,14 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @return ApiResponse<Void>
@@ -1879,8 +1879,8 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
404 | User not found | - |
*/
- public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException {
- okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, null);
+ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback) throws ApiException {
+ okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, null);
return localVarApiClient.execute(localVarCall);
}
@@ -1891,14 +1891,14 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
- * @param integer None (optional)
+ * @param _integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
- * @param string None (optional)
+ * @param _string None (optional)
* @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
+ * @param _date None (optional)
+ * @param _dateTime None (optional, default to 2010-02-01T10:20:10.111110+01:00)
* @param password None (optional)
* @param paramCallback None (optional)
* @param _callback The callback to be executed when the API call finishes
@@ -1911,9 +1911,9 @@ public ApiResponse testEndpointParametersWithHttpInfo(BigDecimal number, D
404 | User not found | - |
*/
- public okhttp3.Call testEndpointParametersAsync(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call testEndpointParametersAsync(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer _integer, Integer int32, Long int64, Float _float, String _string, File binary, LocalDate _date, OffsetDateTime _dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, _callback);
+ okhttp3.Call localVarCall = testEndpointParametersValidateBeforeCall(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
return localVarCall;
}
diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
index 20e5032be7ce..25bb82bbf20f 100644
--- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
@@ -54,27 +54,27 @@
public class FooGetDefaultResponse {
public static final String SERIALIZED_NAME_STRING = "string";
@SerializedName(SERIALIZED_NAME_STRING)
- private Foo string;
+ private Foo _string;
public FooGetDefaultResponse() {
}
- public FooGetDefaultResponse string(Foo string) {
- this.string = string;
+ public FooGetDefaultResponse _string(Foo _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
public Foo getString() {
- return string;
+ return _string;
}
- public void setString(Foo string) {
- this.string = string;
+ public void setString(Foo _string) {
+ this._string = _string;
}
/**
@@ -132,20 +132,20 @@ public boolean equals(Object o) {
return false;
}
FooGetDefaultResponse fooGetDefaultResponse = (FooGetDefaultResponse) o;
- return Objects.equals(this.string, fooGetDefaultResponse.string)&&
+ return Objects.equals(this._string, fooGetDefaultResponse._string)&&
Objects.equals(this.additionalProperties, fooGetDefaultResponse.additionalProperties);
}
@Override
public int hashCode() {
- return Objects.hash(string, additionalProperties);
+ return Objects.hash(_string, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FooGetDefaultResponse {\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java
index ec4dad1f8d2e..966f818203ea 100644
--- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java
+++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java
@@ -58,7 +58,7 @@
public class FormatTest {
public static final String SERIALIZED_NAME_INTEGER = "integer";
@SerializedName(SERIALIZED_NAME_INTEGER)
- private Integer integer;
+ private Integer _integer;
public static final String SERIALIZED_NAME_INT32 = "int32";
@SerializedName(SERIALIZED_NAME_INT32)
@@ -86,7 +86,7 @@ public class FormatTest {
public static final String SERIALIZED_NAME_STRING = "string";
@SerializedName(SERIALIZED_NAME_STRING)
- private String string;
+ private String _string;
public static final String SERIALIZED_NAME_BYTE = "byte";
@SerializedName(SERIALIZED_NAME_BYTE)
@@ -98,15 +98,15 @@ public class FormatTest {
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
- private LocalDate date;
+ private LocalDate _date;
public static final String SERIALIZED_NAME_DATE_TIME = "dateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private UUID uuid;
+ private UUID _uuid;
public static final String SERIALIZED_NAME_UUID_WITH_DEFAULT = "uuid_with_default";
@SerializedName(SERIALIZED_NAME_UUID_WITH_DEFAULT)
@@ -127,24 +127,24 @@ public class FormatTest {
public FormatTest() {
}
- public FormatTest integer(Integer integer) {
- this.integer = integer;
+ public FormatTest _integer(Integer _integer) {
+ this._integer = _integer;
return this;
}
/**
- * Get integer
+ * Get _integer
* minimum: 10
* maximum: 100
- * @return integer
+ * @return _integer
*/
@javax.annotation.Nullable
public Integer getInteger() {
- return integer;
+ return _integer;
}
- public void setInteger(Integer integer) {
- this.integer = integer;
+ public void setInteger(Integer _integer) {
+ this._integer = _integer;
}
@@ -270,22 +270,22 @@ public void setDecimal(BigDecimal decimal) {
}
- public FormatTest string(String string) {
- this.string = string;
+ public FormatTest _string(String _string) {
+ this._string = _string;
return this;
}
/**
- * Get string
- * @return string
+ * Get _string
+ * @return _string
*/
@javax.annotation.Nullable
public String getString() {
- return string;
+ return _string;
}
- public void setString(String string) {
- this.string = string;
+ public void setString(String _string) {
+ this._string = _string;
}
@@ -327,60 +327,60 @@ public void setBinary(File binary) {
}
- public FormatTest date(LocalDate date) {
- this.date = date;
+ public FormatTest _date(LocalDate _date) {
+ this._date = _date;
return this;
}
/**
- * Get date
- * @return date
+ * Get _date
+ * @return _date
*/
@javax.annotation.Nonnull
public LocalDate getDate() {
- return date;
+ return _date;
}
- public void setDate(LocalDate date) {
- this.date = date;
+ public void setDate(LocalDate _date) {
+ this._date = _date;
}
- public FormatTest dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public FormatTest _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public FormatTest uuid(UUID uuid) {
- this.uuid = uuid;
+ public FormatTest _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
@@ -514,19 +514,19 @@ public boolean equals(Object o) {
return false;
}
FormatTest formatTest = (FormatTest) o;
- return Objects.equals(this.integer, formatTest.integer) &&
+ return Objects.equals(this._integer, formatTest._integer) &&
Objects.equals(this.int32, formatTest.int32) &&
Objects.equals(this.int64, formatTest.int64) &&
Objects.equals(this.number, formatTest.number) &&
Objects.equals(this._float, formatTest._float) &&
Objects.equals(this._double, formatTest._double) &&
Objects.equals(this.decimal, formatTest.decimal) &&
- Objects.equals(this.string, formatTest.string) &&
+ Objects.equals(this._string, formatTest._string) &&
Arrays.equals(this._byte, formatTest._byte) &&
Objects.equals(this.binary, formatTest.binary) &&
- Objects.equals(this.date, formatTest.date) &&
- Objects.equals(this.dateTime, formatTest.dateTime) &&
- Objects.equals(this.uuid, formatTest.uuid) &&
+ Objects.equals(this._date, formatTest._date) &&
+ Objects.equals(this._dateTime, formatTest._dateTime) &&
+ Objects.equals(this._uuid, formatTest._uuid) &&
Objects.equals(this.uuidWithDefault, formatTest.uuidWithDefault) &&
Objects.equals(this.password, formatTest.password) &&
Objects.equals(this.patternWithDigits, formatTest.patternWithDigits) &&
@@ -536,26 +536,26 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(integer, int32, int64, number, _float, _double, decimal, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, uuidWithDefault, password, patternWithDigits, patternWithDigitsAndDelimiter, additionalProperties);
+ return Objects.hash(_integer, int32, int64, number, _float, _double, decimal, _string, Arrays.hashCode(_byte), binary, _date, _dateTime, _uuid, uuidWithDefault, password, patternWithDigits, patternWithDigitsAndDelimiter, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormatTest {\n");
- sb.append(" integer: ").append(toIndentedString(integer)).append("\n");
+ sb.append(" _integer: ").append(toIndentedString(_integer)).append("\n");
sb.append(" int32: ").append(toIndentedString(int32)).append("\n");
sb.append(" int64: ").append(toIndentedString(int64)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" _float: ").append(toIndentedString(_float)).append("\n");
sb.append(" _double: ").append(toIndentedString(_double)).append("\n");
sb.append(" decimal: ").append(toIndentedString(decimal)).append("\n");
- sb.append(" string: ").append(toIndentedString(string)).append("\n");
+ sb.append(" _string: ").append(toIndentedString(_string)).append("\n");
sb.append(" _byte: ").append(toIndentedString(_byte)).append("\n");
sb.append(" binary: ").append(toIndentedString(binary)).append("\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _date: ").append(toIndentedString(_date)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" uuidWithDefault: ").append(toIndentedString(uuidWithDefault)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" patternWithDigits: ").append(toIndentedString(patternWithDigits)).append("\n");
diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
index 493fe4c09899..729276dd68b3 100644
--- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
@@ -58,81 +58,81 @@
public class MixedPropertiesAndAdditionalPropertiesClass {
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private UUID uuid;
+ private UUID _uuid;
public static final String SERIALIZED_NAME_DATE_TIME = "dateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
- private OffsetDateTime dateTime;
+ private OffsetDateTime _dateTime;
public static final String SERIALIZED_NAME_MAP = "map";
@SerializedName(SERIALIZED_NAME_MAP)
- private Map map = new HashMap<>();
+ private Map _map = new HashMap<>();
public MixedPropertiesAndAdditionalPropertiesClass() {
}
- public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
- this.uuid = uuid;
+ public MixedPropertiesAndAdditionalPropertiesClass _uuid(UUID _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public UUID getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
+ public void setUuid(UUID _uuid) {
+ this._uuid = _uuid;
}
- public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public MixedPropertiesAndAdditionalPropertiesClass _dateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
return this;
}
/**
- * Get dateTime
- * @return dateTime
+ * Get _dateTime
+ * @return _dateTime
*/
@javax.annotation.Nullable
public OffsetDateTime getDateTime() {
- return dateTime;
+ return _dateTime;
}
- public void setDateTime(OffsetDateTime dateTime) {
- this.dateTime = dateTime;
+ public void setDateTime(OffsetDateTime _dateTime) {
+ this._dateTime = _dateTime;
}
- public MixedPropertiesAndAdditionalPropertiesClass map(Map map) {
- this.map = map;
+ public MixedPropertiesAndAdditionalPropertiesClass _map(Map _map) {
+ this._map = _map;
return this;
}
- public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
- if (this.map == null) {
- this.map = new HashMap<>();
+ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal _mapItem) {
+ if (this._map == null) {
+ this._map = new HashMap<>();
}
- this.map.put(key, mapItem);
+ this._map.put(key, _mapItem);
return this;
}
/**
- * Get map
- * @return map
+ * Get _map
+ * @return _map
*/
@javax.annotation.Nullable
public Map getMap() {
- return map;
+ return _map;
}
- public void setMap(Map map) {
- this.map = map;
+ public void setMap(Map _map) {
+ this._map = _map;
}
/**
@@ -190,24 +190,24 @@ public boolean equals(Object o) {
return false;
}
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
- return Objects.equals(this.uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
- Objects.equals(this.dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
- Objects.equals(this.map, mixedPropertiesAndAdditionalPropertiesClass.map)&&
+ return Objects.equals(this._uuid, mixedPropertiesAndAdditionalPropertiesClass._uuid) &&
+ Objects.equals(this._dateTime, mixedPropertiesAndAdditionalPropertiesClass._dateTime) &&
+ Objects.equals(this._map, mixedPropertiesAndAdditionalPropertiesClass._map)&&
Objects.equals(this.additionalProperties, mixedPropertiesAndAdditionalPropertiesClass.additionalProperties);
}
@Override
public int hashCode() {
- return Objects.hash(uuid, dateTime, map, additionalProperties);
+ return Objects.hash(_uuid, _dateTime, _map, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MixedPropertiesAndAdditionalPropertiesClass {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
- sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
- sb.append(" map: ").append(toIndentedString(map)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
+ sb.append(" _dateTime: ").append(toIndentedString(_dateTime)).append("\n");
+ sb.append(" _map: ").append(toIndentedString(_map)).append("\n");
sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
index 46f891173650..61c2dfe2cac0 100644
--- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
@@ -57,7 +57,7 @@
public class ObjectWithDeprecatedFields {
public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID)
- private String uuid;
+ private String _uuid;
public static final String SERIALIZED_NAME_ID = "id";
@Deprecated
@@ -77,22 +77,22 @@ public class ObjectWithDeprecatedFields {
public ObjectWithDeprecatedFields() {
}
- public ObjectWithDeprecatedFields uuid(String uuid) {
- this.uuid = uuid;
+ public ObjectWithDeprecatedFields _uuid(String _uuid) {
+ this._uuid = _uuid;
return this;
}
/**
- * Get uuid
- * @return uuid
+ * Get _uuid
+ * @return _uuid
*/
@javax.annotation.Nullable
public String getUuid() {
- return uuid;
+ return _uuid;
}
- public void setUuid(String uuid) {
- this.uuid = uuid;
+ public void setUuid(String _uuid) {
+ this._uuid = _uuid;
}
@@ -227,7 +227,7 @@ public boolean equals(Object o) {
return false;
}
ObjectWithDeprecatedFields objectWithDeprecatedFields = (ObjectWithDeprecatedFields) o;
- return Objects.equals(this.uuid, objectWithDeprecatedFields.uuid) &&
+ return Objects.equals(this._uuid, objectWithDeprecatedFields._uuid) &&
Objects.equals(this.id, objectWithDeprecatedFields.id) &&
Objects.equals(this.deprecatedRef, objectWithDeprecatedFields.deprecatedRef) &&
Objects.equals(this.bars, objectWithDeprecatedFields.bars)&&
@@ -236,14 +236,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(uuid, id, deprecatedRef, bars, additionalProperties);
+ return Objects.hash(_uuid, id, deprecatedRef, bars, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObjectWithDeprecatedFields {\n");
- sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
+ sb.append(" _uuid: ").append(toIndentedString(_uuid)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" deprecatedRef: ").append(toIndentedString(deprecatedRef)).append("\n");
sb.append(" bars: ").append(toIndentedString(bars)).append("\n");
diff --git a/samples/client/petstore/java/rest-assured-jackson/docs/FakeApi.md b/samples/client/petstore/java/rest-assured-jackson/docs/FakeApi.md
index 969883dc5140..388bb5bb6809 100644
--- a/samples/client/petstore/java/rest-assured-jackson/docs/FakeApi.md
+++ b/samples/client/petstore/java/rest-assured-jackson/docs/FakeApi.md
@@ -354,7 +354,7 @@ No authorization required
# **testEndpointParameters**
-> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
+> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, _integer, int32, int64, _float, _string, binary, _date, _dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -386,14 +386,14 @@ api.testEndpointParameters()
| **_double** | **Double**| None | |
| **patternWithoutDelimiter** | **String**| None | |
| **_byte** | **byte[]**| None | |
-| **integer** | **Integer**| None | [optional] |
+| **_integer** | **Integer**| None | [optional] |
| **int32** | **Integer**| None | [optional] |
| **int64** | **Long**| None | [optional] |
| **_float** | **Float**| None | [optional] |
-| **string** | **String**| None | [optional] |
+| **_string** | **String**| None | [optional] |
| **binary** | **File**| None | [optional] |
-| **date** | **LocalDate**| None | [optional] |
-| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **_date** | **LocalDate**| None | [optional] |
+| **_dateTime** | **OffsetDateTime**| None | [optional] |
| **password** | **String**| None | [optional] |
| **paramCallback** | **String**| None | [optional] |
diff --git a/samples/client/petstore/java/rest-assured-jackson/docs/FormatTest.md b/samples/client/petstore/java/rest-assured-jackson/docs/FormatTest.md
index 9c68c3080e13..7e401945c3bc 100644
--- a/samples/client/petstore/java/rest-assured-jackson/docs/FormatTest.md
+++ b/samples/client/petstore/java/rest-assured-jackson/docs/FormatTest.md
@@ -7,20 +7,20 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**integer** | **Integer** | | [optional] |
+|**_integer** | **Integer** | | [optional] |
|**int32** | **Integer** | | [optional] |
|**int64** | **Long** | | [optional] |
|**number** | **BigDecimal** | | |
|**_float** | **Float** | | [optional] |
|**_double** | **Double** | | [optional] |
-|**string** | **String** | | [optional] |
+|**_string** | **String** | | [optional] |
|**_byte** | **byte[]** | | |
|**binary** | **File** | | [optional] |
-|**date** | **LocalDate** | | |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**uuid** | **UUID** | | [optional] |
+|**_date** | **LocalDate** | | |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
|**password** | **String** | | |
-|**bigDecimal** | **BigDecimal** | | [optional] |
+|**_bigDecimal** | **BigDecimal** | | [optional] |
diff --git a/samples/client/petstore/java/rest-assured-jackson/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/rest-assured-jackson/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index a5ddf0faa6a9..66aea39f7c68 100644
--- a/samples/client/petstore/java/rest-assured-jackson/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/java/rest-assured-jackson/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -7,9 +7,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**uuid** | **UUID** | | [optional] |
-|**dateTime** | **OffsetDateTime** | | [optional] |
-|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+|**_uuid** | **UUID** | | [optional] |
+|**_dateTime** | **OffsetDateTime** | | [optional] |
+|**_map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/FakeApi.java
index 0d263b24a10a..e0b75556fee3 100644
--- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -713,14 +713,14 @@ public TestClientModelOper respSpec(Consumer respSpecCustom
* @see #_doubleForm None (required)
* @see #patternWithoutDelimiterForm None (required)
* @see #_byteForm None (required)
- * @see #integerForm None (optional)
+ * @see #_integerForm None (optional)
* @see #int32Form None (optional)
* @see #int64Form None (optional)
* @see #_floatForm None (optional)
- * @see #stringForm None (optional)
+ * @see #_stringForm None (optional)
* @see #binaryMultiPart None (optional)
- * @see #dateForm None (optional)
- * @see #dateTimeForm None (optional)
+ * @see #_dateForm None (optional)
+ * @see #_dateTimeForm None (optional)
* @see #passwordForm None (optional)
* @see #paramCallbackForm None (optional)
*/
@@ -750,14 +750,14 @@ public