diff --git a/src/main/resources/static/docs/aiHub-controller-test.html b/src/main/resources/static/docs/aiHub-controller-test.html index 50e2f0c..e18f9b9 100644 --- a/src/main/resources/static/docs/aiHub-controller-test.html +++ b/src/main/resources/static/docs/aiHub-controller-test.html @@ -568,8 +568,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "title" : "title", @@ -613,6 +611,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -946,8 +946,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "title" : "title", @@ -991,6 +989,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -1206,7 +1206,7 @@

Response fields

diff --git a/src/main/resources/static/docs/application.html b/src/main/resources/static/docs/application.html index b38e1d4..f26a5b8 100644 --- a/src/main/resources/static/docs/application.html +++ b/src/main/resources/static/docs/application.html @@ -497,13 +497,11 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json -Content-Length: 1178 +Content-Length: 1177 { "totalPages" : 1, "totalElements" : 3, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -511,24 +509,24 @@

HTTP response

"division" : "배민", "position" : null, "userType" : "INACTIVE_COMPANY", - "createdAt" : "2024-09-19T19:31:37.360136", - "updatedAt" : "2024-09-19T19:31:37.360138" + "createdAt" : "2024-10-04T13:38:04.917322", + "updatedAt" : "2024-10-04T13:38:04.91734" }, { "id" : 2, "name" : "김교수", "division" : "솦융대", "position" : "교수", "userType" : "INACTIVE_PROFESSOR", - "createdAt" : "2024-09-19T19:31:37.360152", - "updatedAt" : "2024-09-19T19:31:37.360153" + "createdAt" : "2024-10-04T13:38:04.917362", + "updatedAt" : "2024-10-04T13:38:04.917363" }, { "id" : 3, "name" : "박교수", "division" : "정통대", "position" : "교수", "userType" : "INACTIVE_PROFESSOR", - "createdAt" : "2024-09-19T19:31:37.360155", - "updatedAt" : "2024-09-19T19:31:37.360156" + "createdAt" : "2024-10-04T13:38:04.917367", + "updatedAt" : "2024-10-04T13:38:04.917368" } ], "number" : 0, "sort" : { @@ -549,6 +547,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -796,8 +796,8 @@

HTTP response

"division" : "배민", "position" : "CEO", "userType" : "INACTIVE_COMPANY", - "createdAt" : "2024-09-19T19:31:37.383434", - "updatedAt" : "2024-09-19T19:31:37.383435" + "createdAt" : "2024-10-04T13:38:05.022028", + "updatedAt" : "2024-10-04T13:38:05.022034" } @@ -926,7 +926,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json -Content-Length: 263 +Content-Length: 261 { "id" : 1, @@ -936,8 +936,8 @@

HTTP response

"division" : "배민", "position" : "CEO", "userType" : "COMPANY", - "createdAt" : "2024-09-19T19:31:37.377496", - "updatedAt" : "2024-09-19T19:31:37.377497" + "createdAt" : "2024-10-04T13:38:05.001096", + "updatedAt" : "2024-10-04T13:38:05.0011" } @@ -1077,7 +1077,7 @@

HTTP response

diff --git a/src/main/resources/static/docs/auth-controller-test.html b/src/main/resources/static/docs/auth-controller-test.html index 8180621..c65f023 100644 --- a/src/main/resources/static/docs/auth-controller-test.html +++ b/src/main/resources/static/docs/auth-controller-test.html @@ -489,8 +489,8 @@

HTTP response

Vary: Origin Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers -Set-Cookie: refresh-token=refresh_token; Path=/; Max-Age=604800; Expires=Thu, 26 Sep 2024 10:31:35 GMT; Secure; HttpOnly; SameSite=None -Set-Cookie: access-token=access_token; Path=/; Max-Age=604800; Expires=Thu, 26 Sep 2024 10:31:35 GMT; Secure; SameSite=None +Set-Cookie: refresh-token=refresh_token; Path=/; Max-Age=604800; Expires=Fri, 11 Oct 2024 04:37:51 GMT; Secure; HttpOnly; SameSite=None +Set-Cookie: access-token=access_token; Path=/; Max-Age=604800; Expires=Fri, 11 Oct 2024 04:37:51 GMT; Secure; SameSite=None Location: https://localhost:3000/login/kakao @@ -499,16 +499,14 @@

HTTP response

Response fields

----+++ - + - @@ -516,7 +514,6 @@

Response fields

- @@ -806,7 +803,7 @@

HTTP response

diff --git a/src/main/resources/static/docs/eventNotice.html b/src/main/resources/static/docs/eventNotice.html index cb9cc99..4ecd05c 100644 --- a/src/main/resources/static/docs/eventNotice.html +++ b/src/main/resources/static/docs/eventNotice.html @@ -521,7 +521,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 980 +Content-Length: 979 { "id" : 1, @@ -529,29 +529,29 @@

HTTP response

"content" : "이벤트 공지 사항 내용", "hitCount" : 0, "fixed" : true, - "createdAt" : "2024-09-19T19:31:35.77588", - "updatedAt" : "2024-09-19T19:31:35.775882", + "createdAt" : "2024-10-04T13:37:54.108676", + "updatedAt" : "2024-10-04T13:37:54.108684", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.775866", - "updatedAt" : "2024-09-19T19:31:35.775871" + "createdAt" : "2024-10-04T13:37:54.1086", + "updatedAt" : "2024-10-04T13:37:54.108622" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.775874", - "updatedAt" : "2024-09-19T19:31:35.775875" + "createdAt" : "2024-10-04T13:37:54.108632", + "updatedAt" : "2024-10-04T13:37:54.108639" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.775877", - "updatedAt" : "2024-09-19T19:31:35.775878" + "createdAt" : "2024-10-04T13:37:54.108647", + "updatedAt" : "2024-10-04T13:37:54.108665" } ] } @@ -722,28 +722,26 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 873 +Content-Length: 872 { "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, "title" : "이벤트 공지 사항 1", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:35.78807", - "updatedAt" : "2024-09-19T19:31:35.788077" + "createdAt" : "2024-10-04T13:37:54.22826", + "updatedAt" : "2024-10-04T13:37:54.22828" }, { "id" : 2, "title" : "이벤트 공지 사항 2", "hitCount" : 10, "fixed" : false, - "createdAt" : "2024-09-19T19:31:35.788089", - "updatedAt" : "2024-09-19T19:31:35.788091" + "createdAt" : "2024-10-04T13:37:54.228326", + "updatedAt" : "2024-10-04T13:37:54.228335" } ], "number" : 0, "sort" : { @@ -764,6 +762,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -994,7 +994,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 959 +Content-Length: 958 { "id" : 1, @@ -1002,29 +1002,29 @@

HTTP response

"content" : "content", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:35.755641", - "updatedAt" : "2024-09-19T19:31:35.755643", + "createdAt" : "2024-10-04T13:37:53.856068", + "updatedAt" : "2024-10-04T13:37:53.856071", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.755623", - "updatedAt" : "2024-09-19T19:31:35.755629" + "createdAt" : "2024-10-04T13:37:53.856033", + "updatedAt" : "2024-10-04T13:37:53.85605" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.755634", - "updatedAt" : "2024-09-19T19:31:35.755636" + "createdAt" : "2024-10-04T13:37:53.856058", + "updatedAt" : "2024-10-04T13:37:53.856061" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.755638", - "updatedAt" : "2024-09-19T19:31:35.755639" + "createdAt" : "2024-10-04T13:37:53.856063", + "updatedAt" : "2024-10-04T13:37:53.856065" } ] } @@ -1247,28 +1247,28 @@

HTTP response

"hitCount" : 10, "fixed" : false, "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733932", + "updatedAt" : "2024-10-04T13:37:53.462213", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733892" + "updatedAt" : "2024-10-04T13:37:53.461962" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733903" + "updatedAt" : "2024-10-04T13:37:53.462042" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733907" + "updatedAt" : "2024-10-04T13:37:53.462069" } ] } @@ -1440,7 +1440,7 @@

HTTP response

diff --git a/src/main/resources/static/docs/eventPeriod.html b/src/main/resources/static/docs/eventPeriod.html index 1d671c2..d6f3065 100644 --- a/src/main/resources/static/docs/eventPeriod.html +++ b/src/main/resources/static/docs/eventPeriod.html @@ -460,8 +460,8 @@

HTTP request

