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

API path 변경, readme.md 생성, Swagger UI, H2 Console 링크 노출, DELETE http method 삭제 #72

Merged
merged 11 commits into from
Apr 25, 2024

Conversation

zhyunk
Copy link
Contributor

@zhyunk zhyunk commented Apr 25, 2024

API Path 변경

user 어플리케이션, article 어플리케이션을 알기 어려운 api path였다.
api path만으로 알아 볼 수 있도록 user 어플리케이션의 api에는 /api/user 를 prefix로,
article 어플리케이션의 api에는 /api/article을 prefix로 갖도록 변경

closed #67


readme.md 생성

오랜만에 프로젝트를 실행하니 문서를 찾아보느라 시간을 많이 썼다.
readme.md에 핵심만 정리되어있어도 나중에 프로젝트를 돌아보기 좋을 것 같아서 생성

closed #68


Swagger UI, H2 Console 링크 노출

오랜만에 프로젝트를 실행했을 때 http 실행 파일을 보기 보다는 swagger ui와 h2 web console을 실행하고 싶었다.
아무래도 ui가 눈에 잘 들어오게끔 구성되어있어서 그런것 같았다 (개인 생각)
그래서 리팩토링 하는김에 이들의 링크를 노출시킴

closed #69


DELETE HTTP Method 삭제

DELETE 메서드를 삭제하고 POST 메서드를 사용하는 방향으로 수정

closed #71


swagger 관련 작업을 진행하면서 security의 requestMatchers에서 사용한 MvcRequestMatcher 삭제

issue key : #69
http method의 delete를 사용 하지 않는 방향으로 수정

issue key : #71
http method의 delete를 사용 하지 않는 방향으로 수정

issue key : #71
- http method의 delete를 사용 하지 않는 방향으로 수정

issue key : #71
그런데 article swagger가 접속이 안되기 시작했다 🥲

issue : #67, #69
접속 방법
1. localhost:8080/h2-console
2. localhost:8080/api/user/h2-console
3. localhost:8080/api/article/h2-console
@zhyunk zhyunk merged commit 29af8a5 into main Apr 25, 2024
@zhyunk zhyunk deleted the feature/FIX-API-URL branch April 25, 2024 13:50
@zhyunk zhyunk restored the feature/FIX-API-URL branch April 26, 2024 02:02
@zhyunk zhyunk deleted the feature/FIX-API-URL branch April 26, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DELETE Method 변경 swagger(spring doc) link 살리기 readme.md 작성 api 접근 url 수정
1 participant