Skip to content

Commit

Permalink
#188: fixing the API & ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
lsulak committed Jun 13, 2024
1 parent 92065f6 commit d6fe29d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ trait Endpoints extends BaseEndpoints {
protected val createCheckpointEndpointV2
: PublicEndpoint[CheckpointDTO, ErrorResponse, SingleSuccessResponse[CheckpointDTO], Any] = {
apiV2.post
.in(pathToAPIv1CompatibleFormat(CreateCheckpoint))
.in(CreateCheckpoint)
.in(jsonBody[CheckpointDTO])
.out(statusCode(StatusCode.Created))
.out(jsonBody[SingleSuccessResponse[CheckpointDTO]])
Expand All @@ -50,7 +50,7 @@ trait Endpoints extends BaseEndpoints {
protected val createPartitioningEndpointV1
: PublicEndpoint[PartitioningSubmitDTO, ErrorResponse, AtumContextDTO, Any] = {
apiV1.post
.in(CreatePartitioning)
.in(pathToAPIv1CompatibleFormat(CreatePartitioning))
.in(jsonBody[PartitioningSubmitDTO])
.out(statusCode(StatusCode.Ok))
.out(jsonBody[AtumContextDTO])
Expand Down

0 comments on commit d6fe29d

Please sign in to comment.