Skip to content

Commit

Permalink
docs: using autoloader for swagger is fine (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-michelet authored Jun 7, 2024
1 parent e01cd7b commit 5087c9f
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 @@ -133,7 +133,7 @@ fastify.swagger()
<a name="usage.fastify.autoload"></a>
### With `@fastify/autoload`

You need to register `@fastify/swagger` before registering `@fastify/autoload`.
You need to register `@fastify/swagger` before registering routes.

```js
const fastify = require('fastify')()
Expand Down

0 comments on commit 5087c9f

Please sign in to comment.