diff --git a/services/src/main/java/org/fao/geonet/api/records/model/Direction.java b/services/src/main/java/org/fao/geonet/api/records/model/Direction.java index 5434beeb525..5fe3746c9e0 100644 --- a/services/src/main/java/org/fao/geonet/api/records/model/Direction.java +++ b/services/src/main/java/org/fao/geonet/api/records/model/Direction.java @@ -22,6 +22,9 @@ */ package org.fao.geonet.api.records.model; +import io.swagger.v3.oas.annotations.media.Schema; + +@Schema(enumAsRef = true) public enum Direction { up, down }