Skip to content

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.

3 participants