Skip to content

Commit d75650d

Browse files
authored
Adding missing getters to ResourceSchema (#2486)
1 parent 1fdb522 commit d75650d

File tree

1 file changed

+8
-0
lines changed
  • smithy-aws-cloudformation/src/main/java/software/amazon/smithy/aws/cloudformation/schema/model

1 file changed

+8
-0
lines changed

smithy-aws-cloudformation/src/main/java/software/amazon/smithy/aws/cloudformation/schema/model/ResourceSchema.java

+8
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ public Map<String, Property> getProperties() {
199199
return properties;
200200
}
201201

202+
public Set<String> getRequired() {
203+
return required;
204+
}
205+
202206
public Set<String> getReadOnlyProperties() {
203207
return readOnlyProperties;
204208
}
@@ -235,6 +239,10 @@ public Tagging getTagging() {
235239
return tagging;
236240
}
237241

242+
public Schema getAdditionalProperties() {
243+
return additionalProperties;
244+
}
245+
238246
public static final class Builder implements SmithyBuilder<ResourceSchema> {
239247
private String typeName;
240248
private String description;

0 commit comments

Comments
 (0)