Cookie: refresh-token=refresh_token { - "start" : "2024-09-19T19:31:35.989802", - "end" : "2024-09-29T19:31:35.989807" + "start" : "2024-10-04T13:37:56.042503", + "end" : "2024-10-14T13:37:56.042512" } @@ -508,15 +508,15 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 205 +Content-Length: 204 { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.989811", - "end" : "2024-09-29T19:31:35.989812", - "createdAt" : "2024-09-19T19:31:35.989814", - "updatedAt" : "2024-09-19T19:31:35.989815" + "start" : "2024-10-04T13:37:56.04252", + "end" : "2024-10-14T13:37:56.042522", + "createdAt" : "2024-10-04T13:37:56.042529", + "updatedAt" : "2024-10-04T13:37:56.042532" } @@ -605,15 +605,15 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 204 +Content-Length: 205 { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.982073", - "end" : "2024-09-29T19:31:35.982075", - "createdAt" : "2024-09-19T19:31:35.982078", - "updatedAt" : "2024-09-19T19:31:35.98208" + "start" : "2024-10-04T13:37:55.917513", + "end" : "2024-10-14T13:37:55.917516", + "createdAt" : "2024-10-04T13:37:55.917521", + "updatedAt" : "2024-10-04T13:37:55.917524" } @@ -702,22 +702,22 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 415 +Content-Length: 416 [ { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.998529", - "end" : "2024-09-29T19:31:35.998533", - "createdAt" : "2024-09-19T19:31:35.998536", - "updatedAt" : "2024-09-19T19:31:35.998538" + "start" : "2024-10-04T13:37:56.163672", + "end" : "2024-10-14T13:37:56.163727", + "createdAt" : "2024-10-04T13:37:56.163738", + "updatedAt" : "2024-10-04T13:37:56.163746" }, { "id" : 2, "year" : 2025, - "start" : "2024-09-19T19:31:35.99854", - "end" : "2024-09-29T19:31:35.998542", - "createdAt" : "2024-09-19T19:31:35.998544", - "updatedAt" : "2024-09-19T19:31:35.998546" + "start" : "2024-10-04T13:37:56.163755", + "end" : "2024-10-14T13:37:56.163762", + "createdAt" : "2024-10-04T13:37:56.163769", + "updatedAt" : "2024-10-04T13:37:56.163775" } ] @@ -798,8 +798,8 @@

HTTP request

Cookie: refresh-token=refresh_token { - "start" : "2024-09-19T19:31:35.966375", - "end" : "2024-09-29T19:31:35.966379" + "start" : "2024-10-04T13:37:55.689285", + "end" : "2024-10-14T13:37:55.689329" } @@ -846,15 +846,15 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 205 +Content-Length: 203 { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.966409", - "end" : "2024-09-29T19:31:35.966411", - "createdAt" : "2024-09-19T19:31:35.966413", - "updatedAt" : "2024-09-19T19:31:35.966414" + "start" : "2024-10-04T13:37:55.689477", + "end" : "2024-10-14T13:37:55.689485", + "createdAt" : "2024-10-04T13:37:55.689493", + "updatedAt" : "2024-10-04T13:37:55.6895" } @@ -925,7 +925,7 @@

Response fields

diff --git a/src/main/resources/static/docs/exceptionCode.html b/src/main/resources/static/docs/exceptionCode.html new file mode 100644 index 0000000..cf8220c --- /dev/null +++ b/src/main/resources/static/docs/exceptionCode.html @@ -0,0 +1,480 @@ + + + + + + + +커스텀 예외 코드 + + + + + +
+
+

커스텀 예외 코드

+
+
+
NamePath TypeRequired Description

accessToken

String

true

access token

++++ + + + + + + + + + + + + + + + + +
CodeMessage

1000

요청 형식이 올바르지 않습니다.

1001

해당 연도의 행사 기간이 이미 존재합니다.

+ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/docs/file-controller-test.html b/src/main/resources/static/docs/file-controller-test.html index c7d5614..97ef92c 100644 --- a/src/main/resources/static/docs/file-controller-test.html +++ b/src/main/resources/static/docs/file-controller-test.html @@ -500,22 +500,22 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 445 +Content-Length: 446 [ { "id" : 1, - "uuid" : "4482f4a5-07bb-4c5c-abaf-1663d973f50d", + "uuid" : "85a4d1bf-3f42-4ab1-b217-8acf582ec34a", "name" : "첨부파일1.png", "mimeType" : "image/png", - "createdAt" : "2024-09-19T19:31:36.37368", - "updatedAt" : "2024-09-19T19:31:36.373685" + "createdAt" : "2024-10-04T13:38:00.066265", + "updatedAt" : "2024-10-04T13:38:00.066277" }, { "id" : 2, - "uuid" : "0ed8bd29-e482-491f-ab58-46a69f5bfeeb", + "uuid" : "9b490111-241f-4353-8d25-ee75f367781c", "name" : "첨부파일2.pdf", "mimeType" : "application/pdf", - "createdAt" : "2024-09-19T19:31:36.373739", - "updatedAt" : "2024-09-19T19:31:36.373742" + "createdAt" : "2024-10-04T13:38:00.067305", + "updatedAt" : "2024-10-04T13:38:00.067362" } ] @@ -639,7 +639,7 @@

HTTP response

diff --git a/src/main/resources/static/docs/gallery.html b/src/main/resources/static/docs/gallery.html index 5f098c9..20cf6cb 100644 --- a/src/main/resources/static/docs/gallery.html +++ b/src/main/resources/static/docs/gallery.html @@ -530,29 +530,29 @@

HTTP response

"year" : 2024, "month" : 4, "hitCount" : 1, - "createdAt" : "2024-09-19T19:31:36.59199", - "updatedAt" : "2024-09-19T19:31:36.591991", + "createdAt" : "2024-10-04T13:38:01.697393", + "updatedAt" : "2024-10-04T13:38:01.697399", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.59197", - "updatedAt" : "2024-09-19T19:31:36.591975" + "createdAt" : "2024-10-04T13:38:01.69734", + "updatedAt" : "2024-10-04T13:38:01.697357" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.591978", - "updatedAt" : "2024-09-19T19:31:36.591979" + "createdAt" : "2024-10-04T13:38:01.697365", + "updatedAt" : "2024-10-04T13:38:01.697374" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.591985", - "updatedAt" : "2024-09-19T19:31:36.591987" + "createdAt" : "2024-10-04T13:38:01.69738", + "updatedAt" : "2024-10-04T13:38:01.697385" } ] } @@ -733,8 +733,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 1, - "first" : true, - "last" : true, "size" : 1, "content" : [ { "id" : 1, @@ -742,29 +740,29 @@

HTTP response

"year" : 2024, "month" : 4, "hitCount" : 0, - "createdAt" : "2024-09-19T19:31:36.570363", - "updatedAt" : "2024-09-19T19:31:36.570365", + "createdAt" : "2024-10-04T13:38:01.559756", + "updatedAt" : "2024-10-04T13:38:01.559758", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.570345", - "updatedAt" : "2024-09-19T19:31:36.570349" + "createdAt" : "2024-10-04T13:38:01.559685", + "updatedAt" : "2024-10-04T13:38:01.559702" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.570354", - "updatedAt" : "2024-09-19T19:31:36.570356" + "createdAt" : "2024-10-04T13:38:01.559732", + "updatedAt" : "2024-10-04T13:38:01.559742" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.570357", - "updatedAt" : "2024-09-19T19:31:36.570359" + "createdAt" : "2024-10-04T13:38:01.559744", + "updatedAt" : "2024-10-04T13:38:01.559746" } ] } ], "number" : 0, @@ -775,6 +773,8 @@

HTTP response

}, "numberOfElements" : 1, "pageable" : "INSTANCE", + "first" : true, + "last" : true, "empty" : false } @@ -1005,7 +1005,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 891 +Content-Length: 890 { "id" : 1, @@ -1013,29 +1013,29 @@

HTTP response

"year" : 2024, "month" : 4, "hitCount" : 1, - "createdAt" : "2024-09-19T19:31:36.583527", - "updatedAt" : "2024-09-19T19:31:36.583528", + "createdAt" : "2024-10-04T13:38:01.67099", + "updatedAt" : "2024-10-04T13:38:01.670991", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.583515", - "updatedAt" : "2024-09-19T19:31:36.583518" + "createdAt" : "2024-10-04T13:38:01.670971", + "updatedAt" : "2024-10-04T13:38:01.670978" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.583521", - "updatedAt" : "2024-09-19T19:31:36.583522" + "createdAt" : "2024-10-04T13:38:01.670983", + "updatedAt" : "2024-10-04T13:38:01.670984" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.583524", - "updatedAt" : "2024-09-19T19:31:36.583525" + "createdAt" : "2024-10-04T13:38:01.670986", + "updatedAt" : "2024-10-04T13:38:01.670988" } ] } @@ -1297,29 +1297,29 @@

HTTP response

"year" : 2024, "month" : 5, "hitCount" : 1, - "createdAt" : "2024-09-19T19:31:36.546372", - "updatedAt" : "2024-09-19T19:31:36.546374", + "createdAt" : "2024-10-04T13:38:01.252442", + "updatedAt" : "2024-10-04T13:38:01.252476", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.546306", - "updatedAt" : "2024-09-19T19:31:36.546312" + "createdAt" : "2024-10-04T13:38:01.251998", + "updatedAt" : "2024-10-04T13:38:01.252014" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.546317", - "updatedAt" : "2024-09-19T19:31:36.546318" + "createdAt" : "2024-10-04T13:38:01.252029", + "updatedAt" : "2024-10-04T13:38:01.252032" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.546321", - "updatedAt" : "2024-09-19T19:31:36.546322" + "createdAt" : "2024-10-04T13:38:01.252036", + "updatedAt" : "2024-10-04T13:38:01.252038" } ] } @@ -1439,7 +1439,7 @@

Response fields

diff --git a/src/main/resources/static/docs/index.html b/src/main/resources/static/docs/index.html index c9c01e8..7855bd6 100644 --- a/src/main/resources/static/docs/index.html +++ b/src/main/resources/static/docs/index.html @@ -819,8 +819,8 @@

HTTP response

Vary: Origin Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers -Set-Cookie: refresh-token=refresh_token; Path=/; Max-Age=604800; Expires=Thu, 26 Sep 2024 10:31:35 GMT; Secure; HttpOnly; SameSite=None -Set-Cookie: access-token=access_token; Path=/; Max-Age=604800; Expires=Thu, 26 Sep 2024 10:31:35 GMT; Secure; SameSite=None +Set-Cookie: refresh-token=refresh_token; Path=/; Max-Age=604800; Expires=Fri, 11 Oct 2024 04:37:51 GMT; Secure; HttpOnly; SameSite=None +Set-Cookie: access-token=access_token; Path=/; Max-Age=604800; Expires=Fri, 11 Oct 2024 04:37:51 GMT; Secure; SameSite=None Location: https://localhost:3000/login/kakao @@ -829,16 +829,14 @@

HTTP response

Response fields

----+++ - + - @@ -846,7 +844,6 @@

Response fields

- @@ -1192,22 +1189,22 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 445 +Content-Length: 446 [ { "id" : 1, - "uuid" : "4482f4a5-07bb-4c5c-abaf-1663d973f50d", + "uuid" : "85a4d1bf-3f42-4ab1-b217-8acf582ec34a", "name" : "첨부파일1.png", "mimeType" : "image/png", - "createdAt" : "2024-09-19T19:31:36.37368", - "updatedAt" : "2024-09-19T19:31:36.373685" + "createdAt" : "2024-10-04T13:38:00.066265", + "updatedAt" : "2024-10-04T13:38:00.066277" }, { "id" : 2, - "uuid" : "0ed8bd29-e482-491f-ab58-46a69f5bfeeb", + "uuid" : "9b490111-241f-4353-8d25-ee75f367781c", "name" : "첨부파일2.pdf", "mimeType" : "application/pdf", - "createdAt" : "2024-09-19T19:31:36.373739", - "updatedAt" : "2024-09-19T19:31:36.373742" + "createdAt" : "2024-10-04T13:38:00.067305", + "updatedAt" : "2024-10-04T13:38:00.067362" } ] @@ -1433,8 +1430,8 @@

HTTP response

"talkerBelonging" : "대담자의 소속", "talkerName" : "대담자의 성명", "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.574066", - "updatedAt" : "2024-09-19T19:31:37.574068" + "createdAt" : "2024-10-04T13:38:05.602498", + "updatedAt" : "2024-10-04T13:38:05.602503" } @@ -1591,8 +1588,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -1603,8 +1598,8 @@

HTTP response

"talkerName" : "대담자의 성명1", "favorite" : false, "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.557453", - "updatedAt" : "2024-09-19T19:31:37.557455" + "createdAt" : "2024-10-04T13:38:05.533218", + "updatedAt" : "2024-10-04T13:38:05.533223" }, { "id" : 2, "title" : "잡페어 인터뷰의 제목2", @@ -1614,8 +1609,8 @@

HTTP response

"talkerName" : "대담자의 성명2", "favorite" : true, "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.557468", - "updatedAt" : "2024-09-19T19:31:37.557469" + "createdAt" : "2024-10-04T13:38:05.533248", + "updatedAt" : "2024-10-04T13:38:05.533249" } ], "number" : 0, "sort" : { @@ -1636,6 +1631,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -1903,8 +1900,8 @@

HTTP response

"talkerName" : "대담자의 성명", "favorite" : false, "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.567706", - "updatedAt" : "2024-09-19T19:31:37.567707" + "createdAt" : "2024-10-04T13:38:05.575959", + "updatedAt" : "2024-10-04T13:38:05.575964" } @@ -2118,7 +2115,7 @@

