mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
custom comment properties in all project schemas
This commit is contained in:
@@ -54,3 +54,4 @@ value:
|
||||
createdAt: '2014-05-21T08:51:20.396Z'
|
||||
updatedAt: '2014-05-21T08:51:20.396Z'
|
||||
customField123: 123
|
||||
customComment123: Why is the value 123?
|
||||
|
||||
@@ -7,6 +7,7 @@ value:
|
||||
description:
|
||||
raw: Lorem **ipsum** dolor sit amet
|
||||
customField123: 123
|
||||
customComment123: Because it is 123!
|
||||
_links:
|
||||
parent:
|
||||
href: "/api/v3/portfolios/123"
|
||||
|
||||
@@ -54,3 +54,4 @@ value:
|
||||
createdAt: '2014-05-21T08:51:20.396Z'
|
||||
updatedAt: '2014-05-21T08:51:20.396Z'
|
||||
customField123: 123
|
||||
customComment123: Why is the value 123?
|
||||
|
||||
@@ -7,6 +7,7 @@ value:
|
||||
description:
|
||||
raw: Lorem **ipsum** dolor sit amet
|
||||
customField123: 123
|
||||
customComment123: Because it is 123!
|
||||
_links:
|
||||
parent:
|
||||
href: "/api/v3/programs/123"
|
||||
|
||||
@@ -54,3 +54,4 @@ value:
|
||||
createdAt: '2014-05-21T08:51:20.396Z'
|
||||
updatedAt: '2014-05-21T08:51:20.396Z'
|
||||
customField123: 123
|
||||
customComment123: Why is the value 123?
|
||||
|
||||
@@ -7,6 +7,7 @@ value:
|
||||
description:
|
||||
raw: Lorem **ipsum** dolor sit amet
|
||||
customField123: 123
|
||||
customComment123: Because it is 123!
|
||||
_links:
|
||||
parent:
|
||||
href: "/api/v3/projects/123"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
---
|
||||
allOf:
|
||||
- $ref: "./custom_field_properties.yml"
|
||||
- $ref: "./custom_comment_properties.yml"
|
||||
- type: object
|
||||
properties:
|
||||
_type:
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
---
|
||||
allOf:
|
||||
- $ref: "./custom_field_properties.yml"
|
||||
- $ref: "./custom_comment_properties.yml"
|
||||
- type: object
|
||||
properties:
|
||||
_type:
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
---
|
||||
allOf:
|
||||
- $ref: "./custom_field_properties.yml"
|
||||
- $ref: "./custom_comment_properties.yml"
|
||||
- type: object
|
||||
properties:
|
||||
_type:
|
||||
|
||||
@@ -96,6 +96,8 @@ properties:
|
||||
patternProperties:
|
||||
"^customField\\d+$":
|
||||
$ref: './schema_property_model.yml'
|
||||
"^customComment\\d+$":
|
||||
$ref: './schema_property_model.yml'
|
||||
|
||||
example:
|
||||
_type: Schema
|
||||
@@ -232,6 +234,12 @@ example:
|
||||
hasDefault: false
|
||||
writable: true
|
||||
visibility: default
|
||||
customComment35:
|
||||
type: String
|
||||
name: Text project custom field comment
|
||||
required: false
|
||||
hasDefault: false
|
||||
writable: true
|
||||
_links:
|
||||
self:
|
||||
href: "/api/v3/workspaces/schema"
|
||||
|
||||
Reference in New Issue
Block a user