From 617895f4ac827076d1963e7355d7135ed0c57543 Mon Sep 17 00:00:00 2001 From: tdakkota Date: Sat, 15 Oct 2022 19:26:46 +0300 Subject: [PATCH] chore: commit generated files --- internal/test_form/oas_request_decoders_gen.go | 4 ++-- internal/test_http_requests/oas_request_decoders_gen.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/test_form/oas_request_decoders_gen.go b/internal/test_form/oas_request_decoders_gen.go index 0ca526980..91710a047 100644 --- a/internal/test_form/oas_request_decoders_gen.go +++ b/internal/test_form/oas_request_decoders_gen.go @@ -48,10 +48,10 @@ func (s *Server) decodeTestFormURLEncodedRequest(r *http.Request) ( if r.ContentLength == 0 { return req, close, validate.ErrBodyRequired } - if err := r.ParseForm(); err != nil { + form, err := ht.ParseForm(r) + if err != nil { return req, close, errors.Wrap(err, "parse form") } - form := r.PostForm var request TestForm q := uri.NewQueryDecoder(form) diff --git a/internal/test_http_requests/oas_request_decoders_gen.go b/internal/test_http_requests/oas_request_decoders_gen.go index 660f23faa..409ce0e32 100644 --- a/internal/test_http_requests/oas_request_decoders_gen.go +++ b/internal/test_http_requests/oas_request_decoders_gen.go @@ -78,10 +78,10 @@ func (s *Server) decodeAllRequestBodiesRequest(r *http.Request) ( if r.ContentLength == 0 { return req, close, validate.ErrBodyRequired } - if err := r.ParseForm(); err != nil { + form, err := ht.ParseForm(r) + if err != nil { return req, close, errors.Wrap(err, "parse form") } - form := r.PostForm var request AllRequestBodiesApplicationXWwwFormUrlencoded { @@ -301,10 +301,10 @@ func (s *Server) decodeAllRequestBodiesOptionalRequest(r *http.Request) ( if r.ContentLength == 0 { return req, close, nil } - if err := r.ParseForm(); err != nil { + form, err := ht.ParseForm(r) + if err != nil { return req, close, errors.Wrap(err, "parse form") } - form := r.PostForm var request AllRequestBodiesOptionalApplicationXWwwFormUrlencoded {