chore: tweak memo definition

This commit is contained in:
Steven
2024-05-22 21:52:41 +08:00
parent e0600388b2
commit d3235f75f3
4 changed files with 452 additions and 428 deletions

View File

@ -903,15 +903,9 @@ paths:
type: string
pinned:
type: boolean
property:
$ref: '#/definitions/v1MemoProperty'
readOnly: true
parent:
type: string
description: |-
The name of the parent memo.
Format: memos/{id}
id is the system generated id.
parentId:
type: integer
format: int32
readOnly: true
resources:
type: array
@ -931,6 +925,15 @@ paths:
type: object
$ref: '#/definitions/v1Reaction'
readOnly: true
property:
$ref: '#/definitions/v1MemoProperty'
readOnly: true
parent:
type: string
title: |-
The name of the parent memo.
Format: memos/{id}
readOnly: true
tags:
- MemoService
/api/v1/{name_1}:
@ -2658,15 +2661,9 @@ definitions:
type: string
pinned:
type: boolean
property:
$ref: '#/definitions/v1MemoProperty'
readOnly: true
parent:
type: string
description: |-
The name of the parent memo.
Format: memos/{id}
id is the system generated id.
parentId:
type: integer
format: int32
readOnly: true
resources:
type: array
@ -2686,6 +2683,15 @@ definitions:
type: object
$ref: '#/definitions/v1Reaction'
readOnly: true
property:
$ref: '#/definitions/v1MemoProperty'
readOnly: true
parent:
type: string
title: |-
The name of the parent memo.
Format: memos/{id}
readOnly: true
v1MemoProperty:
type: object
properties: