Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[✨ 기능 요청] Survey 조회 스키마 변경사항 적용 #28

Open
toothlessdev opened this issue Jan 4, 2025 · 0 comments
Open
Assignees

Comments

@toothlessdev
Copy link
Member

✨ 기능 설명

  • 설문지 조회 스키마에서 sliderdoubleSlideroptions 필드에 존재했던 단위를 optionDelimeter 로 분리되었습니다.
  • optionDelimeter 가 존재하지 않는 경우는 null 값을 넘겨줍니다.
{
    "id": 1,
    "title": "설문지ver1",
    "description": "설문지 설명",
    "questions": [
        {
            "id": 1,
            "title": "질문 제목",
            "type": "DoubleSlider",
            "optionDelimiter": "",
            "options": [
                { "label": "min", "value": "4" },
                { "label": "max", "value": "12" }
            ]
        },
        {
            "id": 2,
            "title": "잠귀",
            "type": "slider",
            "optionDelimiter": null,
            "options": [
                { "label": "어두움", "value": "1" },
                { "label": "밝음", "value": "5" }
            ]
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 할일
Development

No branches or pull requests

1 participant