Skip to content

Fixed couple of tests and bumped swagger-core version #3038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<central-publishing-maven-plugin.version>0.7.0
</central-publishing-maven-plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<swagger-api.version>2.2.30</swagger-api.version>
<swagger-api.version>2.2.34</swagger-api.version>
<swagger-ui.version>5.21.0</swagger-ui.version>
<gmavenplus-plugin.version>1.13.1</gmavenplus-plugin.version>
<jjwt.version>0.9.1</jjwt.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,11 @@ public Class<?> contains() {
return parameterSchema.$dynamicAnchor();
}

@Override
public String $dynamicRef() {
return "";
}

@Override
public String contentEncoding() {
return parameterSchema.contentEncoding();
Expand Down Expand Up @@ -836,6 +841,11 @@ public Class<?> contains() {
return schema.$dynamicAnchor();
}

@Override
public String $dynamicRef() {
return schema.$dynamicRef();
}

@Override
public String contentEncoding() {
return schema.contentEncoding();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ public class Builder {
*/
private String $dynamicAnchor = "";

/**
* The Dynamic ref
*/
private String $dynamicRef = "";

/**
* The Content encoding.
*/
Expand Down Expand Up @@ -1149,6 +1154,11 @@ public Class<?> contains() {
return $dynamicAnchor;
}

@Override
public String $dynamicRef() {
return $dynamicRef;
}

@Override
public String contentEncoding() {
return contentEncoding;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
"type": "string"
},
"email1": {
"type": "string"
"type": "string",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@
"type": "string"
},
"email1": {
"type": "string"
"type": "string",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
"type": "string"
},
"email1": {
"type": "string"
"type": "string",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
"type": "string"
},
"email1": {
"type": "string"
"type": "string",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@
"type": "string"
},
"email1": {
"type": "string"
"type": "string",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
"type": "string"
},
"email1": {
"type": "string"
"type": "string",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@
},
"email1": {
"type": "string",
"description": "The Email 1."
"description": "The Email 1.",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
},
"email1": {
"type": "string",
"description": "The Email 1."
"description": "The Email 1.",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@
},
"email1": {
"type": "string",
"description": "The Email 1."
"description": "The Email 1.",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@
},
"email1": {
"type": "string",
"description": "The Email 1."
"description": "The Email 1.",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
},
"email1": {
"type": "string",
"description": "The Email 1."
"description": "The Email 1.",
"format": "email"
},
"age": {
"maximum": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@
},
"email1": {
"type": "string",
"description": "The Email 1."
"description": "The Email 1.",
"format": "email"
},
"age": {
"maximum": 30,
Expand All @@ -307,4 +308,4 @@
}
}
}
}
}