HTTP response

"talkerName" : "수정된 대담자 성명", "category" : "INTERN", "createdAt" : "2021-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:37.540684" + "updatedAt" : "2024-10-04T13:38:05.457876" } @@ -2374,7 +2371,7 @@

HTTP request

POST /talks HTTP/1.1
 Content-Type: application/json;charset=UTF-8
 Authorization: admin_access_token
-Content-Length: 399
+Content-Length: 361
 Host: localhost:8080
 Cookie: refresh-token=refresh_token
 
@@ -2384,18 +2381,15 @@ 

HTTP request

"year" : 2024, "talkerBelonging" : "대담자 소속", "talkerName" : "대담자 성명", - "quiz" : { - "0" : { - "question" : "질문1", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - }, - "1" : { - "question" : "질문2", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - } - } + "quiz" : [ { + "question" : "질문1", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + }, { + "question" : "질문2", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + } ] }
@@ -2450,30 +2444,24 @@

Request fields

- + - - - - - - - + - + - + @@ -2490,7 +2478,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 503 +Content-Length: 465 { "id" : 1, @@ -2499,20 +2487,17 @@

HTTP response

"year" : 2024, "talkerBelonging" : "대담자 소속", "talkerName" : "대담자 성명", - "quiz" : { - "0" : { - "question" : "질문1", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - }, - "1" : { - "question" : "질문2", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - } - }, - "createdAt" : "2024-09-19T19:31:37.924986", - "updatedAt" : "2024-09-19T19:31:37.924988" + "quiz" : [ { + "question" : "질문1", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + }, { + "question" : "질문2", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + } ], + "createdAt" : "2024-10-04T13:38:07.715139", + "updatedAt" : "2024-10-04T13:38:07.715141" } @@ -2573,30 +2558,24 @@

Response fields

- - - - - - - + - + - + - + - + @@ -2683,13 +2662,11 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 1042 +Content-Length: 999 { "totalPages" : 1, "totalElements" : 1, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -2699,20 +2676,17 @@

HTTP response

"talkerBelonging" : "대담자 소속", "talkerName" : "대담자 성명", "favorite" : true, - "quiz" : { - "0" : { - "question" : "질문1", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - }, - "1" : { - "question" : "질문2", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - } - }, - "createdAt" : "2024-09-19T19:31:37.933059", - "updatedAt" : "2024-09-19T19:31:37.93306" + "quiz" : [ { + "question" : "질문1", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + }, { + "question" : "질문2", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + } ], + "createdAt" : "2024-10-04T13:38:07.743868", + "updatedAt" : "2024-10-04T13:38:07.743872" } ], "number" : 0, "sort" : { @@ -2733,6 +2707,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -2920,30 +2896,24 @@

Response fields

- - - - - - - + - + - + - + - + @@ -3013,7 +2983,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 524 +Content-Length: 486 { "id" : 1, @@ -3023,20 +2993,17 @@

HTTP response

"talkerBelonging" : "대담자 소속", "talkerName" : "대담자 성명", "favorite" : true, - "quiz" : { - "0" : { - "question" : "질문1", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - }, - "1" : { - "question" : "질문2", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - } - }, - "createdAt" : "2024-09-19T19:31:37.917905", - "updatedAt" : "2024-09-19T19:31:37.917907" + "quiz" : [ { + "question" : "질문1", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + }, { + "question" : "질문2", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + } ], + "createdAt" : "2024-10-04T13:38:07.663209", + "updatedAt" : "2024-10-04T13:38:07.663212" } @@ -3103,30 +3070,24 @@

Response fields

- - - - - - - + - + - + - + - + @@ -3160,7 +3121,7 @@

HTTP request

PUT /talks/1 HTTP/1.1
 Content-Type: application/json;charset=UTF-8
 Authorization: admin_access_token
-Content-Length: 499
+Content-Length: 461
 Host: localhost:8080
 Cookie: refresh-token=refresh_token
 
@@ -3170,18 +3131,15 @@ 

HTTP request

"year" : 2024, "talkerBelonging" : "수정한 대담자 소속", "talkerName" : "수정한 대담자 성명", - "quiz" : { - "0" : { - "question" : "수정한 질문1", - "answer" : 0, - "options" : [ "수정한 선지1", "수정한 선지2" ] - }, - "1" : { - "question" : "수정한 질문2", - "answer" : 0, - "options" : [ "수정한 선지1", "수정한 선지2" ] - } - } + "quiz" : [ { + "question" : "수정한 질문1", + "answer" : 0, + "options" : [ "수정한 선지1", "수정한 선지2" ] + }, { + "question" : "수정한 질문2", + "answer" : 0, + "options" : [ "수정한 선지1", "수정한 선지2" ] + } ] }
@@ -3258,30 +3216,24 @@

Request fields

- + - - - - - - - + - + - + @@ -3298,7 +3250,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 603 +Content-Length: 565 { "id" : 1, @@ -3307,20 +3259,17 @@

HTTP response

"year" : 2024, "talkerBelonging" : "수정한 대담자 소속", "talkerName" : "수정한 대담자 성명", - "quiz" : { - "0" : { - "question" : "수정한 질문1", - "answer" : 0, - "options" : [ "수정한 선지1", "수정한 선지2" ] - }, - "1" : { - "question" : "수정한 질문2", - "answer" : 0, - "options" : [ "수정한 선지1", "수정한 선지2" ] - } - }, - "createdAt" : "2024-09-19T19:31:37.880796", - "updatedAt" : "2024-09-19T19:31:37.880797" + "quiz" : [ { + "question" : "수정한 질문1", + "answer" : 0, + "options" : [ "수정한 선지1", "수정한 선지2" ] + }, { + "question" : "수정한 질문2", + "answer" : 0, + "options" : [ "수정한 선지1", "수정한 선지2" ] + } ], + "createdAt" : "2024-10-04T13:38:07.515171", + "updatedAt" : "2024-10-04T13:38:07.515185" } @@ -3381,30 +3330,24 @@

Response fields

- - - - - - - + - + - + - + - + @@ -3523,21 +3466,18 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 243 +Content-Length: 205 { - "quiz" : { - "0" : { - "question" : "질문1", - "answer" : 0, - "options" : [ "선지1", "선지2" ] - }, - "1" : { - "question" : "질문2", - "answer" : 1, - "options" : [ "선지1", "선지2" ] - } - } + "quiz" : [ { + "question" : "질문1", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + }, { + "question" : "질문2", + "answer" : 0, + "options" : [ "선지1", "선지2" ] + } ] } @@ -3562,32 +3502,26 @@

Response fields

