|
| 1 | +# yaml-language-server: $schema=https://spec.openapis.org/oas/3.1/schema/2021-05-20 |
| 2 | +--- |
| 3 | +# for the intellisense |
| 4 | +openapi: "3.1.0" |
| 5 | +info: { title: "", version: "" } |
| 6 | + |
| 7 | +components: |
| 8 | + schemas: |
| 9 | + Background: |
| 10 | + title: Background |
| 11 | + description: | |
| 12 | + 사용자가 사용할 수 있는 배경입니다. |
| 13 | + type: "object" |
| 14 | + required: |
| 15 | + - backgroundId |
| 16 | + - backgroundImageUrl |
| 17 | + - unlockedUserCount |
| 18 | + - displayName |
| 19 | + - displayDescription |
| 20 | + - conditions |
| 21 | + - hiddenConditions |
| 22 | + - isIllust |
| 23 | + - authors |
| 24 | + properties: |
| 25 | + backgroundId: |
| 26 | + description: "배경의 ID입니다." |
| 27 | + type: "string" |
| 28 | + example: "hanbyeol_stars" |
| 29 | + backgroundImageUrl: |
| 30 | + description: "배경 사진으로 가는 하이퍼링크입니다." |
| 31 | + type: "string" |
| 32 | + example: "https://static.solved.ac/profile_bg/hanbyeol_stars/hanbyeol_stars.jpg" |
| 33 | + fallbackBackgroundImageUrl: |
| 34 | + description: "배경 사진이 없을 때 대체로 사용할 사진으로 가는 하이퍼링크입니다." |
| 35 | + type: "string" |
| 36 | + nullable: true |
| 37 | + example: null |
| 38 | + backgroundVideoUrl: |
| 39 | + description: "배경 비디오로 가는 하이퍼링크입니다." |
| 40 | + type: "string" |
| 41 | + nullable: true |
| 42 | + example: null |
| 43 | + unlockedUserCount: |
| 44 | + description: "해당 배경을 획득한 사용자의 수입니다." |
| 45 | + type: "integer" |
| 46 | + format: "int64" |
| 47 | + example: 1394 |
| 48 | + displayName: |
| 49 | + description: "배경의 이름입니다." |
| 50 | + type: "string" |
| 51 | + example: "Stars in the Evening Sky" |
| 52 | + displayDescription: |
| 53 | + description: "배경의 설명입니다." |
| 54 | + type: "string" |
| 55 | + example: "She who has a star in her heart never gets lost in the dark" |
| 56 | + conditions: |
| 57 | + description: "해당 배경을 얻을 수 있는 조건입니다." |
| 58 | + type: "string" |
| 59 | + example: "Bought the background at the coin shop" |
| 60 | + hiddenConditions: |
| 61 | + description: "해당 배경을 얻을 수 있는 조건이 숨겨져 있는지 여부입니다." |
| 62 | + type: "boolean" |
| 63 | + example: false |
| 64 | + isIllust: |
| 65 | + description: "해당 배경이 일러스트인지 여부입니다." |
| 66 | + type: "boolean" |
| 67 | + example: true |
| 68 | + authors: |
| 69 | + description: "해당 배경을 만든 사람들의 정보입니다." |
| 70 | + type: "array" |
| 71 | + items: |
| 72 | + type: "object" |
| 73 | + properties: |
| 74 | + authorId: |
| 75 | + description: "작가의 ID입니다." |
| 76 | + type: "string" |
| 77 | + example: "havana723" |
| 78 | + role: |
| 79 | + description: "작가의 역할입니다." |
| 80 | + type: "string" |
| 81 | + example: "Illustration" |
| 82 | + authorUrl: |
| 83 | + description: "작가의 홈페이지로 가는 하이퍼링크입니다." |
| 84 | + type: "string" |
| 85 | + nullable: true |
| 86 | + example: null |
| 87 | + handle: |
| 88 | + description: "작가의 사용자 ID입니다." |
| 89 | + type: "string" |
| 90 | + example: "havana723" |
| 91 | + twitter: |
| 92 | + description: "작가의 트위터 ID입니다." |
| 93 | + type: "string" |
| 94 | + nullable: true |
| 95 | + example: null |
| 96 | + instagram: |
| 97 | + description: "작가의 인스타그램 ID입니다." |
| 98 | + type: "string" |
| 99 | + nullable: true |
| 100 | + example: null |
| 101 | + displayName: |
| 102 | + description: "작가의 이름입니다." |
| 103 | + type: "string" |
| 104 | + example: "havana723" |
0 commit comments