Skip to content

Commit

Permalink
🩹 GetMyUserInfoResponse - display ν•„λ“œ μΆ”κ°€ (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfogSW authored Nov 17, 2024
1 parent aba707b commit 490eae1
Showing 1 changed file with 73 additions and 1 deletion.
74 changes: 73 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ components:
description: μ‚¬μš©μžμ˜ μ „ν™”λ²ˆν˜Έ (ν•œκ΅­ νœ΄λŒ€ν° 번호 ν˜•μ‹)
pattern: '^01[0-9]{8,9}$'
profile:
$ref: '#/components/schemas/UserProfile'
$ref: '#/components/schemas/UserProfileDisplayInfo'
desiredPartner:
$ref: '#/components/schemas/UserDesiredPartner'
profileWidgets:
Expand Down Expand Up @@ -753,6 +753,78 @@ components:
- jobOccupation
- locationIds

UserProfileDisplayInfo:
type: object
description: μ‚¬μš©μž ν”„λ‘œν•„ ν‘œμ‹œ 정보
properties:
gender:
$ref: '#/components/schemas/Gender'
birthYear:
type: integer
description: μ‚¬μš©μžμ˜ μΆœμƒλ…„λ„
jobOccupation:
$ref: '#/components/schemas/JobOccupationDisplayInfo'
company:
$ref: '#/components/schemas/CompanyDisplayInfo'
locations:
type: array
items:
$ref: '#/components/schemas/LocationDisplayInfo'
description: ν™œλ™ 지역 정보 λͺ©λ‘
required:
- gender
- birthYear
- jobOccupation
- locations

# νšŒμ‚¬ ν‘œμ‹œ 정보
CompanyDisplayInfo:
type: object
description: νšŒμ‚¬ ν‘œμ‹œ 정보
properties:
id:
type: string
format: uuid
description: νšŒμ‚¬ μ‹λ³„μž
display:
type: string
description: 화면에 ν‘œμ‹œλ  νšŒμ‚¬λͺ…
required:
- id
- display

# 직ꡰ ν‘œμ‹œ 정보
JobOccupationDisplayInfo:
type: object
description: 직ꡰ ν‘œμ‹œ 정보
properties:
code:
$ref: '#/components/schemas/JobOccupation'
display:
type: string
description: 화면에 ν‘œμ‹œλ  직ꡰλͺ…
example: "IT/정보톡신"
required:
- code
- display

# 지역 ν‘œμ‹œ 정보
LocationDisplayInfo:
type: object
description: 지역 ν‘œμ‹œ 정보
properties:
id:
type: string
format: uuid
description: 지역 μ‹λ³„μž
display:
type: string
description: 화면에 ν‘œμ‹œλ  지역λͺ…
example: "강남ꡬ"
required:
- id
- display

UserDesiredPartner:
type: object
description: μ‚¬μš©μžκ°€ μ›ν•˜λŠ” νŒŒνŠΈλ„ˆμ˜ 쑰건
Expand Down

0 comments on commit 490eae1

Please sign in to comment.