From 94155a6b35f1adcd078071e90bf8e51d82a7de5b Mon Sep 17 00:00:00 2001 From: San Kim Date: Sun, 5 Jan 2025 21:29:49 +0900 Subject: [PATCH] =?UTF-8?q?refactor(User)=20:=20=EC=9C=A0=EC=A0=80=20?= =?UTF-8?q?=EC=BB=A4=EB=84=A5=EC=85=98=20=ED=99=9C=EC=84=B1=EC=83=81?= =?UTF-8?q?=ED=83=9C=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 11f9398..99543c3 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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 @@ -1216,9 +1219,7 @@ components: type: object properties: status: - type: string - enum: [ ACTIVE, INACTIVE ] - description: "변경할 커넥션 상태 (ACTIVE: 활성화, INACTIVE: 비활성화)" + $ref: '#/components/schemas/ConnectionStatus' required: - status @@ -1226,9 +1227,7 @@ components: type: object properties: status: - type: string - enum: [ ACTIVE, INACTIVE ] - description: 현재 커넥션 상태 + $ref: '#/components/schemas/ConnectionStatus' required: - status @@ -1289,3 +1288,8 @@ components: - id - url - extension + + ConnectionStatus: + type: string + enum: [ ACTIVE, INACTIVE ] + description: 커넥션 활성화 상태