- - - - - - - - - + + + - + - + - + - + - + - + @@ -3995,8 +3929,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "user_id" : 1, @@ -4030,6 +3962,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -4292,7 +4226,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 959 +Content-Length: 961 { "id" : 1, @@ -4300,29 +4234,29 @@

HTTP response

"content" : "공지 사항 내용", "hitCount" : 0, "fixed" : true, - "createdAt" : "2024-09-19T19:31:36.967502", - "updatedAt" : "2024-09-19T19:31:36.967503", + "createdAt" : "2024-10-04T13:38:03.598913", + "updatedAt" : "2024-10-04T13:38:03.598914", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.967495", - "updatedAt" : "2024-09-19T19:31:36.967497" + "createdAt" : "2024-10-04T13:38:03.598904", + "updatedAt" : "2024-10-04T13:38:03.598907" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.967499", - "updatedAt" : "2024-09-19T19:31:36.967499" + "createdAt" : "2024-10-04T13:38:03.598909", + "updatedAt" : "2024-10-04T13:38:03.598909" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.9675", - "updatedAt" : "2024-09-19T19:31:36.967501" + "createdAt" : "2024-10-04T13:38:03.598911", + "updatedAt" : "2024-10-04T13:38:03.598911" } ] } @@ -4498,23 +4432,21 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, "title" : "공지 사항 1", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:36.927332", - "updatedAt" : "2024-09-19T19:31:36.927338" + "createdAt" : "2024-10-04T13:38:03.431959", + "updatedAt" : "2024-10-04T13:38:03.431963" }, { "id" : 2, "title" : "공지 사항 2", "hitCount" : 10, "fixed" : false, - "createdAt" : "2024-09-19T19:31:36.927346", - "updatedAt" : "2024-09-19T19:31:36.927347" + "createdAt" : "2024-10-04T13:38:03.431981", + "updatedAt" : "2024-10-04T13:38:03.431982" } ], "number" : 0, "sort" : { @@ -4535,6 +4467,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -4773,29 +4707,29 @@

HTTP response

"content" : "content", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:36.958951", - "updatedAt" : "2024-09-19T19:31:36.958956", + "createdAt" : "2024-10-04T13:38:03.569895", + "updatedAt" : "2024-10-04T13:38:03.569896", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.958939", - "updatedAt" : "2024-09-19T19:31:36.958942" + "createdAt" : "2024-10-04T13:38:03.569875", + "updatedAt" : "2024-10-04T13:38:03.569881" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.958945", - "updatedAt" : "2024-09-19T19:31:36.958946" + "createdAt" : "2024-10-04T13:38:03.56989", + "updatedAt" : "2024-10-04T13:38:03.569891" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.958948", - "updatedAt" : "2024-09-19T19:31:36.95895" + "createdAt" : "2024-10-04T13:38:03.569892", + "updatedAt" : "2024-10-04T13:38:03.569893" } ] } @@ -5009,7 +4943,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 955 +Content-Length: 953 { "id" : 1, @@ -5018,28 +4952,28 @@

HTTP response

"hitCount" : 10, "fixed" : false, "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939745", + "updatedAt" : "2024-10-04T13:38:03.479228", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939709" + "updatedAt" : "2024-10-04T13:38:03.478965" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939715" + "updatedAt" : "2024-10-04T13:38:03.479079" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939718" + "updatedAt" : "2024-10-04T13:38:03.4791" } ] } @@ -5288,7 +5222,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 980 +Content-Length: 979 { "id" : 1, @@ -5296,29 +5230,29 @@

HTTP response

"content" : "이벤트 공지 사항 내용", "hitCount" : 0, "fixed" : true, - "createdAt" : "2024-09-19T19:31:35.77588", - "updatedAt" : "2024-09-19T19:31:35.775882", + "createdAt" : "2024-10-04T13:37:54.108676", + "updatedAt" : "2024-10-04T13:37:54.108684", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.775866", - "updatedAt" : "2024-09-19T19:31:35.775871" + "createdAt" : "2024-10-04T13:37:54.1086", + "updatedAt" : "2024-10-04T13:37:54.108622" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.775874", - "updatedAt" : "2024-09-19T19:31:35.775875" + "createdAt" : "2024-10-04T13:37:54.108632", + "updatedAt" : "2024-10-04T13:37:54.108639" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.775877", - "updatedAt" : "2024-09-19T19:31:35.775878" + "createdAt" : "2024-10-04T13:37:54.108647", + "updatedAt" : "2024-10-04T13:37:54.108665" } ] } @@ -5489,28 +5423,26 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 873 +Content-Length: 872 { "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, "title" : "이벤트 공지 사항 1", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:35.78807", - "updatedAt" : "2024-09-19T19:31:35.788077" + "createdAt" : "2024-10-04T13:37:54.22826", + "updatedAt" : "2024-10-04T13:37:54.22828" }, { "id" : 2, "title" : "이벤트 공지 사항 2", "hitCount" : 10, "fixed" : false, - "createdAt" : "2024-09-19T19:31:35.788089", - "updatedAt" : "2024-09-19T19:31:35.788091" + "createdAt" : "2024-10-04T13:37:54.228326", + "updatedAt" : "2024-10-04T13:37:54.228335" } ], "number" : 0, "sort" : { @@ -5531,6 +5463,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -5761,7 +5695,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 959 +Content-Length: 958 { "id" : 1, @@ -5769,29 +5703,29 @@

HTTP response

"content" : "content", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:35.755641", - "updatedAt" : "2024-09-19T19:31:35.755643", + "createdAt" : "2024-10-04T13:37:53.856068", + "updatedAt" : "2024-10-04T13:37:53.856071", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.755623", - "updatedAt" : "2024-09-19T19:31:35.755629" + "createdAt" : "2024-10-04T13:37:53.856033", + "updatedAt" : "2024-10-04T13:37:53.85605" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.755634", - "updatedAt" : "2024-09-19T19:31:35.755636" + "createdAt" : "2024-10-04T13:37:53.856058", + "updatedAt" : "2024-10-04T13:37:53.856061" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:35.755638", - "updatedAt" : "2024-09-19T19:31:35.755639" + "createdAt" : "2024-10-04T13:37:53.856063", + "updatedAt" : "2024-10-04T13:37:53.856065" } ] } @@ -6014,28 +5948,28 @@

HTTP response

"hitCount" : 10, "fixed" : false, "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733932", + "updatedAt" : "2024-10-04T13:37:53.462213", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733892" + "updatedAt" : "2024-10-04T13:37:53.461962" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733903" + "updatedAt" : "2024-10-04T13:37:53.462042" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:35.733907" + "updatedAt" : "2024-10-04T13:37:53.462069" } ] } @@ -6223,8 +6157,8 @@

HTTP request

