Skip to content

Commit

Permalink
Reverting automated formatting from Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
alx-zhu committed Oct 10, 2024
1 parent 5c3c277 commit 9540c07
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions public/openapi/components/schemas/TopicObject.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TopicObject:
allOf:
- $ref: "#/TopicObjectSlim"
- $ref: '#/TopicObjectSlim'
- type: object
properties:
lastposttime:
Expand Down Expand Up @@ -45,8 +45,7 @@ TopicObject:
type: string
userslug:
type: string
description:
An URL-safe variant of the username (i.e. lower-cased, spaces
description: An URL-safe variant of the username (i.e. lower-cased, spaces
removed, etc.)
reputation:
type: number
Expand All @@ -64,14 +63,12 @@ TopicObject:
type: string
icon:text:
type: string
description:
A single-letter representation of a username. This is used in the
description: A single-letter representation of a username. This is used in the
auto-generated icon given to users without
an avatar
icon:bgColor:
type: string
description:
A six-character hexadecimal colour code assigned to the user. This
description: A six-character hexadecimal colour code assigned to the user. This
value is used in conjunction with
`icon:text` for the user's auto-generated
icon
Expand Down Expand Up @@ -120,22 +117,19 @@ TopicObject:
description: A friendly name for a given user account
userslug:
type: string
description:
An URL-safe variant of the username (i.e. lower-cased, spaces
description: An URL-safe variant of the username (i.e. lower-cased, spaces
removed, etc.)
picture:
nullable: true
type: string
icon:text:
type: string
description:
A single-letter representation of a username. This is used in the
description: A single-letter representation of a username. This is used in the
auto-generated icon given to users
without an avatar
icon:bgColor:
type: string
description:
A six-character hexadecimal colour code assigned to the user. This
description: A six-character hexadecimal colour code assigned to the user. This
value is used in conjunction with
`icon:text` for the user's
auto-generated icon
Expand Down Expand Up @@ -237,8 +231,7 @@ TopicObjectSlim:
type: number
pinned:
type: number
description:
Whether or not this particular topic is pinned to the top of the
description: Whether or not this particular topic is pinned to the top of the
category
timestamp:
type: number
Expand Down Expand Up @@ -294,4 +287,4 @@ TopicObjectSlim:
type: number
description: The number of thumbnails associated with this topic
required:
- tid
- tid

0 comments on commit 9540c07

Please sign in to comment.