라벨링 툴 API 설명 수정

This commit is contained in:
2026-01-14 09:59:46 +09:00
parent b918ad14c4
commit 5120793933
2 changed files with 186 additions and 187 deletions

View File

@@ -157,7 +157,7 @@ public class TrainingDataLabelApiController {
return ApiResponseDto.ok(trainingDataLabelService.getDetail(assignmentUid)); return ApiResponseDto.ok(trainingDataLabelService.getDetail(assignmentUid));
} }
@Operation(summary = "라벨러 기본 page number 제공", description = "라벨러 기본 page number 제공") @Operation(summary = "라벨러 목록 기본정보제공", description = "라벨러 목록 기본정보제공")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse( @ApiResponse(
@@ -213,109 +213,108 @@ public class TrainingDataLabelApiController {
name = "1개 polygon 저장", name = "1개 polygon 저장",
value = value =
""" """
{ {
"assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02", "assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02",
"analUid": 53, "analUid": 53,
"mapSheetNum": "35905086", "mapSheetNum": "35905086",
"compareYyyy": 2023, "compareYyyy": 2023,
"targetYyyy": 2024, "targetYyyy": 2024,
"features": [ "features": [
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.663, 34.588], [126.663, 34.588],
[126.662, 34.587], [126.662, 34.587],
[126.664, 34.589], [126.664, 34.589],
[126.663, 34.588] [126.663, 34.588]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "WASTE", "beforeClass": "WASTE",
"afterClass": "LAND" "afterClass": "LAND"
} }
} }
] ]
} }
"""), """),
@io.swagger.v3.oas.annotations.media.ExampleObject( @io.swagger.v3.oas.annotations.media.ExampleObject(
name = "3개 polygon 저장", name = "3개 polygon 저장",
value = value =
""" """
{ {
"assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02", "assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02",
"analUid": 53, "analUid": 53,
"mapSheetNum": "35905086", "mapSheetNum": "35905086",
"compareYyyy": 2023, "compareYyyy": 2023,
"targetYyyy": 2024, "targetYyyy": 2024,
"features": [ "features": [
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.663, 34.588], [126.663, 34.588],
[126.662, 34.587], [126.662, 34.587],
[126.664, 34.589], [126.664, 34.589],
[126.663, 34.588] [126.663, 34.588]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "WASTE", "beforeClass": "WASTE",
"afterClass": "LAND" "afterClass": "LAND"
} }
}, },
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.665, 34.590], [126.665, 34.590],
[126.664, 34.589], [126.664, 34.589],
[126.666, 34.591], [126.666, 34.591],
[126.665, 34.590] [126.665, 34.590]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "FOREST", "beforeClass": "FOREST",
"afterClass": "BUILDING" "afterClass": "BUILDING"
} }
}, },
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.667, 34.592], [126.667, 34.592],
[126.666, 34.591], [126.666, 34.591],
[126.668, 34.593], [126.668, 34.593],
[126.667, 34.592] [126.667, 34.592]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "FARMLAND", "beforeClass": "FARMLAND",
"afterClass": "SOLAR_PANEL" "afterClass": "SOLAR_PANEL"
} }
} }
] ]
} }
""") """)
})) }))
@RequestBody @RequestBody
TrainingDataLabelDto.NewPolygonRequest request) { TrainingDataLabelDto.NewPolygonRequest request) {
return ApiResponseDto.okObject(trainingDataLabelService.saveNewPolygon(request)); return ApiResponseDto.okObject(trainingDataLabelService.saveNewPolygon(request));
} }
@Operation(summary = "COG 이미지 URL 조회", description = "변화 전/후 COG 이미지 URL을 함께 조회합니다") @Operation(summary = "COG 이미지 URL 조회", description = "변화 전/후 COG 이미지 URL을 함께 조회합니다")
@ApiResponses( @ApiResponses(
value = { value = {

View File

@@ -157,7 +157,7 @@ public class TrainingDataReviewApiController {
return ApiResponseDto.ok(trainingDataReviewService.getDetail(operatorUid)); return ApiResponseDto.ok(trainingDataReviewService.getDetail(operatorUid));
} }
@Operation(summary = "검수자 기본 page number 제공", description = "검수자 기본 page number 제공") @Operation(summary = "검수자 목록 기본정보제공", description = "검수자 목록 기본정보제공")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse( @ApiResponse(
@@ -213,102 +213,102 @@ public class TrainingDataReviewApiController {
name = "1개 polygon 저장", name = "1개 polygon 저장",
value = value =
""" """
{ {
"operatorUid": "93c56be8-0246-4b22-b976-2476549733cc", "operatorUid": "93c56be8-0246-4b22-b976-2476549733cc",
"analUid": 53, "analUid": 53,
"mapSheetNum": "35905086", "mapSheetNum": "35905086",
"compareYyyy": 2023, "compareYyyy": 2023,
"targetYyyy": 2024, "targetYyyy": 2024,
"features": [ "features": [
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.663, 34.588], [126.663, 34.588],
[126.662, 34.587], [126.662, 34.587],
[126.664, 34.589], [126.664, 34.589],
[126.663, 34.588] [126.663, 34.588]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "WASTE", "beforeClass": "WASTE",
"afterClass": "LAND" "afterClass": "LAND"
} }
} }
] ]
} }
"""), """),
@io.swagger.v3.oas.annotations.media.ExampleObject( @io.swagger.v3.oas.annotations.media.ExampleObject(
name = "3개 polygon 저장", name = "3개 polygon 저장",
value = value =
""" """
{ {
"operatorUid": "93c56be8-0246-4b22-b976-2476549733cc", "operatorUid": "93c56be8-0246-4b22-b976-2476549733cc",
"analUid": 53, "analUid": 53,
"mapSheetNum": "35905086", "mapSheetNum": "35905086",
"compareYyyy": 2023, "compareYyyy": 2023,
"targetYyyy": 2024, "targetYyyy": 2024,
"features": [ "features": [
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.663, 34.588], [126.663, 34.588],
[126.662, 34.587], [126.662, 34.587],
[126.664, 34.589], [126.664, 34.589],
[126.663, 34.588] [126.663, 34.588]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "WASTE", "beforeClass": "WASTE",
"afterClass": "LAND" "afterClass": "LAND"
} }
}, },
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.665, 34.590], [126.665, 34.590],
[126.664, 34.589], [126.664, 34.589],
[126.666, 34.591], [126.666, 34.591],
[126.665, 34.590] [126.665, 34.590]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "FOREST", "beforeClass": "FOREST",
"afterClass": "BUILDING" "afterClass": "BUILDING"
} }
}, },
{ {
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[126.667, 34.592], [126.667, 34.592],
[126.666, 34.591], [126.666, 34.591],
[126.668, 34.593], [126.668, 34.593],
[126.667, 34.592] [126.667, 34.592]
] ]
] ]
}, },
"properties": { "properties": {
"beforeClass": "FARMLAND", "beforeClass": "FARMLAND",
"afterClass": "SOLAR_PANEL" "afterClass": "SOLAR_PANEL"
} }
} }
] ]
} }
""") """)
})) }))
@RequestBody @RequestBody
TrainingDataReviewDto.NewPolygonRequest request) { TrainingDataReviewDto.NewPolygonRequest request) {