Skip to content

Commit 14f3cbc

Browse files
committed
fix: apply comments
1 parent 84283b6 commit 14f3cbc

File tree

6 files changed

+16
-17
lines changed

6 files changed

+16
-17
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
compositionObjectID:
2+
type: string
3+
example: 'my_composition_object_id'
4+
description: Composition unique identifier.
5+
6+
compositionRuleObjectID:
7+
type: string
8+
example: 'my_composition_rule_object_id'
9+
description: Composition rule unique identifier.

specs/composition-full/common/schemas/components/Composition.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ composition:
33
additionalProperties: false
44
properties:
55
objectID:
6-
$ref: '#/objectID'
6+
$ref: '../Identifiers.yml#/compositionObjectID'
77
name:
88
type: string
99
description: Composition name.
@@ -17,9 +17,4 @@ composition:
1717
required:
1818
- objectID
1919
- behavior
20-
- name
21-
22-
objectID:
23-
type: string
24-
example: 'my_composition_object_id'
25-
description: Composition unique identifier.
20+
- name

specs/composition-full/common/schemas/components/CompositionRule.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ compositionRule:
33
additionalProperties: false
44
properties:
55
objectID:
6-
$ref: '../../../../common/parameters.yml#/objectID'
6+
$ref: '../Identifiers.yml#/compositionRuleObjectID'
77
conditions:
88
type: array
99
minItems: 0
@@ -76,9 +76,4 @@ anchoring:
7676
- `contains`. The pattern must match anywhere in the query.
7777
7878
Empty queries are only allowed as patterns with `anchoring: is`.
79-
enum: [is, startsWith, endsWith, contains]
80-
81-
objectID:
82-
type: string
83-
example: 'my_composition_rule_object_id'
84-
description: Composition rule unique identifier.
79+
enum: [is, startsWith, endsWith, contains]

specs/composition-full/common/schemas/requestBodies/BatchCompositionAction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ deleteCompositionAction:
44
additionalProperties: false
55
properties:
66
objectID:
7-
$ref: '../components/Composition.yml#/objectID'
7+
$ref: '../Identifiers.yml#/compositionObjectID'
88
required:
99
- objectID
1010

specs/composition-full/common/schemas/requestBodies/RulesBatchCompositionAction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ deleteCompositionRuleAction:
44
additionalProperties: false
55
properties:
66
objectID:
7-
$ref: '../components/CompositionRule.yml#/objectID'
7+
$ref: '../Identifiers.yml#/compositionRuleObjectID'
88
required:
99
- objectID
1010

specs/composition-full/paths/urlParams.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ compositionID:
44
description: Unique Composition ObjectID.
55
required: true
66
schema:
7-
$ref: '../common/schemas/components/Composition.yml#/objectID'
7+
$ref: '../common/schemas/Identifiers.yml#/compositionObjectID'

0 commit comments

Comments
 (0)