$ref).components:
demoComponent: # id for the component
log: {} # referenceable plugin
---
api:
port: 2000
flow:
- $ref: '#/components/demoComponent' # references the demo component
components:
demoComponent: # id for the component
log: {} # referenceable plugin
---
api:
port: 2000
flow:
- $ref: '#/components/demoComponent' # references the demo component
Syntax
components:
<id>:
<component>: {}
components:
<id>:
<component>: {}
Child Structure
| Element | Cardinality | Description |
|---|---|---|
| Component | 0..* |
Can be used in
No parent elements.