Cookie: refresh-token=refresh_token { - "start" : "2024-09-19T19:31:35.989802", - "end" : "2024-09-29T19:31:35.989807" + "start" : "2024-10-04T13:37:56.042503", + "end" : "2024-10-14T13:37:56.042512" } @@ -6271,15 +6205,15 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 205 +Content-Length: 204 { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.989811", - "end" : "2024-09-29T19:31:35.989812", - "createdAt" : "2024-09-19T19:31:35.989814", - "updatedAt" : "2024-09-19T19:31:35.989815" + "start" : "2024-10-04T13:37:56.04252", + "end" : "2024-10-14T13:37:56.042522", + "createdAt" : "2024-10-04T13:37:56.042529", + "updatedAt" : "2024-10-04T13:37:56.042532" } @@ -6368,15 +6302,15 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 204 +Content-Length: 205 { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.982073", - "end" : "2024-09-29T19:31:35.982075", - "createdAt" : "2024-09-19T19:31:35.982078", - "updatedAt" : "2024-09-19T19:31:35.98208" + "start" : "2024-10-04T13:37:55.917513", + "end" : "2024-10-14T13:37:55.917516", + "createdAt" : "2024-10-04T13:37:55.917521", + "updatedAt" : "2024-10-04T13:37:55.917524" } @@ -6465,22 +6399,22 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 415 +Content-Length: 416 [ { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.998529", - "end" : "2024-09-29T19:31:35.998533", - "createdAt" : "2024-09-19T19:31:35.998536", - "updatedAt" : "2024-09-19T19:31:35.998538" + "start" : "2024-10-04T13:37:56.163672", + "end" : "2024-10-14T13:37:56.163727", + "createdAt" : "2024-10-04T13:37:56.163738", + "updatedAt" : "2024-10-04T13:37:56.163746" }, { "id" : 2, "year" : 2025, - "start" : "2024-09-19T19:31:35.99854", - "end" : "2024-09-29T19:31:35.998542", - "createdAt" : "2024-09-19T19:31:35.998544", - "updatedAt" : "2024-09-19T19:31:35.998546" + "start" : "2024-10-04T13:37:56.163755", + "end" : "2024-10-14T13:37:56.163762", + "createdAt" : "2024-10-04T13:37:56.163769", + "updatedAt" : "2024-10-04T13:37:56.163775" } ] @@ -6561,8 +6495,8 @@

HTTP request

Cookie: refresh-token=refresh_token { - "start" : "2024-09-19T19:31:35.966375", - "end" : "2024-09-29T19:31:35.966379" + "start" : "2024-10-04T13:37:55.689285", + "end" : "2024-10-14T13:37:55.689329" } @@ -6609,15 +6543,15 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 205 +Content-Length: 203 { "id" : 1, "year" : 2024, - "start" : "2024-09-19T19:31:35.966409", - "end" : "2024-09-29T19:31:35.966411", - "createdAt" : "2024-09-19T19:31:35.966413", - "updatedAt" : "2024-09-19T19:31:35.966414" + "start" : "2024-10-04T13:37:55.689477", + "end" : "2024-10-14T13:37:55.689485", + "createdAt" : "2024-10-04T13:37:55.689493", + "updatedAt" : "2024-10-04T13:37:55.6895" } @@ -6774,29 +6708,29 @@

HTTP response

"year" : 2024, "month" : 4, "hitCount" : 1, - "createdAt" : "2024-09-19T19:31:36.59199", - "updatedAt" : "2024-09-19T19:31:36.591991", + "createdAt" : "2024-10-04T13:38:01.697393", + "updatedAt" : "2024-10-04T13:38:01.697399", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.59197", - "updatedAt" : "2024-09-19T19:31:36.591975" + "createdAt" : "2024-10-04T13:38:01.69734", + "updatedAt" : "2024-10-04T13:38:01.697357" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.591978", - "updatedAt" : "2024-09-19T19:31:36.591979" + "createdAt" : "2024-10-04T13:38:01.697365", + "updatedAt" : "2024-10-04T13:38:01.697374" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.591985", - "updatedAt" : "2024-09-19T19:31:36.591987" + "createdAt" : "2024-10-04T13:38:01.69738", + "updatedAt" : "2024-10-04T13:38:01.697385" } ] } @@ -6977,8 +6911,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 1, - "first" : true, - "last" : true, "size" : 1, "content" : [ { "id" : 1, @@ -6986,29 +6918,29 @@

HTTP response

"year" : 2024, "month" : 4, "hitCount" : 0, - "createdAt" : "2024-09-19T19:31:36.570363", - "updatedAt" : "2024-09-19T19:31:36.570365", + "createdAt" : "2024-10-04T13:38:01.559756", + "updatedAt" : "2024-10-04T13:38:01.559758", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.570345", - "updatedAt" : "2024-09-19T19:31:36.570349" + "createdAt" : "2024-10-04T13:38:01.559685", + "updatedAt" : "2024-10-04T13:38:01.559702" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.570354", - "updatedAt" : "2024-09-19T19:31:36.570356" + "createdAt" : "2024-10-04T13:38:01.559732", + "updatedAt" : "2024-10-04T13:38:01.559742" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.570357", - "updatedAt" : "2024-09-19T19:31:36.570359" + "createdAt" : "2024-10-04T13:38:01.559744", + "updatedAt" : "2024-10-04T13:38:01.559746" } ] } ], "number" : 0, @@ -7019,6 +6951,8 @@

HTTP response

}, "numberOfElements" : 1, "pageable" : "INSTANCE", + "first" : true, + "last" : true, "empty" : false } @@ -7249,7 +7183,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 891 +Content-Length: 890 { "id" : 1, @@ -7257,29 +7191,29 @@

HTTP response

"year" : 2024, "month" : 4, "hitCount" : 1, - "createdAt" : "2024-09-19T19:31:36.583527", - "updatedAt" : "2024-09-19T19:31:36.583528", + "createdAt" : "2024-10-04T13:38:01.67099", + "updatedAt" : "2024-10-04T13:38:01.670991", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.583515", - "updatedAt" : "2024-09-19T19:31:36.583518" + "createdAt" : "2024-10-04T13:38:01.670971", + "updatedAt" : "2024-10-04T13:38:01.670978" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.583521", - "updatedAt" : "2024-09-19T19:31:36.583522" + "createdAt" : "2024-10-04T13:38:01.670983", + "updatedAt" : "2024-10-04T13:38:01.670984" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.583524", - "updatedAt" : "2024-09-19T19:31:36.583525" + "createdAt" : "2024-10-04T13:38:01.670986", + "updatedAt" : "2024-10-04T13:38:01.670988" } ] } @@ -7541,29 +7475,29 @@

HTTP response

"year" : 2024, "month" : 5, "hitCount" : 1, - "createdAt" : "2024-09-19T19:31:36.546372", - "updatedAt" : "2024-09-19T19:31:36.546374", + "createdAt" : "2024-10-04T13:38:01.252442", + "updatedAt" : "2024-10-04T13:38:01.252476", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "사진1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.546306", - "updatedAt" : "2024-09-19T19:31:36.546312" + "createdAt" : "2024-10-04T13:38:01.251998", + "updatedAt" : "2024-10-04T13:38:01.252014" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "사진2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.546317", - "updatedAt" : "2024-09-19T19:31:36.546318" + "createdAt" : "2024-10-04T13:38:01.252029", + "updatedAt" : "2024-10-04T13:38:01.252032" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "사진3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.546321", - "updatedAt" : "2024-09-19T19:31:36.546322" + "createdAt" : "2024-10-04T13:38:01.252036", + "updatedAt" : "2024-10-04T13:38:01.252038" } ] } @@ -7736,13 +7670,11 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json -Content-Length: 1178 +Content-Length: 1177 { "totalPages" : 1, "totalElements" : 3, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -7750,24 +7682,24 @@

HTTP response

"division" : "배민", "position" : null, "userType" : "INACTIVE_COMPANY", - "createdAt" : "2024-09-19T19:31:37.360136", - "updatedAt" : "2024-09-19T19:31:37.360138" + "createdAt" : "2024-10-04T13:38:04.917322", + "updatedAt" : "2024-10-04T13:38:04.91734" }, { "id" : 2, "name" : "김교수", "division" : "솦융대", "position" : "교수", "userType" : "INACTIVE_PROFESSOR", - "createdAt" : "2024-09-19T19:31:37.360152", - "updatedAt" : "2024-09-19T19:31:37.360153" + "createdAt" : "2024-10-04T13:38:04.917362", + "updatedAt" : "2024-10-04T13:38:04.917363" }, { "id" : 3, "name" : "박교수", "division" : "정통대", "position" : "교수", "userType" : "INACTIVE_PROFESSOR", - "createdAt" : "2024-09-19T19:31:37.360155", - "updatedAt" : "2024-09-19T19:31:37.360156" + "createdAt" : "2024-10-04T13:38:04.917367", + "updatedAt" : "2024-10-04T13:38:04.917368" } ], "number" : 0, "sort" : { @@ -7788,6 +7720,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -8035,8 +7969,8 @@

HTTP response

"division" : "배민", "position" : "CEO", "userType" : "INACTIVE_COMPANY", - "createdAt" : "2024-09-19T19:31:37.383434", - "updatedAt" : "2024-09-19T19:31:37.383435" + "createdAt" : "2024-10-04T13:38:05.022028", + "updatedAt" : "2024-10-04T13:38:05.022034" } @@ -8165,7 +8099,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json -Content-Length: 263 +Content-Length: 261 { "id" : 1, @@ -8175,8 +8109,8 @@

HTTP response

"division" : "배민", "position" : "CEO", "userType" : "COMPANY", - "createdAt" : "2024-09-19T19:31:37.377496", - "updatedAt" : "2024-09-19T19:31:37.377497" + "createdAt" : "2024-10-04T13:38:05.001096", + "updatedAt" : "2024-10-04T13:38:05.0011" } @@ -8348,8 +8282,6 @@
HTTP response
{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -8411,6 +8343,8 @@
HTTP response
"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -8774,7 +8708,7 @@
HTTP response
Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 1449 +Content-Length: 1447 { "id" : 1, @@ -8809,24 +8743,24 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.231425", - "updatedAt" : "2024-09-19T19:31:37.231426" + "createdAt" : "2024-10-04T13:38:04.525083", + "updatedAt" : "2024-10-04T13:38:04.525087" }, { "id" : 2, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.231428", - "updatedAt" : "2024-09-19T19:31:37.23143" + "createdAt" : "2024-10-04T13:38:04.52509", + "updatedAt" : "2024-10-04T13:38:04.525092" }, { "id" : 3, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.231433", - "updatedAt" : "2024-09-19T19:31:37.231434" + "createdAt" : "2024-10-04T13:38:04.525099", + "updatedAt" : "2024-10-04T13:38:04.5251" } ] } @@ -9175,7 +9109,7 @@
HTTP response
Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 1450 +Content-Length: 1449 { "id" : 1, @@ -9210,24 +9144,24 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.207102", - "updatedAt" : "2024-09-19T19:31:37.207104" + "createdAt" : "2024-10-04T13:38:04.381526", + "updatedAt" : "2024-10-04T13:38:04.381528" }, { "id" : 2, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.207105", - "updatedAt" : "2024-09-19T19:31:37.207105" + "createdAt" : "2024-10-04T13:38:04.381529", + "updatedAt" : "2024-10-04T13:38:04.38153" }, { "id" : 3, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.207106", - "updatedAt" : "2024-09-19T19:31:37.207107" + "createdAt" : "2024-10-04T13:38:04.381531", + "updatedAt" : "2024-10-04T13:38:04.381532" } ] } @@ -9558,24 +9492,24 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.119923", - "updatedAt" : "2024-09-19T19:31:37.119925" + "createdAt" : "2024-10-04T13:38:04.056118", + "updatedAt" : "2024-10-04T13:38:04.056122" }, { "id" : 2, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.119929", - "updatedAt" : "2024-09-19T19:31:37.11993" + "createdAt" : "2024-10-04T13:38:04.056128", + "updatedAt" : "2024-10-04T13:38:04.056129" }, { "id" : 3, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.119931", - "updatedAt" : "2024-09-19T19:31:37.119934" + "createdAt" : "2024-10-04T13:38:04.05613", + "updatedAt" : "2024-10-04T13:38:04.056131" } ] } @@ -10227,7 +10161,7 @@
HTTP response
Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 212 +Content-Length: 211 { "id" : 1, @@ -10235,8 +10169,8 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.198286", - "updatedAt" : "2024-09-19T19:31:37.198287" + "createdAt" : "2024-10-04T13:38:04.34753", + "updatedAt" : "2024-10-04T13:38:04.347534" } @@ -10454,8 +10388,6 @@
HTTP response
{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -10517,6 +10449,8 @@
HTTP response
"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -10944,8 +10878,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "title" : "title", @@ -10989,6 +10921,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -11322,8 +11256,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "title" : "title", @@ -11367,6 +11299,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -11706,8 +11640,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "company" : "기업명 1", @@ -11755,6 +11687,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -11982,7 +11916,7 @@

Response fields

diff --git a/src/main/resources/static/docs/inquiry.html b/src/main/resources/static/docs/inquiry.html new file mode 100644 index 0000000..266c255 --- /dev/null +++ b/src/main/resources/static/docs/inquiry.html @@ -0,0 +1,1666 @@ + + + + + + + +프로젝트 문의 사항 API + + + + + +
+
+

프로젝트 문의 사항 API

+
+
+
+

프로젝트 문의 사항 생성 (POST /projects/{projectId}/inquiry)

+
+
+
+

HTTP request

+
+
+
POST /projects/1/inquiry HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Content-Length: 102
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+{
+  "title" : "프로젝트 문의 사항 제목",
+  "content" : "프로젝트 문의 사항 내용"
+}
+
+
+
+
+

Request fields

+
NamePath TypeRequired Description

accessToken

String

true

access token

quiz

Object

Array

false

퀴즈 데이터, 없는경우 null

quiz.*

Object

false

퀴즈 1개

quiz.*.question

quiz[].question

String

false

퀴즈 1개의 질문

quiz.*.answer

quiz[].answer

Number

false

퀴즈 1개의 정답선지 인덱스

quiz.*.options

quiz[].options

Array

false

퀴즈 1개의 정답선지 리스트

quiz

Object

true

퀴즈 데이터, 없는경우 null

quiz.*

Object

Array

false

퀴즈 1개

퀴즈 데이터, 없는경우 null

quiz.*.question

quiz[].question

String

false

퀴즈 1개의 질문

quiz.*.answer

quiz[].answer

Number

false

퀴즈 1개의 정답선지 인덱스

quiz.*.options

quiz[].options

Array

false

퀴즈 1개의 정답선지 리스트

content[].quiz

Object

true

퀴즈 데이터, 없는경우 null

content[].quiz.*

Object

Array

false

퀴즈 1개

퀴즈 데이터, 없는경우 null

content[].quiz.*.question

content[].quiz[].question

String

false

퀴즈 1개의 질문

content[].quiz.*.answer

content[].quiz[].answer

Number

false

퀴즈 1개의 정답선지 인덱스

content[].quiz.*.options

content[].quiz[].options

Array

false

퀴즈 1개의 정답선지 리스트

quiz

Object

true

퀴즈 데이터, 없는경우 null

quiz.*

Object

Array

false

퀴즈 1개

퀴즈 데이터, 없는경우 null

quiz.*.question

quiz[].question

String

false

퀴즈 1개의 질문

quiz.*.answer

quiz[].answer

Number

false

퀴즈 1개의 정답선지 인덱스

quiz.*.options

quiz[].options

Array

false

퀴즈 1개의 정답선지 리스트

quiz

Object

Array

false

퀴즈 데이터, 없는경우 null

quiz.*

Object

false

퀴즈 1개

quiz.*.question

quiz[].question

String

false

퀴즈 1개의 질문

quiz.*.answer

quiz[].answer

Number

false

퀴즈 1개의 정답선지 인덱스

quiz.*.options

quiz[].options

Array

false

퀴즈 1개의 정답선지 리스트

quiz

Object

true

퀴즈 데이터, 없는경우 null

quiz.*

Object

Array

false

퀴즈 1개

퀴즈 데이터, 없는경우 null

quiz.*.question

quiz[].question

String

false

퀴즈 1개의 질문

quiz.*.answer

quiz[].answer

Number

false

퀴즈 1개의 정답선지 인덱스

quiz.*.options

quiz[].options

Array

false

퀴즈 1개의 정답선지 리스트

quiz

Object

true

퀴즈 데이터

quiz.*

Object

true

퀴즈 1개

Array

false

퀴즈 데이터, 없는경우 null

quiz.*.question

quiz[].question

String

true

false

퀴즈 1개의 질문

quiz.*.answer

quiz[].answer

Number

true

false

퀴즈 1개의 정답선지 인덱스

quiz.*.options

quiz[].options

Array

true

false

퀴즈 1개의 정답선지 리스트

++++++ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

title

String

true

문의 사항 제목

content

String

true

문의 사항 내용

+ +
+

HTTP response

+
+
+
HTTP/1.1 201 Created
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 284
+
+{
+  "id" : 1,
+  "authorName" : "문의 작성자 이름",
+  "projectId" : 1,
+  "projectName" : "프로젝트 이름",
+  "title" : "문의 사항 제목",
+  "content" : "문의 사항 내용",
+  "createdAt" : "2024-10-01T17:57:28.760623",
+  "updatedAt" : "2024-10-01T17:57:28.760628"
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

id

Number

true

문의 사항 ID

authorName

String

true

문의 작성자 이름

projectId

Number

true

문의 대상 프로젝트 ID

projectName

String

true

문의 대상 프로젝트 이름

title

String

true

문의 사항 제목

content

String

true

문의 사항 내용

createdAt

String

true

문의 사항 생성 시간

updatedAt

String

true

문의 사항 수정 시간

+
+ + +
+ +
+

프로젝트 문의 사항 리스트 조회 (GET /inquiries)

+
+
+
+

HTTP request

+
+
+
GET /inquiries HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Query parameters

+ +++++ + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterRequiredDescription

title

false

찾고자 하는 공지 사항 제목

page

false

페이지 번호 [default: 0]

size

false

페이지 크기 [default: 10]

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 823
+
+{
+  "totalPages" : 1,
+  "totalElements" : 2,
+  "size" : 10,
+  "content" : [ {
+    "id" : 1,
+    "authorName" : "프로젝트 문의 사항 제목",
+    "title" : "프로젝트 문의 사항 내용",
+    "createdAt" : "2024-10-01T17:57:28.665398"
+  }, {
+    "id" : 2,
+    "authorName" : "프로젝트 문의 사항 제목",
+    "title" : "프로젝트 문의 사항 내용",
+    "createdAt" : "2024-10-01T17:57:28.665472"
+  } ],
+  "number" : 0,
+  "sort" : {
+    "empty" : true,
+    "sorted" : false,
+    "unsorted" : true
+  },
+  "numberOfElements" : 2,
+  "pageable" : {
+    "pageNumber" : 0,
+    "pageSize" : 10,
+    "sort" : {
+      "empty" : true,
+      "sorted" : false,
+      "unsorted" : true
+    },
+    "offset" : 0,
+    "paged" : true,
+    "unpaged" : false
+  },
+  "first" : true,
+  "last" : true,
+  "empty" : false
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

content[].id

Number

true

문의 사항 ID

content[].authorName

String

true

문의 작성자 이름

content[].title

String

true

문의 사항 제목

content[].createdAt

String

true

문의 사항 생성 시간

pageable.pageNumber

Number

true

현재 페이지 번호

pageable.pageSize

Number

true

페이지 당 요소 수

pageable.sort.empty

Boolean

true

정렬 정보가 비어있는지 여부

pageable.sort.sorted

Boolean

true

정렬된 상태인지 여부

pageable.sort.unsorted

Boolean

true

정렬되지 않은 상태인지 여부

pageable.offset

Number

true

오프셋

pageable.paged

Boolean

true

페이징된 여부

pageable.unpaged

Boolean

true

페이징되지 않은 여부

totalElements

Number

true

전체 요소 수

totalPages

Number

true

전체 페이지 수

size

Number

true

페이지 당 요소 수

number

Number

true

현재 페이지 번호

numberOfElements

Number

true

현재 페이지 요소 수

first

Boolean

true

첫 페이지 여부

last

Boolean

true

마지막 페이지 여부

sort.empty

Boolean

true

정렬 정보가 비어있는지 여부

sort.unsorted

Boolean

true

정렬되지 않은 상태인지 여부

sort.sorted

Boolean

true

정렬된 상태인지 여부

empty

Boolean

true

비어있는 페이지 여부

+
+
+
+
+
+
+

프로젝트 문의 사항 단건 조회 (GET /inquiries/{inquiryId})

+
+
+
+

HTTP request

+
+
+
GET /inquiries/1 HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}
ParameterDescription

inquiryId

조회할 문의 사항 ID

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 284
+
+{
+  "id" : 1,
+  "authorName" : "문의 작성자 이름",
+  "projectId" : 1,
+  "projectName" : "프로젝트 이름",
+  "title" : "문의 사항 제목",
+  "content" : "문의 사항 내용",
+  "createdAt" : "2024-10-01T17:57:28.727777",
+  "updatedAt" : "2024-10-01T17:57:28.727826"
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

id

Number

true

문의 사항 ID

authorName

String

true

문의 작성자 이름

projectId

Number

true

문의 대상 프로젝트 ID

projectName

String

true

문의 대상 프로젝트 이름

title

String

true

문의 사항 제목

content

String

true

문의 사항 내용

createdAt

String

true

문의 사항 생성 시간

updatedAt

String

true

문의 사항 수정 시간

+
+
+
+
+
+
+

프로젝트 문의 사항 수정 (PUT /inquiries/{inquiryId})

+
+
+
+

HTTP request

+
+
+
PUT /inquiries/1 HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Content-Length: 122
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+{
+  "title" : "수정된 프로젝트 문의 사항 제목",
+  "content" : "수정된 프로젝트 문의 사항 내용"
+}
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}
ParameterDescription

inquiryId

수정할 문의 사항 ID

+
+
+

Request fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

title

String

true

문의 사항 제목

content

String

true

문의 사항 내용

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 304
+
+{
+  "id" : 1,
+  "authorName" : "문의 작성자 이름",
+  "projectId" : 1,
+  "projectName" : "프로젝트 이름",
+  "title" : "수정된 문의 사항 제목",
+  "content" : "수정된 문의 사항 내용",
+  "createdAt" : "2024-10-01T17:57:28.830509",
+  "updatedAt" : "2024-10-01T17:57:28.830518"
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

id

Number

true

문의 사항 ID

authorName

String

true

문의 작성자 이름

projectId

Number

true

문의 대상 프로젝트 ID

projectName

String

true

문의 대상 프로젝트 이름

title

String

true

수정된 문의 사항 제목

content

String

true

수정된 문의 사항 내용

createdAt

String

true

문의 사항 생성 시간

updatedAt

String

true

문의 사항 수정 시간

+
+
+
+
+
+
+

프로젝트 문의 사항 삭제 (DELETE /inquiries/{inquiryId})

+
+
+
+

HTTP request

+
+
+
DELETE /inquiries/1 HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}
ParameterDescription

inquiryId

삭제할 문의 사항 ID

+
+
+

HTTP response

+
+
+
HTTP/1.1 204 No Content
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+
+
+
+
+
+
+
+
+

프로젝트 문의 사항 답변 (POST /inquiries/{inquiryId}/reply)

+
+
+
+

HTTP request

+
+
+
POST /inquiries/1/reply HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Content-Length: 76
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+{
+  "title" : "문의 답변 제목",
+  "content" : "문의 답변 내용"
+}
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}/reply
ParameterDescription

inquiryId

답변할 문의 ID

+
+
+

Request fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

title

String

true

답변 제목

content

String

true

답변 내용

+
+
+

HTTP response

+
+
+
HTTP/1.1 201 Created
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 88
+
+{
+  "id" : 1,
+  "title" : "문의 답변 제목",
+  "content" : "문의 답변 내용"
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

id

Number

true

답변 ID

title

String

true

답변 제목

content

String

true

답변 내용

+
+
+
+
+
+
+

프로젝트 문의 사항 답변 조회 (GET /inquiries/{inquiryId}/reply)

+
+
+
+

HTTP request

+
+
+
GET /inquiries/1/reply HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}/reply
ParameterDescription

inquiryId

조회할 문의 ID

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 88
+
+{
+  "id" : 1,
+  "title" : "문의 답변 제목",
+  "content" : "문의 답변 내용"
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

id

Number

true

답변 ID

title

String

true

답변 제목

content

String

true

답변 내용

+
+
+
+
+
+
+

프로젝트 문의 사항 답변 수정 (PUT /inquiries/{inquiryId}/reply)

+
+
+
+

HTTP request

+
+
+
PUT /inquiries/1/reply HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Content-Length: 96
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+{
+  "title" : "수정된 문의 답변 제목",
+  "content" : "수정된 문의 답변 내용"
+}
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}/reply
ParameterDescription

inquiryId

수정할 답변 ID

+
+
+

Request fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

title

String

true

답변 제목

content

String

true

답변 내용

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json;charset=UTF-8
+Content-Length: 108
+
+{
+  "id" : 1,
+  "title" : "수정된 문의 답변 제목",
+  "content" : "수정된 문의 답변 내용"
+}
+
+
+
+
+

Response fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

id

Number

true

답변 ID

title

String

true

수정된 답변 제목

content

String

true

수정된 답변 내용

+
+
+
+
+
+
+

프로젝트 문의 사항 답변 삭제 (DELETE /inquiries/{inquiryId}/reply)

+
+
+
+

HTTP request

+
+
+
DELETE /inquiries/1/reply HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Path parameters

+ + ++++ + + + + + + + + + + + + +
Table 1. /inquiries/{inquiryId}/reply
ParameterDescription

inquiryId

삭제할 답변 ID

+
+
+

HTTP response

+
+
+
HTTP/1.1 204 No Content
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/src/main/resources/static/docs/jobInfo-controller-test.html b/src/main/resources/static/docs/jobInfo-controller-test.html index c6a4b99..a60ba5f 100644 --- a/src/main/resources/static/docs/jobInfo-controller-test.html +++ b/src/main/resources/static/docs/jobInfo-controller-test.html @@ -568,8 +568,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "company" : "기업명 1", @@ -617,6 +615,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -844,7 +844,7 @@

Response fields

diff --git a/src/main/resources/static/docs/jobInterview.html b/src/main/resources/static/docs/jobInterview.html index 651bfa8..42f9eb4 100644 --- a/src/main/resources/static/docs/jobInterview.html +++ b/src/main/resources/static/docs/jobInterview.html @@ -546,8 +546,8 @@

HTTP response

"talkerBelonging" : "대담자의 소속", "talkerName" : "대담자의 성명", "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.574066", - "updatedAt" : "2024-09-19T19:31:37.574068" + "createdAt" : "2024-10-04T13:38:05.602498", + "updatedAt" : "2024-10-04T13:38:05.602503" } @@ -704,8 +704,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -716,8 +714,8 @@

HTTP response

"talkerName" : "대담자의 성명1", "favorite" : false, "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.557453", - "updatedAt" : "2024-09-19T19:31:37.557455" + "createdAt" : "2024-10-04T13:38:05.533218", + "updatedAt" : "2024-10-04T13:38:05.533223" }, { "id" : 2, "title" : "잡페어 인터뷰의 제목2", @@ -727,8 +725,8 @@

HTTP response

"talkerName" : "대담자의 성명2", "favorite" : true, "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.557468", - "updatedAt" : "2024-09-19T19:31:37.557469" + "createdAt" : "2024-10-04T13:38:05.533248", + "updatedAt" : "2024-10-04T13:38:05.533249" } ], "number" : 0, "sort" : { @@ -749,6 +747,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -1016,8 +1016,8 @@

HTTP response

"talkerName" : "대담자의 성명", "favorite" : false, "category" : "INTERN", - "createdAt" : "2024-09-19T19:31:37.567706", - "updatedAt" : "2024-09-19T19:31:37.567707" + "createdAt" : "2024-10-04T13:38:05.575959", + "updatedAt" : "2024-10-04T13:38:05.575964" } @@ -1231,7 +1231,7 @@

