Skip to content

Commit fc9097e

Browse files
committed
fix: compilation
1 parent e92f31e commit fc9097e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/kotlin/org/jaqpot/api/mapper/FeatureTypeMapper.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ fun FeatureTypeDto.toEntity(): FeatureType {
1414
FeatureTypeDto.FLOAT_ARRAY -> FeatureType.FLOAT_ARRAY
1515
FeatureTypeDto.STRING_ARRAY -> FeatureType.STRING_ARRAY
1616
FeatureTypeDto.BOOLEAN -> FeatureType.BOOLEAN
17+
FeatureTypeDto.IMAGE -> FeatureType.IMAGE
1718
}
1819
}
1920

@@ -28,6 +29,7 @@ fun FeatureType.toDto(): FeatureTypeDto {
2829
FeatureType.FLOAT_ARRAY -> FeatureTypeDto.FLOAT_ARRAY
2930
FeatureType.STRING_ARRAY -> FeatureTypeDto.STRING_ARRAY
3031
FeatureType.BOOLEAN -> FeatureTypeDto.BOOLEAN
32+
FeatureType.IMAGE -> FeatureTypeDto.IMAGE
3133
}
3234
}
3335

src/main/resources/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,6 +2214,7 @@ components:
22142214
- BOOLEAN
22152215
- FLOAT_ARRAY
22162216
- STRING_ARRAY
2217+
- IMAGE
22172218
example: FLOAT
22182219
DatasetType:
22192220
type: string

0 commit comments

Comments
 (0)