Skip to content

Commit 0e65bbd

Browse files
committed
fix compile errors
1 parent 17a4917 commit 0e65bbd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -832,12 +832,12 @@ private void addSubclassOperations() {
832832
Map<String, Property> properties = definition.getProperties();
833833

834834
// 2. merge subclass properties into definition
835-
for (Map.Entry<String, Property> prop : resourceHandler.getGETModel(Representation.FULL).getProperties()
836-
.entrySet()) {
837-
if (properties.get(prop.getKey()) == null) {
838-
properties.put(prop.getKey(), prop.getValue());
839-
}
840-
}
835+
// for (Map.Entry<String, Property> prop : resourceHandler.getGETModel(Representation.FULL).getProperties()
836+
// .entrySet()) {
837+
// if (properties.get(prop.getKey()) == null) {
838+
// properties.put(prop.getKey(), prop.getValue());
839+
// }
840+
// }
841841

842842
// 3. update description
843843
post.setDescription("Certain properties may be required depending on type");

0 commit comments

Comments
 (0)