Skip to content

πŸ“ [Proposal]: Fiber official Swagger supportΒ #4163

@jay-creditx

Description

@jay-creditx

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

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions