Skip to content

Commit 279c6ad

Browse files
committed
fix OpenAPI 3.1 exclusiveMinimum/exclusiveMaximum result type (#114)
1 parent 85b73ca commit 279c6ad

File tree

1 file changed

+1
-1
lines changed
  • openapi-parser/src/main/java/io/openapiparser/model/v31

1 file changed

+1
-1
lines changed

openapi-parser/src/main/java/io/openapiparser/model/v31/Schema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public Collection<String> getType () {
254254
*
255255
* @return exclusive minimum or null if missing
256256
*/
257-
public Number getExclusiveMinimum () {
257+
public @Nullable Number getExclusiveMinimum () {
258258
return getNumberOrNull (EXCLUSIVE_MINIMUM);
259259
}
260260

0 commit comments

Comments
 (0)