forked from loafle/openapi-generator-original
[java-server] Fix improper quoting of default values for query parameters (#708)
This commit is contained in:
committed by
Jérémie Bresson
parent
fcfd8ea76e
commit
ca0c35aa15
@@ -1 +1 @@
|
||||
3.0.0-SNAPSHOT
|
||||
3.2.0-SNAPSHOT
|
||||
@@ -99,7 +99,7 @@ public class Order {
|
||||
|
||||
|
||||
@JsonProperty("complete")
|
||||
public Boolean isComplete() {
|
||||
public Boolean getComplete() {
|
||||
return complete;
|
||||
}
|
||||
public void setComplete(Boolean complete) {
|
||||
|
||||
@@ -112,13 +112,14 @@
|
||||
"in" : "query",
|
||||
"description" : "Status values that need to be considered for filter",
|
||||
"required" : true,
|
||||
"style" : "form",
|
||||
"explode" : false,
|
||||
"schema" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"default" : "available",
|
||||
"enum" : [ "available", "pending", "sold" ]
|
||||
"enum" : [ "available", "pending", "sold" ],
|
||||
"default" : "available"
|
||||
}
|
||||
}
|
||||
} ],
|
||||
@@ -168,6 +169,7 @@
|
||||
"in" : "query",
|
||||
"description" : "Tags to filter by",
|
||||
"required" : true,
|
||||
"style" : "form",
|
||||
"explode" : false,
|
||||
"schema" : {
|
||||
"type" : "array",
|
||||
|
||||
Reference in New Issue
Block a user