Skip to content

Commit

Permalink
YEL-139 [docs] 명세서 오류 수정
Browse files Browse the repository at this point in the history
YEL-139 [docs] 명세서 오류 수정
  • Loading branch information
devkwonsehoon authored Aug 27, 2023
2 parents 9461884 + f6b3988 commit 1835ccb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/static/docs/check-vote-available.html
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ <h3 id="_응답">응답</h3>
"data" : {
"isPossible" : false,
"point" : 200,
"createdAt" : "2023-08-25 20:51:31"
"createdAt" : "2023-08-27 23:08:50"
}
}</code></pre>
</div>
Expand Down
29 changes: 23 additions & 6 deletions src/main/resources/static/docs/google.html
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ <h3 id="_응답">응답</h3>
"message" : "구글 구독 결제 검증 및 반영에 성공하였습니다.",
"data" : {
"productId" : "productId",
"expiredAt" : "2023-08-25T20:51:30.274390"
"expiredAt" : "2023-08-27T23:08:49.542865"
}
}</code></pre>
</div>
Expand All @@ -493,8 +493,21 @@ <h2 id="_google_열람권_구매_검증하기">Google 열람권 구매 검증하
<h3 id="_요청_2">요청</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight nowrap"><code class="language-http" data-lang="http">GET /api/v1/friend/recommend/school?page=0 HTTP/1.1
Authorization: Bearer your-access-token</code></pre>
<pre class="highlight nowrap"><code class="language-http" data-lang="http">POST /api/v1/purchase/google/verify/ticket HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer your-access-token
Content-Length: 214

{
"orderId" : "orderId",
"packageName" : "packageName",
"productId" : "productId",
"purchaseTime" : 1,
"purchaseState" : 1,
"purchaseToken" : "purchaseToken",
"quantity" : 1,
"acknowledged" : true
}</code></pre>
</div>
</div>
</div>
Expand All @@ -506,8 +519,12 @@ <h3 id="_응답_2">응답</h3>
Content-Type: application/json

{
"status" : 200,
"message" : "인앱결제 검증에 성공했습니다."
"status" : 201,
"message" : "구글 인앱 결제 검증 및 반영에 성공하였습니다.",
"data" : {
"productId" : "productId",
"ticketCount" : 0
}
}</code></pre>
</div>
</div>
Expand All @@ -518,7 +535,7 @@ <h3 id="_응답_2">응답</h3>
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2023-08-25 19:26:34 +0900
Last updated 2023-08-27 23:00:58 +0900
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ <h3 id="_pay_api"><a class="link" href="#_pay_api">Pay API</a></h3>
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2023-08-25 20:49:37 +0900
Last updated 2023-08-27 22:53:51 +0900
</div>
</div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/github.min.css">
Expand Down

0 comments on commit 1835ccb

Please sign in to comment.