Skip to content

Commit

Permalink
Merge pull request #44 from ODOICHON/feat/auth
Browse files Browse the repository at this point in the history
Feat/auth
  • Loading branch information
MoonMinHyuk1 authored Mar 20, 2023
2 parents 0bfb8fd + 5de0217 commit 84756b9
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 95 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@

### API ๋ช…์„ธ์„œ

- [์‚ฌ์šฉ์ž API ๋ช…์„ธ์„œ](https://odoichon.github.io/server/src/main/resources/static/docs/user.html)
- [๊ฒŒ์‹œํŒ API ๋ช…์„ธ์„œ](https://odoichon.github.io/server/src/main/resources/static/docs/ads-post.html)
- [์‚ฌ์šฉ์ž API ๋ช…์„ธ์„œ](https://odoichon.github.io/server/src/main/resources/static/docs/user.html)
114 changes: 57 additions & 57 deletions src/docs/asciidoc/ads-post.adoc
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
== ํ™๋ณด ๊ฒŒ์‹œํŒ API

=== 1. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ
==== Request
include::{snippets}/ads-post-create/http-request.adoc[]
==== Response
include::{snippets}/ads-post-create/http-response.adoc[]

`์‘๋‹ต ๋ฐ์ดํ„ฐ๋กœ ๋ฐ˜ํ™˜๋˜๋Š” ๊ฐ’์€ ๊ฒŒ์‹œ๊ธ€์˜ PK ๊ฐ’์ž…๋‹ˆ๋‹ค.`

=== 2. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์กฐํšŒ
==== Request
include::{snippets}/ads-post-create/http-request.adoc[]
==== Response
include::{snippets}/ads-post-create/http-response.adoc[]

=== 3. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •
==== Request
include::{snippets}/ads-post-update/http-request.adoc[]
==== Response
include::{snippets}/ads-post-update/http-response.adoc[]

=== 4. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์‚ญ์ œ
==== Request
include::{snippets}/ads-post-delete/http-request.adoc[]
==== Response
include::{snippets}/ads-post-delete/http-response.adoc[]

// === 5. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ๊ฒ€์ƒ‰
// ==== Request
// include::{snippets}/ads-post-search-all/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-search-all/http-response.adoc[]

=== 6. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ƒ์„ธ ์กฐํšŒ
==== Request
include::{snippets}/ads-post-get-one/http-request.adoc[]
==== Response
include::{snippets}/ads-post-get-one/http-response.adoc[]

=== 7. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ๋ง๋จธ๋ฆฌ ์กฐํšŒ
==== Request
include::{snippets}/ads-post-category/http-request.adoc[]
==== Response
include::{snippets}/ads-post-category/http-response.adoc[]

=== 8. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ž„์‹œ์ €์žฅ ๋ชฉ๋ก ์กฐํšŒ
==== Request
include::{snippets}/ads-post-get-temporary/http-request.adoc[]
==== Response
include::{snippets}/ads-post-get-temporary/http-response.adoc[]

==== 9. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ข‹์•„์š”
==== Request
include::{snippets}/ads-post-love/http-request.adoc[]
==== Response
include::{snippets}/ads-post-love/http-response.adoc[]
// == ํ™๋ณด ๊ฒŒ์‹œํŒ API
//
// === 1. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ
// ==== Request
// include::{snippets}/ads-post-create/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-create/http-response.adoc[]
//
// `์‘๋‹ต ๋ฐ์ดํ„ฐ๋กœ ๋ฐ˜ํ™˜๋˜๋Š” ๊ฐ’์€ ๊ฒŒ์‹œ๊ธ€์˜ PK ๊ฐ’์ž…๋‹ˆ๋‹ค.`
//
// === 2. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์กฐํšŒ
// ==== Request
// include::{snippets}/ads-post-create/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-create/http-response.adoc[]
//
// === 3. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •
// ==== Request
// include::{snippets}/ads-post-update/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-update/http-response.adoc[]
//
// === 4. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์‚ญ์ œ
// ==== Request
// include::{snippets}/ads-post-delete/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-delete/http-response.adoc[]
//
// // === 5. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ๊ฒ€์ƒ‰
// // ==== Request
// // include::{snippets}/ads-post-search-all/http-request.adoc[]
// // ==== Response
// // include::{snippets}/ads-post-search-all/http-response.adoc[]
//
// === 6. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ƒ์„ธ ์กฐํšŒ
// ==== Request
// include::{snippets}/ads-post-get-one/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-get-one/http-response.adoc[]
//
// === 7. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ๋ง๋จธ๋ฆฌ ์กฐํšŒ
// ==== Request
// include::{snippets}/ads-post-category/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-category/http-response.adoc[]
//
// === 8. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ž„์‹œ์ €์žฅ ๋ชฉ๋ก ์กฐํšŒ
// ==== Request
// include::{snippets}/ads-post-get-temporary/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-get-temporary/http-response.adoc[]
//
// ==== 9. ํ™๋ณด ๊ฒŒ์‹œ๊ธ€ ์ข‹์•„์š”
// ==== Request
// include::{snippets}/ads-post-love/http-request.adoc[]
// ==== Response
// include::{snippets}/ads-post-love/http-response.adoc[]
2 changes: 1 addition & 1 deletion src/docs/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ endif::[]

include::user.adoc[]

include::ads-post.adoc[]
// include::ads-post.adoc[]
Loading

0 comments on commit 84756b9

Please sign in to comment.