Skip to content

Commit

Permalink
update to add line nums for consistency with classic API section
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Pears committed Aug 20, 2024
1 parent 1f24f24 commit 2badf99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The Dashboard supports the separate `BreakerTripped` and `BreakerReset` events,

The example API Definition below configures an API to listen on path `/httpbin-timeout-breaker` and forwards requests upstream to http://httpbin.org. A hard timeout value of 2 seconds is configured for path `/delay/{delay_seconds}`. This will return a `504 Gateway Timeout` response to the client if the upstream response is not received before expiry of the timer.

```yaml
```yaml {linenos=true, linenostart=1}
apiVersion: tyk.tyk.io/v1alpha1
kind: ApiDefinition
metadata:
Expand Down

0 comments on commit 2badf99

Please sign in to comment.