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

[Feature] swagger 암호화 추가 #302

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

stae1102
Copy link
Member

⛳️ 기능 구현 배경


스웨거에 민감한 API가 많아서 암호화를 추가합니다.

😤 기능 구현 내용(Optional)


스웨거 빌드 이전 미들웨어로 넣으면 됩니다.

  app.use(
    basicAuth({
      users: { [envService.get<string>(EnvEnum.SWAGGER_USER)]: envService.get<string>(EnvEnum.SWAGGER_PASSWORD) },
      challenge: true,
    }),
  );

  const config = new DocumentBuilder()
    .setTitle('13기 4팀 서버')
    .setDescription(swaggerDescriptionMd)

📭 이슈 번호


#291

🧐 의견 구하기


🙏 P.S


@stae1102 stae1102 added the 🔥 enhancement 코드 미친 강화 label Jul 11, 2023
@stae1102 stae1102 self-assigned this Jul 11, 2023
Copy link
Member

@PracticeEveryday PracticeEveryday left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 enhancement 코드 미친 강화
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants