gofiber / swagger

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

Not compatible with v3 #77

Closed ethanperrine closed 8 months ago

ethanperrine commented 10 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 8 months ago

Having the same issue here.

gaby commented 8 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 8 months ago

Ahh perfect, good to know :)