Skip to content

Commit d6fe29d

Browse files
committed
#188: fixing the API & ITs
1 parent 92065f6 commit d6fe29d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/scala/za/co/absa/atum/server/api/http/Endpoints.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ trait Endpoints extends BaseEndpoints {
4141
protected val createCheckpointEndpointV2
4242
: PublicEndpoint[CheckpointDTO, ErrorResponse, SingleSuccessResponse[CheckpointDTO], Any] = {
4343
apiV2.post
44-
.in(pathToAPIv1CompatibleFormat(CreateCheckpoint))
44+
.in(CreateCheckpoint)
4545
.in(jsonBody[CheckpointDTO])
4646
.out(statusCode(StatusCode.Created))
4747
.out(jsonBody[SingleSuccessResponse[CheckpointDTO]])
@@ -50,7 +50,7 @@ trait Endpoints extends BaseEndpoints {
5050
protected val createPartitioningEndpointV1
5151
: PublicEndpoint[PartitioningSubmitDTO, ErrorResponse, AtumContextDTO, Any] = {
5252
apiV1.post
53-
.in(CreatePartitioning)
53+
.in(pathToAPIv1CompatibleFormat(CreatePartitioning))
5454
.in(jsonBody[PartitioningSubmitDTO])
5555
.out(statusCode(StatusCode.Ok))
5656
.out(jsonBody[AtumContextDTO])

0 commit comments

Comments
 (0)