Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -910,9 +910,13 @@
},
"description": {
"type": "string",
"description": "A brief description of the collection, markdown supported.",
"description": "A brief description of the collection, markdown supported. Only one of `description` or `data` may be provided.",
"example": "HR documentation is confidential and should be handled with care."
},
"data": {
"type": "object",
"description": "The collection description as a rich-text ProseMirror JSON document. Only one of `description` or `data` may be provided."
},
"permission": {
"$ref": "#/components/schemas/Permission"
},
Expand Down Expand Up @@ -999,9 +1003,13 @@
},
"description": {
"type": "string",
"description": "A brief description of the collection, markdown supported.",
"description": "A brief description of the collection, markdown supported. Only one of `description` or `data` may be provided.",
"example": "HR documentation is confidential and should be handled with care."
},
"data": {
"type": "object",
"description": "The collection description as a rich-text ProseMirror JSON document. Only one of `description` or `data` may be provided."
},
"permission": {
"$ref": "#/components/schemas/Permission"
},
Expand Down
10 changes: 8 additions & 2 deletions spec3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -808,8 +808,11 @@ paths:
example: Human Resources
description:
type: string
description: A brief description of the collection, markdown supported.
description: A brief description of the collection, markdown supported. Only one of `description` or `data` may be provided.
example: HR documentation is confidential and should be handled with care.
data:
type: object
description: The collection description as a rich-text ProseMirror JSON document. Only one of `description` or `data` may be provided.
permission:
"$ref": "#/components/schemas/Permission"
icon:
Expand Down Expand Up @@ -868,8 +871,11 @@ paths:
example: Human Resources
description:
type: string
description: A brief description of the collection, markdown supported.
description: A brief description of the collection, markdown supported. Only one of `description` or `data` may be provided.
example: HR documentation is confidential and should be handled with care.
data:
type: object
description: The collection description as a rich-text ProseMirror JSON document. Only one of `description` or `data` may be provided.
permission:
"$ref": "#/components/schemas/Permission"
icon:
Expand Down
Loading