fix: missing openapi schema change

This commit is contained in:
Julian Lam
2024-06-14 11:57:38 -04:00
parent f6d4d5630e
commit e9a0d49593

View File

@@ -36,6 +36,24 @@ get:
approved:
type: boolean
description: Whether the follow request has been accepted
followers:
type: array
items:
type: object
properties:
userslug:
type: string
description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
example: dragon-fruit
picture:
type: string
description: A URL pointing to a picture to be used as the user's avatar
example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80'
nullable: true
uid:
type: number
description: A user identifier
example: 1
selectedCategory:
$ref: ../../../../../components/schemas/CategoryObject.yaml#/CategoryObject
- $ref: ../../../../../components/schemas/CommonProps.yaml#/CommonProps