Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] Rest Docs 최신화 #105

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/main/resources/static/docs/aiHub-controller-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,6 @@ <h4 id="_http_response">HTTP response</h4>
{
"totalPages" : 1,
"totalElements" : 2,
"first" : true,
"last" : true,
"size" : 10,
"content" : [ {
"title" : "title",
Expand Down Expand Up @@ -613,6 +611,8 @@ <h4 id="_http_response">HTTP response</h4>
"paged" : true,
"unpaged" : false
},
"first" : true,
"last" : true,
"empty" : false
}</code></pre>
</div>
Expand Down Expand Up @@ -946,8 +946,6 @@ <h4 id="_http_response">HTTP response</h4>
{
"totalPages" : 1,
"totalElements" : 2,
"first" : true,
"last" : true,
"size" : 10,
"content" : [ {
"title" : "title",
Expand Down Expand Up @@ -991,6 +989,8 @@ <h4 id="_http_response">HTTP response</h4>
"paged" : true,
"unpaged" : false
},
"first" : true,
"last" : true,
"empty" : false
}</code></pre>
</div>
Expand Down Expand Up @@ -1206,7 +1206,7 @@ <h4 id="_response_fields">Response fields</h4>
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2024-09-19 14:45:10 +0900
Last updated 2024-10-04 13:27:53 +0900
</div>
</div>
</body>
Expand Down
30 changes: 15 additions & 15 deletions src/main/resources/static/docs/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,38 +497,36 @@ <h4 id="_http_response">HTTP response</h4>
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,
"name" : "김영한",
"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" : {
Expand All @@ -549,6 +547,8 @@ <h4 id="_http_response">HTTP response</h4>
"paged" : true,
"unpaged" : false
},
"first" : true,
"last" : true,
"empty" : false
}</code></pre>
</div>
Expand Down Expand Up @@ -796,8 +796,8 @@ <h4 id="_http_response">HTTP response</h4>
"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"
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -926,7 +926,7 @@ <h4 id="_http_response">HTTP response</h4>
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 263
Content-Length: 261

{
"id" : 1,
Expand All @@ -936,8 +936,8 @@ <h4 id="_http_response">HTTP response</h4>
"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"
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -1077,7 +1077,7 @@ <h4 id="_http_response">HTTP response</h4>
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2024-08-21 14:06:52 +0900
Last updated 2024-08-31 17:36:52 +0900
</div>
</div>
</body>
Expand Down
17 changes: 7 additions & 10 deletions src/main/resources/static/docs/auth-controller-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ <h4 id="_http_response">HTTP response</h4>
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</code></pre>
</div>
</div>
Expand All @@ -499,24 +499,21 @@ <h4 id="_http_response">HTTP response</h4>
<h4 id="_response_fields">Response fields</h4>
<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 25%;">
<col style="width: 25%;">
<col style="width: 25%;">
<col style="width: 33.3333%;">
<col style="width: 33.3333%;">
<col style="width: 33.3334%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">Name</th>
<th class="tableblock halign-left valign-top">Path</th>
<th class="tableblock halign-left valign-top">Type</th>
<th class="tableblock halign-left valign-top">Required</th>
<th class="tableblock halign-left valign-top">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>accessToken</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>String</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">access token</p></td>
</tr>
</tbody>
Expand Down Expand Up @@ -806,7 +803,7 @@ <h4 id="_http_response">HTTP response</h4>
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2024-08-21 14:06:52 +0900
Last updated 2024-08-09 18:08:28 +0900
</div>
</div>
</body>
Expand Down
60 changes: 30 additions & 30 deletions src/main/resources/static/docs/eventNotice.html
Original file line number Diff line number Diff line change
Expand Up @@ -521,37 +521,37 @@ <h4 id="_http_response">HTTP response</h4>
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,
"title" : "이벤트 공지 사항 제목",
"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"
} ]
}</code></pre>
</div>
Expand Down Expand Up @@ -722,28 +722,26 @@ <h4 id="_http_response">HTTP response</h4>
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" : {
Expand All @@ -764,6 +762,8 @@ <h4 id="_http_response">HTTP response</h4>
"paged" : true,
"unpaged" : false
},
"first" : true,
"last" : true,
"empty" : false
}</code></pre>
</div>
Expand Down Expand Up @@ -994,37 +994,37 @@ <h4 id="_http_response">HTTP response</h4>
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,
"title" : "이벤트 공지 사항 제목",
"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"
} ]
}</code></pre>
</div>
Expand Down Expand Up @@ -1247,28 +1247,28 @@ <h4 id="_http_response">HTTP response</h4>
"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"
} ]
}</code></pre>
</div>
Expand Down Expand Up @@ -1440,7 +1440,7 @@ <h4 id="_http_response">HTTP response</h4>
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2024-08-21 14:06:52 +0900
Last updated 2024-08-28 16:44:25 +0900
</div>
</div>
</body>
Expand Down
Loading
Loading