Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Spigolon <[email protected]>
  • Loading branch information
matthyk and Eomm authored Feb 10, 2024
1 parent bfee167 commit d0f675e
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 @@ -182,7 +182,7 @@ app.register(require('fastify-overview'), {
schema: opts.schema
}
},
onDecorateDefinition: (type, name, value) => {
onDecorateDefinition: (decoratorType, decoratorName, decoratorValue) => {
if (value && typeof value === 'object' && !Array.isArray(value)) {
return {
recursive: Object.entries(value).map(([key, val]) => {
Expand Down

0 comments on commit d0f675e

Please sign in to comment.