Skip to content

Commit

Permalink
🐛fix : json포맷 일부수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkYunHo committed Aug 27, 2023
1 parent d2b5e4a commit 45d20b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AuthHandler(
*/
fun refresh(request: ServerRequest): Mono<ServerResponse> =
authorizeUseCase.refresh(
refreshToken = request.queryParam("refresh_token").orElseThrow { throw BadRequestException("state 정보가 누락되었습니다.") }.trim(),
refreshToken = request.queryParam("refreshToken").orElseThrow { throw BadRequestException("state 정보가 누락되었습니다.") }.trim(),
)
.flatMap { BaseResponse().success(it) }
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ class AuthRouter(
operationId = "refresh",
parameters = [
Parameter(
name = "refresh_token",
name = "refreshToken",
description = "리프레시 토큰",
examples = [
ExampleObject(name = "refresh_token", value = "TEST_REFRESH_TOKEN", description = "리프레시 토큰")
ExampleObject(name = "refreshToken", value = "TEST_REFRESH_TOKEN", description = "리프레시 토큰")
]
)
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.john.lotto.scrap.adatper.`in`.web.dto

import com.fasterxml.jackson.databind.PropertyNamingStrategies
import com.fasterxml.jackson.databind.annotation.JsonNaming
import com.john.lotto.common.exception.BadRequestException
import io.swagger.v3.oas.annotations.media.Schema
import java.io.Serializable
Expand All @@ -11,7 +9,6 @@ import java.io.Serializable
* @author yoonho
* @since 2023.07.23
*/
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy::class)
data class ScrapInput(
@Schema(description = "판매점 고유ID", example = "1111")
val storeId: String? = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ data class LottoStoreTotalInfo(
var storeName: String? = "",

// 1등 당첨회차
@Schema(description = "당첨정보 리스트", example = "0")
@Schema(description = "당첨정보 리스트", example = "0", implementation = DrwtInfo::class)
var drwtInfos: List<DrwtInfo> = mutableListOf()
) {

Expand Down

0 comments on commit 45d20b3

Please sign in to comment.