#4163·fiber

[Proposal]: Fiber official Swagger support

Author: jay-creditxCreated Mar 27, 2026Updated Sep 11, 2026
Labels✏️ Featurev3📝 Proposal

Feature Proposal Description

Check out this library, guys: github.com/TDiblik/gofiber-swagger — I think this is how Fiber should have official Swagger support.

Feature Examples

go
fiberApp.Post(
		"/create",
		&gofiberswagger.RouteInfo{
			RequestBody: gofiberswagger.NewRequestBodyFullyCustom[dto.User](
				"",
				true,
				[]string{"multipart/form-data"},
			),
			Responses: gofiberswagger.NewResponses(
				gofiberswagger.NewResponseInfo[dto.User]("200", ""),
			),
		},
		handlers.CreateUser,
	)

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have searched for existing issues that describe my proposal before opening this one.
  • I understand that a proposal that does not meet these guidelines may be closed without explanation.