Skip to content

Commit

Permalink
[ADD] Member Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjoo-lab committed Oct 10, 2023
1 parent fdad9b3 commit 2e347a6
Showing 1 changed file with 29 additions and 100 deletions.
129 changes: 29 additions & 100 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -904,9 +904,8 @@ <h3 id="_닉네임_중복_검색"><a class="link" href="#_닉네임_중복_검
<h4 id="_닉네임_중복_검색_http_request"><a class="link" href="#_닉네임_중복_검색_http_request">HTTP request</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">GET /member/duplicate/%EC%A7%84%EC%A3%BC%EC%9B%90 HTTP/1.1
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">GET /member/duplicate/JinJooOne HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh
Host: localhost:8080</code></pre>
</div>
</div>
Expand All @@ -915,7 +914,13 @@ <h4 id="_닉네임_중복_검색_http_request"><a class="link" href="#_닉네임
<h4 id="_닉네임_중복_검색_http_response"><a class="link" href="#_닉네임_중복_검색_http_response">HTTP response</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK</code></pre>
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 25

{
"isPresent" : false
}</code></pre>
</div>
</div>
</div>
Expand All @@ -929,150 +934,74 @@ <h2 id="_friend"><a class="link" href="#_friend">Friend</a></h2>
<h3 id="_친구_신청"><a class="link" href="#_친구_신청">친구 신청</a></h3>
<div class="sect3">
<h4 id="_친구_신청_http_request"><a class="link" href="#_친구_신청_http_request">HTTP request</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">POST /friends/request HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh
Content-Length: 57
Host: localhost:8080

{
"memberId" : "0f86c185-4274-4e0e-b5bf-db41a825ec63"
}</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-request not found for operation::post request friend</p>
</div>
</div>
<div class="sect3">
<h4 id="_친구_신청_http_response"><a class="link" href="#_친구_신청_http_response">HTTP response</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 204 No Content</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-response not found for operation::post request friend</p>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_친구_승락거절차단"><a class="link" href="#_친구_승락거절차단">친구 승락/거절/차단</a></h3>
<div class="sect3">
<h4 id="_친구_승락거절차단_http_request"><a class="link" href="#_친구_승락거절차단_http_request">HTTP request</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">POST /friends/request HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh
Content-Length: 88
Host: localhost:8080

{
"memberId" : "4fd92a9a-c436-4699-803d-e43711836520",
"friendStatus" : "ACCEPTED"
}</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-request not found for operation::post update friend status</p>
</div>
</div>
<div class="sect3">
<h4 id="_친구_승락거절차단_http_response"><a class="link" href="#_친구_승락거절차단_http_response">HTTP response</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 204 No Content</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-response not found for operation::post update friend status</p>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_친구_검색"><a class="link" href="#_친구_검색">친구 검색</a></h3>
<div class="sect3">
<h4 id="_친구_검색_http_request"><a class="link" href="#_친구_검색_http_request">HTTP request</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">GET /friends/search?nickname=hojin HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh
Host: localhost:8080</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-request not found for operation::get search friend</p>
</div>
</div>
<div class="sect3">
<h4 id="_친구_검색_http_response"><a class="link" href="#_친구_검색_http_response">HTTP response</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 176

[ {
"memberId" : "c4ec96c8-cd5f-4c4f-87a9-28d083fa5742",
"nickname" : "호진정"
}, {
"memberId" : "5d2fe8d8-34ca-4257-98c4-c02fa54701dc",
"nickname" : "진정해"
} ]</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-response not found for operation::get search friend</p>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_친구_전체_조회"><a class="link" href="#_친구_전체_조회">친구 전체 조회</a></h3>
<div class="sect3">
<h4 id="_친구_전체_조회_http_request"><a class="link" href="#_친구_전체_조회_http_request">HTTP request</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">GET /friends/all HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh
Host: localhost:8080</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-request not found for operation::get all friends</p>
</div>
</div>
<div class="sect3">
<h4 id="_친구_전체_조회_http_response"><a class="link" href="#_친구_전체_조회_http_response">HTTP response</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 176

[ {
"memberId" : "e45448e1-a8e9-492b-a626-753ed717fcf8",
"nickname" : "정해진"
}, {
"memberId" : "2f0fc8ce-51ad-4766-8c28-c581c9dcdab9",
"nickname" : "주어진"
} ]</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-response not found for operation::get all friends</p>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_친구_상태별_조회"><a class="link" href="#_친구_상태별_조회">친구 상태별 조회</a></h3>
<div class="sect3">
<h4 id="_친구_상태별_조회_http_request"><a class="link" href="#_친구_상태별_조회_http_request">HTTP request</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">GET /friends?friendStatus=REQUESTED HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer wefa3fsdczf32.gaoiuergf92.gb5hsa2jgh
Host: localhost:8080</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-request not found for operation::get friends by status</p>
</div>
</div>
<div class="sect3">
<h4 id="_친구_상태별_조회_http_response"><a class="link" href="#_친구_상태별_조회_http_response">HTTP response</a></h4>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 170

[ {
"memberId" : "d44e1c7c-b46b-458c-8d35-3007f02aa5cd",
"nickname" : "호전"
}, {
"memberId" : "76eaec03-128e-4759-9372-59a5008c9872",
"nickname" : "후진"
} ]</code></pre>
</div>
<div class="paragraph">
<p>Snippet http-response not found for operation::get friends by status</p>
</div>
</div>
</div>
Expand All @@ -1081,7 +1010,7 @@ <h4 id="_친구_상태별_조회_http_response"><a class="link" href="#_친구_
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-10-09 11:37:58 +0900
Last updated 2023-10-10 16:49:43 +0900
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/highlight.min.js"></script>
Expand Down

0 comments on commit 2e347a6

Please sign in to comment.