Skip to content

Conversation

@yongjun0511
Copy link
Collaborator

#️⃣ Issue Number

📝 요약(Summary)

  • 도메인 변화에 따른 스웨거 경로 수정

💬 공유사항 to 리뷰어

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

@yongjun0511 yongjun0511 self-assigned this Oct 22, 2025
@yongjun0511 yongjun0511 added the feat 개발, 구현 label Oct 22, 2025
@yongjun0511 yongjun0511 linked an issue Oct 22, 2025 that may be closed by this pull request
@gemini-code-assist
Copy link

Summary of Changes

Hello @yongjun0511, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 도메인 변경에 따른 스웨거 경로의 유연한 관리를 위해 설정 파일을 업데이트합니다. 기존에 하드코딩되어 있던 스웨거 URL을 환경 변수를 통해 동적으로 설정할 수 있도록 변경하여, 배포 환경에 따라 쉽게 경로를 조정할 수 있도록 개선했습니다.

Highlights

  • 스웨거 경로 환경 변수화: 개발 및 운영 환경의 스웨거 URL이 하드코딩된 값 대신 EATSSU_DEV_DOMAINEATSSU_PROD_DOMAIN 환경 변수를 참조하도록 수정되었습니다. 이는 도메인 변경에 유연하게 대응하기 위함입니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


환경 변수, 경로를 유연하게, 배포는 쉬워라.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@yongjun0511 yongjun0511 merged commit 98a7d82 into develop Oct 22, 2025
@yongjun0511 yongjun0511 deleted the feature/#264-swagger-fix branch October 22, 2025 07:56
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

스웨거 URL 설정을 하드코딩된 값에서 환경 변수를 사용하도록 변경하여 구성의 유연성을 높인 점이 좋습니다. 다만, ..._DOMAIN이라는 변수명이 프로토콜을 포함한 전체 URL을 값으로 가질 경우 혼란을 야기할 수 있어, 설정 파일에서 프로토콜을 명시적으로 추가하고 환경 변수에는 순수 도메인만 저장하도록 변경하는 것을 제안했습니다. 이를 통해 설정의 명확성을 높이고 잠재적인 설정 오류를 방지할 수 있습니다.

#Swagger
swagger:
url: https://dev.eat-ssu.store
url: ${EATSSU_DEV_DOMAIN}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

환경 변수명이 ..._DOMAIN으로 끝나, dev.eat-ssu.store와 같이 프로토콜이 없는 도메인 이름만 포함할 것으로 예상됩니다. 하지만 실제로는 https://를 포함한 전체 URL이 필요해 보입니다. 이러한 불일치는 향후 설정을 관리할 때 혼란을 야기할 수 있습니다.

변수명의 의도를 명확히 하기 위해, 아래와 같이 코드에서 프로토콜을 직접 추가하고 환경 변수에는 순수 도메인 이름만 저장하는 것을 권장합니다.

  url: https://${EATSSU_DEV_DOMAIN}

#Swagger
swagger:
url: https://eat-ssu.store
url: ${EATSSU_PROD_DOMAIN}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

dev 환경과 마찬가지로, EATSSU_PROD_DOMAIN 변수명 또한 프로토콜이 없는 순수 도메인 이름을 값으로 가질 것으로 예상됩니다. 설정의 일관성과 명확성을 위해 dev 환경에 제안한 것과 동일한 방식으로 수정하는 것을 권장합니다.

  url: https://${EATSSU_PROD_DOMAIN}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 개발, 구현

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: 도메인 수정

2 participants