Skip to content

Commit

Permalink
Merge pull request #74 from kimh7537/develop
Browse files Browse the repository at this point in the history
Fix: swagger 형식 변경
  • Loading branch information
kimh7537 authored Aug 21, 2024
2 parents cc47b91 + 26499c2 commit d57264d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.cotato.squadus.api.match.dto.matchPost.request;

import com.cotato.squadus.domain.club.common.entity.Tier;
import com.cotato.squadus.domain.club.common.enums.SportsCategory;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

Expand All @@ -20,7 +19,9 @@ public class MatchCreateRequest {
private MatchPlaceRequest matchPlace;
private Boolean placeProvided;
private LocalDate matchStartDate;

@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm")
@Schema(description = "Match start time in format HH:mm", example = "10:00")
private LocalTime matchStartTime;
private Integer maxParticipants;

Expand Down

0 comments on commit d57264d

Please sign in to comment.