Skip to content

Commit

Permalink
chore: nolint on Engine.acceptedContentTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhitt committed Dec 20, 2024
1 parent 4b902f9 commit b797822
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion option/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ var RequestContentType = fuego.OptionRequestContentType
// Hide hides the route from the OpenAPI spec.
var Hide = fuego.OptionHide

// Hide hides the route from the OpenAPI spec.
// Show shows the route from the OpenAPI spec.
var Show = fuego.OptionShow

// DefaultStatusCode sets the default status code for the route.
Expand Down
2 changes: 0 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ type Server struct {
fs fs.FS
template *template.Template // TODO: use preparsed templates

acceptedContentTypes []string

// If true, the server will return an error if the request body contains unknown fields. Useful for quick debugging in development.
DisallowUnknownFields bool
maxBodySize int64
Expand Down

0 comments on commit b797822

Please sign in to comment.