You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dlvp/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The route plugin exposes a dynamic endpoint that returns structured elements fro
45
45
46
46
```yaml
47
47
routes:
48
-
- name: dynamic-list
48
+
- type: dynamic-list
49
49
route: /api/something
50
50
url: https://external-api.com/api/personnes
51
51
method: GET
@@ -156,7 +156,7 @@ entities:
156
156
157
157
- The plugin consists of two types:
158
158
- **Validation plugin** (`type: dynamic-list`): validates that a value is included in the list fetched from the external API. Only the `value` field of each element is used for comparison.
159
-
- **Route plugin** (`name: dynamic-list`): exposes a configurable endpoint (via `route`) returning structured elements as a paginated `Page<DynamicListEntry>` response, where `DynamicListEntry` is a record with `label` and `value` fields.
159
+
- **Route plugin** (`type: dynamic-list`): exposes a configurable endpoint (via `route`) returning structured elements as a paginated `Page<DynamicListEntry>` response, where `DynamicListEntry` is a record with `label` and `value` fields.
160
160
161
161
- Both plugins share a common HTTP service (`HttpService`) that sends an HTTP request to the configured `url` with optional `headers` and `body`, and returns the raw response body.
0 commit comments