gofiber / swagger

🧬 fiber middleware to automatically generate RESTful API documentation with Swagger
MIT License
402 stars 28 forks source link

Not compatible with v3 #77

Closed ethanperrine closed 5 months ago

ethanperrine commented 7 months ago

When trying to implement in API code, this error appears:

[{ "message": "cannot use GoSwagger.New(GoSwagger.Config{…}) (value of type func(*\"github.com/gofiber/fiber/v2\".Ctx) error) as func(\"github.com/gofiber/fiber/v3\".Ctx) error value in argument to app.Get", }]

Auxority commented 5 months ago

Having the same issue here.

gaby commented 5 months ago

None of the external middlewares have been migrated to v3 yet. That will be done once we are closer to v3 release. :-)

https://github.com/gofiber/fiber?tab=readme-ov-file#%EF%B8%8F-attention

Auxority commented 5 months ago

Ahh perfect, good to know :)