Closed RodrigoDornelles closed 8 months ago
Maybe you use an old @fastify/swagger version. Can you provide a repo with an example project please?
That's right, it works with version 8 and there is a problem with version 7!
@Uzlopak a suggestion before closing my issue would be a friendly error message, if the lifecycle allows it.
That error message comes from fastify core. Maybe the solution is to write that we this plugin needs atleast fastify swagger v. x
That error message comes from fastify core. Maybe the solution is to write that we this plugin needs atleast fastify swagger v. x
advice in the repository's README.md is perfect!
Reopening as we did not solve this documentation issue, yet ;)
Prerequisites
Fastify version
4.25.2
Plugin version
2.1.0
Node.js version
20.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Linux 8a34e6999b2a 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 Linux
Description
Steps to Reproduce
Expected Behavior
work without errors