Skip to content

Commit

Permalink
fix: escape interpolation syntax in md files
Browse files Browse the repository at this point in the history
  • Loading branch information
lmammino committed Nov 15, 2023
1 parent ebf1f83 commit 82e635e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/routers/http-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm install --save @middy/http-router

## Options

- `routes` (array[{method, path, handler}]) (required): Array of route objects.
- `routes` (array[\{method, path, handler\}]) (required): Array of route objects.
- `method` (string) (required): One of `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `OPTIONS` and `ANY` that will match to any method passed in
- `path` (string) (required): AWS formatted path starting with `/`. Variable: `/{id}/`, Wildcard: `/{proxy+}`
- `handler` (function) (required): Any `handler(event, context)` function
Expand Down
2 changes: 1 addition & 1 deletion website/docs/routers/ws-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm install --save @middy/ws-router

## Options

- `routes` (array[{routeKey, handler}]) (required): Array of route objects.
- `routes` (array[\{routeKey, handler\}]) (required): Array of route objects.
- `routeKey` (string) (required): AWS formatted route key. ie `$connect`, `$disconnect`, `$default`
- `handler` (function) (required): Any `handler(event, context, {signal})` function

Expand Down

0 comments on commit 82e635e

Please sign in to comment.