HTTP response

"talkerName" : "수정된 대담자 성명", "category" : "INTERN", "createdAt" : "2021-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:37.540684" + "updatedAt" : "2024-10-04T13:38:05.457876" } @@ -1476,7 +1476,7 @@

HTTP response

diff --git a/src/main/resources/static/docs/notice.html b/src/main/resources/static/docs/notice.html index b4239c5..35a5d3d 100644 --- a/src/main/resources/static/docs/notice.html +++ b/src/main/resources/static/docs/notice.html @@ -521,7 +521,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 959 +Content-Length: 961 { "id" : 1, @@ -529,29 +529,29 @@

HTTP response

"content" : "공지 사항 내용", "hitCount" : 0, "fixed" : true, - "createdAt" : "2024-09-19T19:31:36.967502", - "updatedAt" : "2024-09-19T19:31:36.967503", + "createdAt" : "2024-10-04T13:38:03.598913", + "updatedAt" : "2024-10-04T13:38:03.598914", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.967495", - "updatedAt" : "2024-09-19T19:31:36.967497" + "createdAt" : "2024-10-04T13:38:03.598904", + "updatedAt" : "2024-10-04T13:38:03.598907" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.967499", - "updatedAt" : "2024-09-19T19:31:36.967499" + "createdAt" : "2024-10-04T13:38:03.598909", + "updatedAt" : "2024-10-04T13:38:03.598909" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.9675", - "updatedAt" : "2024-09-19T19:31:36.967501" + "createdAt" : "2024-10-04T13:38:03.598911", + "updatedAt" : "2024-10-04T13:38:03.598911" } ] } @@ -727,23 +727,21 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, "title" : "공지 사항 1", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:36.927332", - "updatedAt" : "2024-09-19T19:31:36.927338" + "createdAt" : "2024-10-04T13:38:03.431959", + "updatedAt" : "2024-10-04T13:38:03.431963" }, { "id" : 2, "title" : "공지 사항 2", "hitCount" : 10, "fixed" : false, - "createdAt" : "2024-09-19T19:31:36.927346", - "updatedAt" : "2024-09-19T19:31:36.927347" + "createdAt" : "2024-10-04T13:38:03.431981", + "updatedAt" : "2024-10-04T13:38:03.431982" } ], "number" : 0, "sort" : { @@ -764,6 +762,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -1002,29 +1002,29 @@

HTTP response

"content" : "content", "hitCount" : 10, "fixed" : true, - "createdAt" : "2024-09-19T19:31:36.958951", - "updatedAt" : "2024-09-19T19:31:36.958956", + "createdAt" : "2024-10-04T13:38:03.569895", + "updatedAt" : "2024-10-04T13:38:03.569896", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.958939", - "updatedAt" : "2024-09-19T19:31:36.958942" + "createdAt" : "2024-10-04T13:38:03.569875", + "updatedAt" : "2024-10-04T13:38:03.569881" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.958945", - "updatedAt" : "2024-09-19T19:31:36.958946" + "createdAt" : "2024-10-04T13:38:03.56989", + "updatedAt" : "2024-10-04T13:38:03.569891" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", - "createdAt" : "2024-09-19T19:31:36.958948", - "updatedAt" : "2024-09-19T19:31:36.95895" + "createdAt" : "2024-10-04T13:38:03.569892", + "updatedAt" : "2024-10-04T13:38:03.569893" } ] } @@ -1238,7 +1238,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 955 +Content-Length: 953 { "id" : 1, @@ -1247,28 +1247,28 @@

HTTP response

"hitCount" : 10, "fixed" : false, "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939745", + "updatedAt" : "2024-10-04T13:38:03.479228", "files" : [ { "id" : 1, "uuid" : "014eb8a0-d4a6-11ee-adac-117d766aca1d", "name" : "예시 첨부 파일 1.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939709" + "updatedAt" : "2024-10-04T13:38:03.478965" }, { "id" : 2, "uuid" : "11a480c0-13fa-11ef-9047-570191b390ea", "name" : "예시 첨부 파일 2.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939715" + "updatedAt" : "2024-10-04T13:38:03.479079" }, { "id" : 3, "uuid" : "1883fc70-cfb4-11ee-a387-e754bd392d45", "name" : "예시 첨부 파일 3.jpg", "mimeType" : "image/jpeg", "createdAt" : "2024-01-01T12:00:00", - "updatedAt" : "2024-09-19T19:31:36.939718" + "updatedAt" : "2024-10-04T13:38:03.4791" } ] } @@ -1440,7 +1440,7 @@

HTTP response

diff --git a/src/main/resources/static/docs/project.html b/src/main/resources/static/docs/project.html index a581427..72a8c2f 100644 --- a/src/main/resources/static/docs/project.html +++ b/src/main/resources/static/docs/project.html @@ -476,8 +476,6 @@
HTTP response
{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -539,6 +537,8 @@
HTTP response
"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -902,7 +902,7 @@
HTTP response
Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 1449 +Content-Length: 1447 { "id" : 1, @@ -937,24 +937,24 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.231425", - "updatedAt" : "2024-09-19T19:31:37.231426" + "createdAt" : "2024-10-04T13:38:04.525083", + "updatedAt" : "2024-10-04T13:38:04.525087" }, { "id" : 2, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.231428", - "updatedAt" : "2024-09-19T19:31:37.23143" + "createdAt" : "2024-10-04T13:38:04.52509", + "updatedAt" : "2024-10-04T13:38:04.525092" }, { "id" : 3, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.231433", - "updatedAt" : "2024-09-19T19:31:37.231434" + "createdAt" : "2024-10-04T13:38:04.525099", + "updatedAt" : "2024-10-04T13:38:04.5251" } ] } @@ -1303,7 +1303,7 @@
HTTP response
Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 1450 +Content-Length: 1449 { "id" : 1, @@ -1338,24 +1338,24 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.207102", - "updatedAt" : "2024-09-19T19:31:37.207104" + "createdAt" : "2024-10-04T13:38:04.381526", + "updatedAt" : "2024-10-04T13:38:04.381528" }, { "id" : 2, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.207105", - "updatedAt" : "2024-09-19T19:31:37.207105" + "createdAt" : "2024-10-04T13:38:04.381529", + "updatedAt" : "2024-10-04T13:38:04.38153" }, { "id" : 3, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.207106", - "updatedAt" : "2024-09-19T19:31:37.207107" + "createdAt" : "2024-10-04T13:38:04.381531", + "updatedAt" : "2024-10-04T13:38:04.381532" } ] } @@ -1686,24 +1686,24 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.119923", - "updatedAt" : "2024-09-19T19:31:37.119925" + "createdAt" : "2024-10-04T13:38:04.056118", + "updatedAt" : "2024-10-04T13:38:04.056122" }, { "id" : 2, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.119929", - "updatedAt" : "2024-09-19T19:31:37.11993" + "createdAt" : "2024-10-04T13:38:04.056128", + "updatedAt" : "2024-10-04T13:38:04.056129" }, { "id" : 3, "projectId" : 1, "userName" : "유저 이름", "isAnonymous" : false, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.119931", - "updatedAt" : "2024-09-19T19:31:37.119934" + "createdAt" : "2024-10-04T13:38:04.05613", + "updatedAt" : "2024-10-04T13:38:04.056131" } ] } @@ -2355,7 +2355,7 @@
HTTP response
Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 212 +Content-Length: 211 { "id" : 1, @@ -2363,8 +2363,8 @@
HTTP response
"userName" : "유저 이름", "isAnonymous" : true, "content" : "댓글 내용", - "createdAt" : "2024-09-19T19:31:37.198286", - "updatedAt" : "2024-09-19T19:31:37.198287" + "createdAt" : "2024-10-04T13:38:04.34753", + "updatedAt" : "2024-10-04T13:38:04.347534" } @@ -2582,8 +2582,6 @@
HTTP response
{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "id" : 1, @@ -2645,6 +2643,8 @@
HTTP response
"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -2948,7 +2948,7 @@
Response fields
diff --git a/src/main/resources/static/docs/quiz.html b/src/main/resources/static/docs/quiz.html index 2388786..a217fc0 100644 --- a/src/main/resources/static/docs/quiz.html +++ b/src/main/resources/static/docs/quiz.html @@ -508,8 +508,6 @@

HTTP response

{ "totalPages" : 1, "totalElements" : 2, - "first" : true, - "last" : true, "size" : 10, "content" : [ { "user_id" : 1, @@ -543,6 +541,8 @@

HTTP response

"paged" : true, "unpaged" : false }, + "first" : true, + "last" : true, "empty" : false } @@ -728,7 +728,7 @@

Response fields

diff --git a/src/main/resources/static/docs/talk.html b/src/main/resources/static/docs/talk.html index 9796d1d..fbabcf1 100644 --- a/src/main/resources/static/docs/talk.html +++ b/src/main/resources/static/docs/talk.html @@ -562,7 +562,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 470 +Content-Length: 465 { "id" : 1, @@ -580,8 +580,8 @@

HTTP response

"answer" : 0, "options" : [ "선지1", "선지2" ] } ], - "createdAt" : "2024-10-04T01:07:50.78259322", - "updatedAt" : "2024-10-04T01:07:50.782601152" + "createdAt" : "2024-10-04T13:38:07.715139", + "updatedAt" : "2024-10-04T13:38:07.715141" } @@ -746,11 +746,11 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 1005 +Content-Length: 999 { - "totalElements" : 1, "totalPages" : 1, + "totalElements" : 1, "size" : 10, "content" : [ { "id" : 1, @@ -769,8 +769,8 @@

HTTP response

"answer" : 0, "options" : [ "선지1", "선지2" ] } ], - "createdAt" : "2024-10-04T01:07:50.820922829", - "updatedAt" : "2024-10-04T01:07:50.820930169" + "createdAt" : "2024-10-04T13:38:07.743868", + "updatedAt" : "2024-10-04T13:38:07.743872" } ], "number" : 0, "sort" : { @@ -1067,7 +1067,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 492 +Content-Length: 486 { "id" : 1, @@ -1086,8 +1086,8 @@

HTTP response

"answer" : 0, "options" : [ "선지1", "선지2" ] } ], - "createdAt" : "2024-10-04T01:07:50.744379752", - "updatedAt" : "2024-10-04T01:07:50.744388902" + "createdAt" : "2024-10-04T13:38:07.663209", + "updatedAt" : "2024-10-04T13:38:07.663212" } @@ -1334,7 +1334,7 @@

HTTP response

Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json;charset=UTF-8 -Content-Length: 571 +Content-Length: 565 { "id" : 1, @@ -1352,8 +1352,8 @@

HTTP response

"answer" : 0, "options" : [ "수정한 선지1", "수정한 선지2" ] } ], - "createdAt" : "2024-10-04T01:07:50.602876045", - "updatedAt" : "2024-10-04T01:07:50.602884038" + "createdAt" : "2024-10-04T13:38:07.515171", + "updatedAt" : "2024-10-04T13:38:07.515185" } @@ -1949,7 +1949,7 @@

Response fields

diff --git a/src/main/resources/static/docs/user-controller-test.html b/src/main/resources/static/docs/user-controller-test.html new file mode 100644 index 0000000..30efc3b --- /dev/null +++ b/src/main/resources/static/docs/user-controller-test.html @@ -0,0 +1,937 @@ + + + + + + + +유저 API + + + + + +
+
+

유저 API

+
+
+
+

로그인 유저 기본 정보 조회 (GET /users/me)

+
+
+
+

HTTP request

+
+
+
GET /users/me HTTP/1.1
+Authorization: user_access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Request cookies

+ ++++ + + + + + + + + + + + + +
NameDescription

refresh-token

갱신 토큰

+
+
+

Request headers

+ ++++ + + + + + + + + + + + + +
NameDescription

Authorization

access token

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json
+Content-Length: 356
+
+{
+  "id" : 1,
+  "name" : "이름",
+  "phone" : "010-1234-5678",
+  "email" : "student@g.skku.edu",
+  "socialLoginId" : "아이디",
+  "userType" : "STUDENT",
+  "division" : null,
+  "position" : null,
+  "studentNumber" : "2000123456",
+  "departmentName" : "학과",
+  "createdAt" : "2024-08-21T15:21:47.871876",
+  "updatedAt" : "2024-08-21T15:21:47.871886"
+}
+
+
+
+
+

Response fields

+ +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PathTypeDescription

id

Number

사용자 ID

name

String

사용자 이름

phone

String

사용자 전화번호

email

String

사용자 이메일

socialLoginId

String

사용자 이메일

userType

String

사용자 유형

division

String

소속

position

String

직책

studentNumber

String

학번

departmentName

String

학과 이름

createdAt

String

생성일

updatedAt

String

수정일

+
+
+
+
+
+

로그인 유저 기본 정보 수정 (PUT /users/me)

+
+
+
+

HTTP request

+
+
+
PUT /users/me HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Authorization: user_access_token
+Content-Length: 193
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+{
+  "name" : "이름",
+  "phone" : "010-1234-5678",
+  "email" : "student@g.skku.edu",
+  "division" : null,
+  "position" : null,
+  "studentNumber" : "2000123456",
+  "departmentName" : "학과"
+}
+
+
+
+
+

Request cookies

+ ++++ + + + + + + + + + + + + +
NameDescription

refresh-token

갱신 토큰

+
+
+

Request headers

+ ++++ + + + + + + + + + + + + +
NameDescription

Authorization

access token

+
+
+

Request fields

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeRequiredDescription

name

String

true

이름

phone

String

true

전화번호

email

String

true

이메일

division

String

소속

position

String

직책

studentNumber

String

학번

departmentName

String

학과

+
+
+

HTTP response

+
+
+
HTTP/1.1 200 OK
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+Content-Type: application/json
+Content-Length: 356
+
+{
+  "id" : 1,
+  "name" : "이름",
+  "phone" : "010-1234-5678",
+  "email" : "student@g.skku.edu",
+  "socialLoginId" : "아이디",
+  "userType" : "STUDENT",
+  "division" : null,
+  "position" : null,
+  "studentNumber" : "2000123456",
+  "departmentName" : "학과",
+  "createdAt" : "2024-08-21T15:21:47.966909",
+  "updatedAt" : "2024-08-21T15:21:47.967104"
+}
+
+
+
+
+

Response fields

+ +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PathTypeDescription

id

Number

사용자 ID

name

String

사용자 이름

phone

String

사용자 전화번호

email

String

사용자 이메일

socialLoginId

String

사용자 이메일

userType

String

사용자 유형

division

String

소속

position

String

직책

studentNumber

String

학번

departmentName

String

학과 이름

createdAt

String

생성일

updatedAt

String

수정일

+
+
+
+
+
+

유저 탈퇴 (DELETE /users/me)

+
+
+
+

HTTP request

+
+
+
DELETE /users/me HTTP/1.1
+Authorization: user_access_token
+Host: localhost:8080
+Cookie: refresh-token=refresh_token
+
+
+
+
+

Request cookies

+ ++++ + + + + + + + + + + + + +
NameDescription

refresh-token

갱신 토큰

+
+
+

Request headers

+ ++++ + + + + + + + + + + + + +
NameDescription

Authorization

access token

+
+
+

HTTP response

+
+
+
HTTP/1.1 204 No Content
+Vary: Origin
+Vary: Access-Control-Request-Method
+Vary: Access-Control-Request-Headers
+
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file