Skip to content

Commit 3ecf597

Browse files
committed
Merge branch '864-field-optionality' into 2.x
2 parents 8bf0a1f + 51181b8 commit 3ecf597

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/serviceplans/_Parameters.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
2020
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21+
import org.cloudfoundry.Nullable;
2122
import org.immutables.value.Value;
2223

2324
import java.util.Map;
@@ -33,18 +34,21 @@ abstract class _Parameters {
3334
* The JSON schema
3435
*/
3536
@JsonProperty("$schema")
37+
@Nullable
3638
abstract String getJsonSchema();
3739

3840
/**
3941
* The parameter type
4042
*/
4143
@JsonProperty("type")
44+
@Nullable
4245
abstract String getType();
4346

4447
/**
4548
* The parameter properties
4649
*/
4750
@JsonProperty("properties")
51+
@Nullable
4852
abstract Map<String, Object> getProperties();
4953

5054
}

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/serviceplans/_Schema.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
2020
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21+
import org.cloudfoundry.Nullable;
2122
import org.immutables.value.Value;
2223

2324
/**
@@ -31,6 +32,7 @@ abstract class _Schema {
3132
* The schema parameters
3233
*/
3334
@JsonProperty("parameters")
35+
@Nullable
3436
abstract Parameters getParameters();
3537

3638
}

0 commit comments

Comments
 (0)