[Improvement] X-Service-Code 미들웨어 경로 제외 수정 #59
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#59
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
X-Service-Code 미들웨어가 불필요한 API 경로에도 적용되는 문제를 수정합니다.
문제점
현재
/v1/out,/swagger,/health만 제외하고 있어서 Auth, Account, Public, Service 관리 API 모두 X-Service-Code 헤더를 요구하는 상태./v1/in/auth/*/v1/in/account/*/v1/in/public/*/v1/in/service/*X-Service-Code가 필요한 API: device, message, push, stats, file (서비스 "안에서" 동작하는 API)
체크리스트
SPMS.API/Middlewares/ServiceCodeMiddleware.cs— auth, account, public, service 경로 제외 추가SPMS.API/Filters/SpmsHeaderOperationFilter.cs— Swagger에서 해당 경로 X-Service-Code Required=false 처리dotnet build성공 확인