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: docs/plugins.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,11 @@ Route processing is performed in four stages:
8
8
- queryParameters
9
9
- responses
10
10
11
-
For each stage, the Generator attempts one or more configured strategies to fetch data. The Generator will call of the strategies configured, progressively combining their results together before to produce the final output of that stage.
11
+
For each stage, the Generator attempts the specified strategies to fetch data. The Generator will call of the strategies configured, progressively combining their results together before to produce the final output of that stage.
12
+
13
+
There are a number of strategies inccluded with the package, so you don't have to set up anything to get it working.
14
+
15
+
> Note: The included ResponseCalls strategy is designed to stop if a response has already been gotten from any other strategy.
12
16
13
17
## Strategies
14
18
To create a strategy, create a class that extends `\Mpociot\ApiDoc\Strategies\Strategy`.
0 commit comments