Skip to content

Commit

Permalink
Merge pull request #28 from soodgarak/Feat/get-recipe-list
Browse files Browse the repository at this point in the history
Feat: Query Parameter 소문자 통일
  • Loading branch information
ratcomp9992 authored Sep 2, 2024
2 parents 36557b5 + 141cf97 commit a90a3d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ public record RecipeRequest(
Integer page
) {
public RecipeRequest(String category, String keyword, String mbti, Integer page) {
this.category = category;
this.category = category != null ? category.toLowerCase() : null;
this.keyword = keyword != null ? keyword.toLowerCase() : null;
this.mbti = mbti;
this.mbti = mbti != null ? keyword.toLowerCase() : null;
this.page = page;
}
}
27 changes: 0 additions & 27 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,27 +0,0 @@
spring:
jpa:
show-sql: true
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: validate
datasource:
url: jdbc:mysql://soodgarak-db.cfag6omiojwb.ap-northeast-2.rds.amazonaws.com:3306/soodgarak?useSSL=false&serverTimezone=Asia/Seoul&characterEncoding=UTF-8
driver-class-name: com.mysql.cj.jdbc.Driver
username: admin
password: soodgarakDB12345!

# Redis
redis:
host: localhost
port: 6379
password: ""
#password: soodgarakREDIS12345!

# Swagger
springdoc:
version: '@project.version@'
swagger-ui:
path: /swagger # http://localhost:8080/swagger-ui/index.html로 리다이렉션 됨
doc-expansion: none # 문서의 기본 확장 상태 설정. none으로 설정하면 사용자가 클릭해서 펼쳐야 한다.

0 comments on commit a90a3d9

Please sign in to comment.