Skip to content

Commit

Permalink
[Chore] gitignore 수정
Browse files Browse the repository at this point in the history
resources 전체 무시 -> database.yml, oauth2.yml만 무시
  • Loading branch information
choeun7 committed Jan 18, 2024
1 parent e24d4a1 commit 495b03d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ out/
.LSOverride

### Project security ###
**/resources/
/src/main/resources/database/
/src/main/resources/oauth2/
Dockerfile
docker-compose.yaml
deploy_*.sh
Expand Down
27 changes: 27 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# logging 설정
logging:
level:
org:
hibernate:
type:
descriptor:
sql: debug

# console 색상
spring:
output:
ansi:
enabled: always
mvc:
pathmatch:
matching-strategy: ant_path_matcher


# 오류 처리
server:
error:
include-exception: true
include-stacktrace: always

#port 설정
port: 8080
14 changes: 14 additions & 0 deletions src/main/resources/swagger/application-springdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
springdoc:
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
swagger-ui:
path: swagger
disable-swagger-default-url: true
display-request-duration: true
operations-sorter: method
doc-expansion: none

# enabled: false
# query-config-enabled: false
# api-docs:
# enabled: false

0 comments on commit 495b03d

Please sign in to comment.