-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- springdoc openapi 도입 - api별 문서화
- Loading branch information
Showing
25 changed files
with
842 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/main/kotlin/com/nexters/pimo/account/adapter/in/web/dto/AccountInput.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
package com.nexters.pimo.account.adapter.`in`.web.dto | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
import java.io.Serializable | ||
|
||
/** | ||
* @author yoonho | ||
* @since 2023.02.14 | ||
*/ | ||
data class AccountInput ( | ||
@Schema(description = "닉네임", example = "admin1") | ||
val nickName: String, | ||
@Schema(description = "프로필사진링크", example = "https://localhost:8080") | ||
val profileImgUrl: String | ||
): Serializable |
8 changes: 8 additions & 0 deletions
8
src/main/kotlin/com/nexters/pimo/account/application/dto/AccountDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
package com.nexters.pimo.account.application.dto | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
/** | ||
* @author yoonho | ||
* @since 2023.02.15 | ||
*/ | ||
data class AccountDto( | ||
@Schema(description = "사용자ID", example = "admin1") | ||
val userId: String, | ||
@Schema(description = "닉네임", example = "admin1") | ||
var nickName: String, | ||
@Schema(description = "프로필사진링크", example = "https://localhost:8080") | ||
var profileImgUrl: String, | ||
@Schema(description = "계정상태", example = "0") | ||
var status: String, | ||
@Schema(description = "계정 업데이트 일자", example = "yyyyMMddHHmmss") | ||
var updatedAt: String, | ||
@Schema(description = "계정 생성 일자", example = "yyyyMMddHHmmss") | ||
val createdAt: String | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
package com.nexters.pimo.common.dto | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
import java.io.Serializable | ||
|
||
/** | ||
* @author yoonho | ||
* @since 2023.02.14 | ||
*/ | ||
data class BaseTokenInfo ( | ||
@Schema(description = "소셜로그인 구분", example = "kakao") | ||
val provider: String, | ||
@Schema(description = "토큰", example = "0") | ||
val accessToken: String | ||
): Serializable |
Oops, something went wrong.