Skip to content

Commit

Permalink
refactor(User) : 유저 커넥션 활성상태 컴포넌트화 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfogSW authored Jan 5, 2025
1 parent 4a5e747 commit 6744d1f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -823,12 +823,15 @@ components:
type: array
items:
$ref: '#/components/schemas/ProfileWidget'
status:
$ref: '#/components/schemas/ConnectionStatus'
required:
- name
- phoneNumber
- profile
- desiredPartner
- profileWidgets
- status

UpdateMyUserInfoRequest:
type: object
Expand Down Expand Up @@ -1216,19 +1219,15 @@ components:
type: object
properties:
status:
type: string
enum: [ ACTIVE, INACTIVE ]
description: "변경할 커넥션 상태 (ACTIVE: 활성화, INACTIVE: 비활성화)"
$ref: '#/components/schemas/ConnectionStatus'
required:
- status

UpdateConnectionStatusResponse:
type: object
properties:
status:
type: string
enum: [ ACTIVE, INACTIVE ]
description: 현재 커넥션 상태
$ref: '#/components/schemas/ConnectionStatus'
required:
- status

Expand Down Expand Up @@ -1289,3 +1288,8 @@ components:
- id
- url
- extension

ConnectionStatus:
type: string
enum: [ ACTIVE, INACTIVE ]
description: 커넥션 활성화 상태

0 comments on commit 6744d1f

Please sign in to comment.