From b79782285d216511884974e280579200b10b8651 Mon Sep 17 00:00:00 2001 From: dylanhitt Date: Fri, 20 Dec 2024 14:07:15 -0500 Subject: [PATCH] chore: nolint on Engine.acceptedContentTypes --- option/option.go | 2 +- server.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/option/option.go b/option/option.go index 1d507662..5cdadeaf 100644 --- a/option/option.go +++ b/option/option.go @@ -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. diff --git a/server.go b/server.go index 8dd6c17c..452be969 100644 --- a/server.go +++ b/server.go @@ -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