mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: tweak memo definition
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user