Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthyk committed Jan 29, 2024
1 parent f89967c commit 17a0892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ You can provide all the [fastify route's options](https://www.fastify.io/docs/la
### transformRouteOptions

This option can be used to determine which properties of the route options are included in the overview.
The function receives the [RouteOption](https://github.com/fastify/fastify/blob/62f564d965949bc123184a27a610f214f23e9a49/types/hooks.d.ts#L695)
The function receives the [RouteOptions](https://github.com/fastify/fastify/blob/62f564d965949bc123184a27a610f214f23e9a49/types/hooks.d.ts#L695)
object as the only parameter and must return an object with the desired properties.
The hooks and, depending on the [configuration](#addsource), the source are then also appended to the final object.
The default value if no function is given is:
Expand Down

0 comments on commit 17a0892

Please sign in to comment.