forked from kookmin-sw/cap-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from kookmin-sw/backend/develop/v3
✨ adoc파일 및 /build/이하 디렉토리 추가
- Loading branch information
Showing
164 changed files
with
13,913 additions
and
0 deletions.
There are no files selected for viewing
559 changes: 559 additions & 0 deletions
559
backend/moment/moment-server/core/build/docs/asciidoc/AlreadyBookedDate.html
Large diffs are not rendered by default.
Oops, something went wrong.
1,047 changes: 1,047 additions & 0 deletions
1,047
backend/moment/moment-server/core/build/docs/asciidoc/Auth.html
Large diffs are not rendered by default.
Oops, something went wrong.
1,581 changes: 1,581 additions & 0 deletions
1,581
backend/moment/moment-server/core/build/docs/asciidoc/CardView.html
Large diffs are not rendered by default.
Oops, something went wrong.
1,053 changes: 1,053 additions & 0 deletions
1,053
backend/moment/moment-server/core/build/docs/asciidoc/Trip.html
Large diffs are not rendered by default.
Oops, something went wrong.
3,057 changes: 3,057 additions & 0 deletions
3,057
backend/moment/moment-server/core/build/docs/asciidoc/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...server/core/build/generated-snippets/alreadyBookedDate/getAll/curl-request.adoc
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[source,bash] | ||
---- | ||
$ curl 'http://localhost:8080/core/alreadyBookedDate/all' -i -X GET \ | ||
-H 'Content-Type: application/json;charset=UTF-8' \ | ||
-H 'userId: 1' | ||
---- |
8 changes: 8 additions & 0 deletions
8
...server/core/build/generated-snippets/alreadyBookedDate/getAll/http-request.adoc
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
GET /core/alreadyBookedDate/all HTTP/1.1 | ||
Content-Type: application/json;charset=UTF-8 | ||
userId: 1 | ||
Host: localhost:8080 | ||
---- |
20 changes: 20 additions & 0 deletions
20
...erver/core/build/generated-snippets/alreadyBookedDate/getAll/http-response.adoc
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 211 | ||
{ | ||
"status" : 200, | ||
"code" : "200", | ||
"msg" : "SELECT SUCCESS", | ||
"detailMsg" : "", | ||
"data" : { | ||
"cardViews" : [ { | ||
"bookedDate" : "2024-04-11" | ||
}, { | ||
"bookedDate" : "2023-10-10" | ||
} ] | ||
} | ||
} | ||
---- |
6 changes: 6 additions & 0 deletions
6
...rver/core/build/generated-snippets/alreadyBookedDate/getAll/httpie-request.adoc
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[source,bash] | ||
---- | ||
$ http GET 'http://localhost:8080/core/alreadyBookedDate/all' \ | ||
'Content-Type:application/json;charset=UTF-8' \ | ||
'userId:1' | ||
---- |
4 changes: 4 additions & 0 deletions
4
...server/core/build/generated-snippets/alreadyBookedDate/getAll/request-body.adoc
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[source,json,options="nowrap"] | ||
---- | ||
---- |
7 changes: 7 additions & 0 deletions
7
...ver/core/build/generated-snippets/alreadyBookedDate/getAll/request-headers.adoc
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|=== | ||
|Name|Description | ||
|
||
|`+userId+` | ||
|Bearer Token | ||
|
||
|=== |
16 changes: 16 additions & 0 deletions
16
...erver/core/build/generated-snippets/alreadyBookedDate/getAll/response-body.adoc
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[source,json,options="nowrap"] | ||
---- | ||
{ | ||
"status" : 200, | ||
"code" : "200", | ||
"msg" : "SELECT SUCCESS", | ||
"detailMsg" : "", | ||
"data" : { | ||
"cardViews" : [ { | ||
"bookedDate" : "2024-04-11" | ||
}, { | ||
"bookedDate" : "2023-10-10" | ||
} ] | ||
} | ||
} | ||
---- |
24 changes: 24 additions & 0 deletions
24
...ver/core/build/generated-snippets/alreadyBookedDate/getAll/response-fields.adoc
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|=== | ||
|Path|Type|Description | ||
|
||
|`+status+` | ||
|`+Number+` | ||
|응답 상태 코드 | ||
|
||
|`+code+` | ||
|`+String+` | ||
|응답 코드 | ||
|
||
|`+msg+` | ||
|`+String+` | ||
|응답 메시지 | ||
|
||
|`+detailMsg+` | ||
|`+String+` | ||
|상세 메시지 | ||
|
||
|`+data.cardViews[].bookedDate+` | ||
|`+String+` | ||
|예약된 날짜 목록 | ||
|
||
|=== |
10 changes: 10 additions & 0 deletions
10
...ment-server/core/build/generated-snippets/auth/changePassword/curl-request.adoc
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[source,bash] | ||
---- | ||
$ curl 'http://localhost:8080/auth/password' -i -X PATCH \ | ||
-H 'Content-Type: application/json;charset=UTF-8' \ | ||
-H 'userId: 1' \ | ||
-d '{ | ||
"code" : "1234", | ||
"newPassword" : "12345" | ||
}' | ||
---- |
13 changes: 13 additions & 0 deletions
13
...ment-server/core/build/generated-snippets/auth/changePassword/http-request.adoc
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
PATCH /auth/password HTTP/1.1 | ||
Content-Type: application/json;charset=UTF-8 | ||
userId: 1 | ||
Content-Length: 48 | ||
Host: localhost:8080 | ||
{ | ||
"code" : "1234", | ||
"newPassword" : "12345" | ||
} | ||
---- |
14 changes: 14 additions & 0 deletions
14
...ent-server/core/build/generated-snippets/auth/changePassword/http-response.adoc
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 102 | ||
{ | ||
"status" : 200, | ||
"code" : "200", | ||
"msg" : "UPDATE SUCCESS", | ||
"detailMsg" : "", | ||
"data" : { } | ||
} | ||
---- |
9 changes: 9 additions & 0 deletions
9
...nt-server/core/build/generated-snippets/auth/changePassword/httpie-request.adoc
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[source,bash] | ||
---- | ||
$ echo '{ | ||
"code" : "1234", | ||
"newPassword" : "12345" | ||
}' | http PATCH 'http://localhost:8080/auth/password' \ | ||
'Content-Type:application/json;charset=UTF-8' \ | ||
'userId:1' | ||
---- |
7 changes: 7 additions & 0 deletions
7
...ment-server/core/build/generated-snippets/auth/changePassword/request-body.adoc
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[source,json,options="nowrap"] | ||
---- | ||
{ | ||
"code" : "1234", | ||
"newPassword" : "12345" | ||
} | ||
---- |
14 changes: 14 additions & 0 deletions
14
...nt-server/core/build/generated-snippets/auth/changePassword/request-fields.adoc
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|=== | ||
|필드명|타입|필수값|양식|설명 | ||
|
||
|`+code+` | ||
|`+String+` | ||
|true | ||
| | ||
|인증 코드 | ||
|`+newPassword+` | ||
|`+String+` | ||
|true | ||
| | ||
|새로운 비밀번호 | ||
|=== |
7 changes: 7 additions & 0 deletions
7
...t-server/core/build/generated-snippets/auth/changePassword/request-headers.adoc
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|=== | ||
|Name|Description | ||
|
||
|`+userId+` | ||
|Bearer Token | ||
|
||
|=== |
10 changes: 10 additions & 0 deletions
10
...ent-server/core/build/generated-snippets/auth/changePassword/response-body.adoc
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[source,json,options="nowrap"] | ||
---- | ||
{ | ||
"status" : 200, | ||
"code" : "200", | ||
"msg" : "UPDATE SUCCESS", | ||
"detailMsg" : "", | ||
"data" : { } | ||
} | ||
---- |
24 changes: 24 additions & 0 deletions
24
...t-server/core/build/generated-snippets/auth/changePassword/response-fields.adoc
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|=== | ||
|Path|Type|Description | ||
|
||
|`+status+` | ||
|`+Number+` | ||
|응답 상태 코드 | ||
|
||
|`+code+` | ||
|`+String+` | ||
|응답 코드 | ||
|
||
|`+msg+` | ||
|`+String+` | ||
|응답 메시지 | ||
|
||
|`+detailMsg+` | ||
|`+String+` | ||
|상세 메시지 | ||
|
||
|`+data+` | ||
|`+Object+` | ||
|데이터 없음 | ||
|
||
|=== |
9 changes: 9 additions & 0 deletions
9
...moment/moment-server/core/build/generated-snippets/auth/login/curl-request.adoc
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[source,bash] | ||
---- | ||
$ curl 'http://localhost:8080/auth/login' -i -X POST \ | ||
-H 'Content-Type: application/json;charset=UTF-8' \ | ||
-d '{ | ||
"email" : "[email protected]", | ||
"password" : "1234" | ||
}' | ||
---- |
12 changes: 12 additions & 0 deletions
12
...moment/moment-server/core/build/generated-snippets/auth/login/http-request.adoc
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
POST /auth/login HTTP/1.1 | ||
Content-Type: application/json;charset=UTF-8 | ||
Content-Length: 58 | ||
Host: localhost:8080 | ||
{ | ||
"email" : "[email protected]", | ||
"password" : "1234" | ||
} | ||
---- |
19 changes: 19 additions & 0 deletions
19
...oment/moment-server/core/build/generated-snippets/auth/login/http-response.adoc
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 229 | ||
{ | ||
"status" : 200, | ||
"code" : "200", | ||
"msg" : "SELECT SUCCESS", | ||
"detailMsg" : "", | ||
"data" : { | ||
"grantType" : "Bearer", | ||
"accessToken" : "accessToken", | ||
"refreshToken" : "refresh", | ||
"role" : "ROLE_AUTH_USER" | ||
} | ||
} | ||
---- |
8 changes: 8 additions & 0 deletions
8
...ment/moment-server/core/build/generated-snippets/auth/login/httpie-request.adoc
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[source,bash] | ||
---- | ||
$ echo '{ | ||
"email" : "[email protected]", | ||
"password" : "1234" | ||
}' | http POST 'http://localhost:8080/auth/login' \ | ||
'Content-Type:application/json;charset=UTF-8' | ||
---- |
7 changes: 7 additions & 0 deletions
7
...moment/moment-server/core/build/generated-snippets/auth/login/request-body.adoc
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[source,json,options="nowrap"] | ||
---- | ||
{ | ||
"email" : "[email protected]", | ||
"password" : "1234" | ||
} | ||
---- |
14 changes: 14 additions & 0 deletions
14
...ment/moment-server/core/build/generated-snippets/auth/login/request-fields.adoc
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|=== | ||
|필드명|타입|필수값|양식|설명 | ||
|
||
|`+email+` | ||
|`+String+` | ||
|true | ||
| | ||
|이메일 | ||
|`+password+` | ||
|`+String+` | ||
|true | ||
| | ||
|비밀번호 | ||
|=== |
15 changes: 15 additions & 0 deletions
15
...oment/moment-server/core/build/generated-snippets/auth/login/response-body.adoc
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[source,json,options="nowrap"] | ||
---- | ||
{ | ||
"status" : 200, | ||
"code" : "200", | ||
"msg" : "SELECT SUCCESS", | ||
"detailMsg" : "", | ||
"data" : { | ||
"grantType" : "Bearer", | ||
"accessToken" : "accessToken", | ||
"refreshToken" : "refresh", | ||
"role" : "ROLE_AUTH_USER" | ||
} | ||
} | ||
---- |
36 changes: 36 additions & 0 deletions
36
...ent/moment-server/core/build/generated-snippets/auth/login/response-fields.adoc
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|=== | ||
|Path|Type|Description | ||
|
||
|`+status+` | ||
|`+Number+` | ||
|응답 상태 코드 | ||
|
||
|`+code+` | ||
|`+String+` | ||
|응답 코드 | ||
|
||
|`+msg+` | ||
|`+String+` | ||
|응답 메시지 | ||
|
||
|`+detailMsg+` | ||
|`+String+` | ||
|상세 메시지 | ||
|
||
|`+data.grantType+` | ||
|`+String+` | ||
|토큰 타입 | ||
|
||
|`+data.accessToken+` | ||
|`+String+` | ||
|액세스 토큰 | ||
|
||
|`+data.refreshToken+` | ||
|`+String+` | ||
|리프레시 토큰 | ||
|
||
|`+data.role+` | ||
|`+String+` | ||
|사용자 권한 | ||
|
||
|=== |
9 changes: 9 additions & 0 deletions
9
...ent/moment-server/core/build/generated-snippets/auth/sendCode/curl-request.adoc
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[source,bash] | ||
---- | ||
$ curl 'http://localhost:8080/auth/code' -i -X POST \ | ||
-H 'Content-Type: application/json;charset=UTF-8' \ | ||
-d '{ | ||
"email" : "[email protected]", | ||
"isSignUp" : "true" | ||
}' | ||
---- |
12 changes: 12 additions & 0 deletions
12
...ent/moment-server/core/build/generated-snippets/auth/sendCode/http-request.adoc
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[source,http,options="nowrap"] | ||
---- | ||
POST /auth/code HTTP/1.1 | ||
Content-Type: application/json;charset=UTF-8 | ||
Content-Length: 58 | ||
Host: localhost:8080 | ||
{ | ||
"email" : "[email protected]", | ||
"isSignUp" : "true" | ||
} | ||
---- |
Oops, something went wrong.