diff --git a/examples/ex_2ch/oas_response_encoders_gen.go b/examples/ex_2ch/oas_response_encoders_gen.go index 924c4efe0..f7a2ee2cb 100644 --- a/examples/ex_2ch/oas_response_encoders_gen.go +++ b/examples/ex_2ch/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeAPICaptcha2chcaptchaIDGetResponse(response *Captcha, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -49,7 +49,7 @@ func encodeAPICaptchaAppIDPublicKeyGetResponse(response *Captcha, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -63,7 +63,7 @@ func encodeAPICaptchaInvisibleRecaptchaIDGetResponse(response *Captcha, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -84,7 +84,7 @@ func encodeAPICaptchaRecaptchaIDGetResponse(response *Captcha, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -105,7 +105,7 @@ func encodeAPIDislikeGetResponse(response *Like, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -119,7 +119,7 @@ func encodeAPILikeGetResponse(response *Like, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -133,7 +133,7 @@ func encodeAPIMobileV2AfterBoardThreadNumGetResponse(response *MobileThreadPosts w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -147,7 +147,7 @@ func encodeAPIMobileV2BoardsGetResponse(response Boards, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -161,7 +161,7 @@ func encodeAPIMobileV2InfoBoardThreadGetResponse(response *MobileThreadLastInfo, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -175,7 +175,7 @@ func encodeAPIMobileV2PostBoardNumGetResponse(response *MobilePost, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -189,7 +189,7 @@ func encodeUserPassloginPostResponse(response *Passcode, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -203,7 +203,7 @@ func encodeUserPostingPostResponse(response UserPostingPostOK, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -217,7 +217,7 @@ func encodeUserReportPostResponse(response *Report, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_ent/oas_request_encoders_gen.go b/examples/ex_ent/oas_request_encoders_gen.go index 875bbeb90..3501c8b82 100644 --- a/examples/ex_ent/oas_request_encoders_gen.go +++ b/examples/ex_ent/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeCreatePetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -30,7 +30,7 @@ func encodeCreatePetCategoriesRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -44,7 +44,7 @@ func encodeCreatePetFriendsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -58,7 +58,7 @@ func encodeCreatePetOwnerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -72,7 +72,7 @@ func encodeUpdatePetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_ent/oas_response_encoders_gen.go b/examples/ex_ent/oas_response_encoders_gen.go index 267d66729..f273fa2b7 100644 --- a/examples/ex_ent/oas_response_encoders_gen.go +++ b/examples/ex_ent/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeCreatePetResponse(response CreatePetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -31,7 +31,7 @@ func encodeCreatePetResponse(response CreatePetRes, w http.ResponseWriter, span w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -44,7 +44,7 @@ func encodeCreatePetResponse(response CreatePetRes, w http.ResponseWriter, span w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -57,7 +57,7 @@ func encodeCreatePetResponse(response CreatePetRes, w http.ResponseWriter, span w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -77,7 +77,7 @@ func encodeCreatePetCategoriesResponse(response CreatePetCategoriesRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -90,7 +90,7 @@ func encodeCreatePetCategoriesResponse(response CreatePetCategoriesRes, w http.R w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -103,7 +103,7 @@ func encodeCreatePetCategoriesResponse(response CreatePetCategoriesRes, w http.R w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -116,7 +116,7 @@ func encodeCreatePetCategoriesResponse(response CreatePetCategoriesRes, w http.R w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -136,7 +136,7 @@ func encodeCreatePetFriendsResponse(response CreatePetFriendsRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -149,7 +149,7 @@ func encodeCreatePetFriendsResponse(response CreatePetFriendsRes, w http.Respons w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -162,7 +162,7 @@ func encodeCreatePetFriendsResponse(response CreatePetFriendsRes, w http.Respons w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -175,7 +175,7 @@ func encodeCreatePetFriendsResponse(response CreatePetFriendsRes, w http.Respons w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -195,7 +195,7 @@ func encodeCreatePetOwnerResponse(response CreatePetOwnerRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -208,7 +208,7 @@ func encodeCreatePetOwnerResponse(response CreatePetOwnerRes, w http.ResponseWri w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -221,7 +221,7 @@ func encodeCreatePetOwnerResponse(response CreatePetOwnerRes, w http.ResponseWri w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -234,7 +234,7 @@ func encodeCreatePetOwnerResponse(response CreatePetOwnerRes, w http.ResponseWri w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -260,7 +260,7 @@ func encodeDeletePetResponse(response DeletePetRes, w http.ResponseWriter, span w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -273,7 +273,7 @@ func encodeDeletePetResponse(response DeletePetRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -286,7 +286,7 @@ func encodeDeletePetResponse(response DeletePetRes, w http.ResponseWriter, span w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -312,7 +312,7 @@ func encodeDeletePetOwnerResponse(response DeletePetOwnerRes, w http.ResponseWri w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -325,7 +325,7 @@ func encodeDeletePetOwnerResponse(response DeletePetOwnerRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -338,7 +338,7 @@ func encodeDeletePetOwnerResponse(response DeletePetOwnerRes, w http.ResponseWri w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -358,7 +358,7 @@ func encodeListPetResponse(response ListPetRes, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -371,7 +371,7 @@ func encodeListPetResponse(response ListPetRes, w http.ResponseWriter, span trac w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -384,7 +384,7 @@ func encodeListPetResponse(response ListPetRes, w http.ResponseWriter, span trac w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -397,7 +397,7 @@ func encodeListPetResponse(response ListPetRes, w http.ResponseWriter, span trac w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -417,7 +417,7 @@ func encodeListPetCategoriesResponse(response ListPetCategoriesRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -430,7 +430,7 @@ func encodeListPetCategoriesResponse(response ListPetCategoriesRes, w http.Respo w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -443,7 +443,7 @@ func encodeListPetCategoriesResponse(response ListPetCategoriesRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -456,7 +456,7 @@ func encodeListPetCategoriesResponse(response ListPetCategoriesRes, w http.Respo w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -476,7 +476,7 @@ func encodeListPetFriendsResponse(response ListPetFriendsRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -489,7 +489,7 @@ func encodeListPetFriendsResponse(response ListPetFriendsRes, w http.ResponseWri w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -502,7 +502,7 @@ func encodeListPetFriendsResponse(response ListPetFriendsRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -515,7 +515,7 @@ func encodeListPetFriendsResponse(response ListPetFriendsRes, w http.ResponseWri w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -535,7 +535,7 @@ func encodeReadPetResponse(response ReadPetRes, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -548,7 +548,7 @@ func encodeReadPetResponse(response ReadPetRes, w http.ResponseWriter, span trac w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -561,7 +561,7 @@ func encodeReadPetResponse(response ReadPetRes, w http.ResponseWriter, span trac w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -574,7 +574,7 @@ func encodeReadPetResponse(response ReadPetRes, w http.ResponseWriter, span trac w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -594,7 +594,7 @@ func encodeReadPetOwnerResponse(response ReadPetOwnerRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -607,7 +607,7 @@ func encodeReadPetOwnerResponse(response ReadPetOwnerRes, w http.ResponseWriter, w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -620,7 +620,7 @@ func encodeReadPetOwnerResponse(response ReadPetOwnerRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -633,7 +633,7 @@ func encodeReadPetOwnerResponse(response ReadPetOwnerRes, w http.ResponseWriter, w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -653,7 +653,7 @@ func encodeUpdatePetResponse(response UpdatePetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -666,7 +666,7 @@ func encodeUpdatePetResponse(response UpdatePetRes, w http.ResponseWriter, span w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -679,7 +679,7 @@ func encodeUpdatePetResponse(response UpdatePetRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -692,7 +692,7 @@ func encodeUpdatePetResponse(response UpdatePetRes, w http.ResponseWriter, span w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_firecracker/oas_request_encoders_gen.go b/examples/ex_firecracker/oas_request_encoders_gen.go index 061f1102a..b4d914075 100644 --- a/examples/ex_firecracker/oas_request_encoders_gen.go +++ b/examples/ex_firecracker/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeCreateSnapshotRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -30,7 +30,7 @@ func encodeCreateSyncActionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -44,7 +44,7 @@ func encodeLoadSnapshotRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -58,7 +58,7 @@ func encodeMmdsConfigPutRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -72,7 +72,7 @@ func encodeMmdsPatchRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { req.Encode(e) @@ -88,7 +88,7 @@ func encodeMmdsPutRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { req.Encode(e) @@ -104,7 +104,7 @@ func encodePatchBalloonRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -118,7 +118,7 @@ func encodePatchBalloonStatsIntervalRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -132,7 +132,7 @@ func encodePatchGuestDriveByIDRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -146,7 +146,7 @@ func encodePatchGuestNetworkInterfaceByIDRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -164,7 +164,7 @@ func encodePatchMachineConfigurationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -180,7 +180,7 @@ func encodePatchVmRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -194,7 +194,7 @@ func encodePutBalloonRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -208,7 +208,7 @@ func encodePutGuestBootSourceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -222,7 +222,7 @@ func encodePutGuestDriveByIDRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -236,7 +236,7 @@ func encodePutGuestNetworkInterfaceByIDRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -250,7 +250,7 @@ func encodePutGuestVsockRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -264,7 +264,7 @@ func encodePutLoggerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -282,7 +282,7 @@ func encodePutMachineConfigurationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -298,7 +298,7 @@ func encodePutMetricsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_firecracker/oas_response_encoders_gen.go b/examples/ex_firecracker/oas_response_encoders_gen.go index a124572e4..ee231326c 100644 --- a/examples/ex_firecracker/oas_response_encoders_gen.go +++ b/examples/ex_firecracker/oas_response_encoders_gen.go @@ -26,7 +26,7 @@ func encodeCreateSnapshotResponse(response CreateSnapshotRes, w http.ResponseWri w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -52,7 +52,7 @@ func encodeCreateSyncActionResponse(response CreateSyncActionRes, w http.Respons w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -72,7 +72,7 @@ func encodeDescribeBalloonConfigResponse(response DescribeBalloonConfigRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -85,7 +85,7 @@ func encodeDescribeBalloonConfigResponse(response DescribeBalloonConfigRes, w ht w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -105,7 +105,7 @@ func encodeDescribeBalloonStatsResponse(response DescribeBalloonStatsRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -118,7 +118,7 @@ func encodeDescribeBalloonStatsResponse(response DescribeBalloonStatsRes, w http w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -136,7 +136,7 @@ func encodeDescribeInstanceResponse(response *InstanceInfo, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -150,7 +150,7 @@ func encodeGetExportVmConfigResponse(response *FullVmConfiguration, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -164,7 +164,7 @@ func encodeGetMachineConfigurationResponse(response *MachineConfiguration, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -186,7 +186,7 @@ func encodeLoadSnapshotResponse(response LoadSnapshotRes, w http.ResponseWriter, w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -212,7 +212,7 @@ func encodeMmdsConfigPutResponse(response MmdsConfigPutRes, w http.ResponseWrite w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -232,7 +232,7 @@ func encodeMmdsGetResponse(response MmdsGetRes, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -245,7 +245,7 @@ func encodeMmdsGetResponse(response MmdsGetRes, w http.ResponseWriter, span trac w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -271,7 +271,7 @@ func encodeMmdsPatchResponse(response MmdsPatchRes, w http.ResponseWriter, span w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -297,7 +297,7 @@ func encodeMmdsPutResponse(response MmdsPutRes, w http.ResponseWriter, span trac w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -323,7 +323,7 @@ func encodePatchBalloonResponse(response PatchBalloonRes, w http.ResponseWriter, w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -349,7 +349,7 @@ func encodePatchBalloonStatsIntervalResponse(response PatchBalloonStatsIntervalR w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -375,7 +375,7 @@ func encodePatchGuestDriveByIDResponse(response PatchGuestDriveByIDRes, w http.R w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -401,7 +401,7 @@ func encodePatchGuestNetworkInterfaceByIDResponse(response PatchGuestNetworkInte w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -427,7 +427,7 @@ func encodePatchMachineConfigurationResponse(response PatchMachineConfigurationR w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -453,7 +453,7 @@ func encodePatchVmResponse(response PatchVmRes, w http.ResponseWriter, span trac w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -479,7 +479,7 @@ func encodePutBalloonResponse(response PutBalloonRes, w http.ResponseWriter, spa w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -505,7 +505,7 @@ func encodePutGuestBootSourceResponse(response PutGuestBootSourceRes, w http.Res w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -531,7 +531,7 @@ func encodePutGuestDriveByIDResponse(response PutGuestDriveByIDRes, w http.Respo w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -557,7 +557,7 @@ func encodePutGuestNetworkInterfaceByIDResponse(response PutGuestNetworkInterfac w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -583,7 +583,7 @@ func encodePutGuestVsockResponse(response PutGuestVsockRes, w http.ResponseWrite w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -609,7 +609,7 @@ func encodePutLoggerResponse(response PutLoggerRes, w http.ResponseWriter, span w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -635,7 +635,7 @@ func encodePutMachineConfigurationResponse(response PutMachineConfigurationRes, w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -661,7 +661,7 @@ func encodePutMetricsResponse(response PutMetricsRes, w http.ResponseWriter, spa w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -689,7 +689,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_github/oas_request_encoders_gen.go b/examples/ex_github/oas_request_encoders_gen.go index 6c7d11fdd..790ced0bf 100644 --- a/examples/ex_github/oas_request_encoders_gen.go +++ b/examples/ex_github/oas_request_encoders_gen.go @@ -17,7 +17,7 @@ func encodeActionsCreateOrUpdateEnvironmentSecretRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -31,7 +31,7 @@ func encodeActionsCreateOrUpdateOrgSecretRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -45,7 +45,7 @@ func encodeActionsCreateOrUpdateRepoSecretRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -59,7 +59,7 @@ func encodeActionsCreateSelfHostedRunnerGroupForOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -73,7 +73,7 @@ func encodeActionsReviewPendingDeploymentsForRunRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -91,7 +91,7 @@ func encodeActionsSetAllowedActionsOrganizationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -111,7 +111,7 @@ func encodeActionsSetAllowedActionsRepositoryRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -127,7 +127,7 @@ func encodeActionsSetGithubActionsPermissionsOrganizationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -141,7 +141,7 @@ func encodeActionsSetGithubActionsPermissionsRepositoryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -155,7 +155,7 @@ func encodeActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -169,7 +169,7 @@ func encodeActionsSetSelectedReposForOrgSecretRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -183,7 +183,7 @@ func encodeActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -197,7 +197,7 @@ func encodeActionsSetSelfHostedRunnersInGroupForOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -211,7 +211,7 @@ func encodeActionsUpdateSelfHostedRunnerGroupForOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -229,7 +229,7 @@ func encodeActivityMarkNotificationsAsReadRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -249,7 +249,7 @@ func encodeActivityMarkRepoNotificationsAsReadRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -269,7 +269,7 @@ func encodeActivitySetRepoSubscriptionRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -289,7 +289,7 @@ func encodeActivitySetThreadSubscriptionRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -305,7 +305,7 @@ func encodeAppsCheckTokenRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -319,7 +319,7 @@ func encodeAppsCreateContentAttachmentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -333,7 +333,7 @@ func encodeAppsCreateFromManifestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { req.Encode(e) @@ -353,7 +353,7 @@ func encodeAppsCreateInstallationAccessTokenRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -369,7 +369,7 @@ func encodeAppsDeleteAuthorizationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -383,7 +383,7 @@ func encodeAppsDeleteTokenRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -397,7 +397,7 @@ func encodeAppsResetTokenRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -411,7 +411,7 @@ func encodeAppsScopeTokenRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -429,7 +429,7 @@ func encodeAppsUpdateWebhookConfigForAppRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -445,7 +445,7 @@ func encodeChecksCreateSuiteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -459,7 +459,7 @@ func encodeChecksSetSuitesPreferencesRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -473,7 +473,7 @@ func encodeCodeScanningUpdateAlertRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -487,7 +487,7 @@ func encodeCodeScanningUploadSarifRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -501,7 +501,7 @@ func encodeEnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -515,7 +515,7 @@ func encodeEnterpriseAdminProvisionAndInviteEnterpriseGroupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -529,7 +529,7 @@ func encodeEnterpriseAdminProvisionAndInviteEnterpriseUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -543,7 +543,7 @@ func encodeEnterpriseAdminSetAllowedActionsEnterpriseRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -557,7 +557,7 @@ func encodeEnterpriseAdminSetGithubActionsPermissionsEnterpriseRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -571,7 +571,7 @@ func encodeEnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -585,7 +585,7 @@ func encodeEnterpriseAdminSetInformationForProvisionedEnterpriseUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -599,7 +599,7 @@ func encodeEnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseRequest r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -613,7 +613,7 @@ func encodeEnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprise r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -627,7 +627,7 @@ func encodeEnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -641,7 +641,7 @@ func encodeEnterpriseAdminUpdateAttributeForEnterpriseGroupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -655,7 +655,7 @@ func encodeEnterpriseAdminUpdateAttributeForEnterpriseUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -673,7 +673,7 @@ func encodeEnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -689,7 +689,7 @@ func encodeGistsCreateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -703,7 +703,7 @@ func encodeGistsCreateCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -717,7 +717,7 @@ func encodeGistsUpdateCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -731,7 +731,7 @@ func encodeGitCreateBlobRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -745,7 +745,7 @@ func encodeGitCreateCommitRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -759,7 +759,7 @@ func encodeGitCreateRefRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -773,7 +773,7 @@ func encodeGitCreateTagRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -787,7 +787,7 @@ func encodeGitCreateTreeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -801,7 +801,7 @@ func encodeGitUpdateRefRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -815,7 +815,7 @@ func encodeInteractionsSetRestrictionsForAuthenticatedUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -829,7 +829,7 @@ func encodeInteractionsSetRestrictionsForOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -843,7 +843,7 @@ func encodeInteractionsSetRestrictionsForRepoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -861,7 +861,7 @@ func encodeIssuesAddAssigneesRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -877,7 +877,7 @@ func encodeIssuesCreateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -891,7 +891,7 @@ func encodeIssuesCreateCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -905,7 +905,7 @@ func encodeIssuesCreateLabelRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -919,7 +919,7 @@ func encodeIssuesCreateMilestoneRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -937,7 +937,7 @@ func encodeIssuesLockRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -957,7 +957,7 @@ func encodeIssuesRemoveAssigneesRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -977,7 +977,7 @@ func encodeIssuesUpdateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -993,7 +993,7 @@ func encodeIssuesUpdateCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1011,7 +1011,7 @@ func encodeIssuesUpdateLabelRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1031,7 +1031,7 @@ func encodeIssuesUpdateMilestoneRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1047,7 +1047,7 @@ func encodeMarkdownRenderRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1088,7 +1088,7 @@ func encodeMigrationsMapCommitAuthorRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1104,7 +1104,7 @@ func encodeMigrationsSetLfsPreferenceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1118,7 +1118,7 @@ func encodeMigrationsStartForAuthenticatedUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1132,7 +1132,7 @@ func encodeMigrationsStartForOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1146,7 +1146,7 @@ func encodeMigrationsStartImportRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1164,7 +1164,7 @@ func encodeMigrationsUpdateImportRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1184,7 +1184,7 @@ func encodeOAuthAuthorizationsCreateAuthorizationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1200,7 +1200,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1214,7 +1214,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintReques r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1232,7 +1232,7 @@ func encodeOAuthAuthorizationsUpdateAuthorizationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1252,7 +1252,7 @@ func encodeOrgsCreateInvitationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1268,7 +1268,7 @@ func encodeOrgsCreateWebhookRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1286,7 +1286,7 @@ func encodeOrgsSetMembershipForUserRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1302,7 +1302,7 @@ func encodeOrgsUpdateMembershipForAuthenticatedUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1320,7 +1320,7 @@ func encodeOrgsUpdateWebhookRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1340,7 +1340,7 @@ func encodeOrgsUpdateWebhookConfigForOrgRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1360,7 +1360,7 @@ func encodeProjectsAddCollaboratorRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1376,7 +1376,7 @@ func encodeProjectsCreateColumnRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1390,7 +1390,7 @@ func encodeProjectsCreateForAuthenticatedUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1404,7 +1404,7 @@ func encodeProjectsCreateForOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1418,7 +1418,7 @@ func encodeProjectsCreateForRepoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1432,7 +1432,7 @@ func encodeProjectsMoveCardRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1446,7 +1446,7 @@ func encodeProjectsMoveColumnRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1464,7 +1464,7 @@ func encodeProjectsUpdateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1484,7 +1484,7 @@ func encodeProjectsUpdateCardRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1500,7 +1500,7 @@ func encodeProjectsUpdateColumnRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1514,7 +1514,7 @@ func encodePullsCreateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1528,7 +1528,7 @@ func encodePullsCreateReplyForReviewCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1546,7 +1546,7 @@ func encodePullsCreateReviewRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1562,7 +1562,7 @@ func encodePullsCreateReviewCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1576,7 +1576,7 @@ func encodePullsDismissReviewRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1594,7 +1594,7 @@ func encodePullsMergeRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1610,7 +1610,7 @@ func encodePullsRemoveRequestedReviewersRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1624,7 +1624,7 @@ func encodePullsSubmitReviewRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1642,7 +1642,7 @@ func encodePullsUpdateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1662,7 +1662,7 @@ func encodePullsUpdateBranchRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1678,7 +1678,7 @@ func encodePullsUpdateReviewRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1692,7 +1692,7 @@ func encodePullsUpdateReviewCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1706,7 +1706,7 @@ func encodeReactionsCreateForCommitCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1720,7 +1720,7 @@ func encodeReactionsCreateForIssueRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1734,7 +1734,7 @@ func encodeReactionsCreateForIssueCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1748,7 +1748,7 @@ func encodeReactionsCreateForPullRequestReviewCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1762,7 +1762,7 @@ func encodeReactionsCreateForReleaseRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1776,7 +1776,7 @@ func encodeReactionsCreateForTeamDiscussionCommentInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1790,7 +1790,7 @@ func encodeReactionsCreateForTeamDiscussionCommentLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1804,7 +1804,7 @@ func encodeReactionsCreateForTeamDiscussionInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1818,7 +1818,7 @@ func encodeReactionsCreateForTeamDiscussionLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1836,7 +1836,7 @@ func encodeReposAddAppAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1856,7 +1856,7 @@ func encodeReposAddCollaboratorRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1876,7 +1876,7 @@ func encodeReposAddStatusCheckContextsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1896,7 +1896,7 @@ func encodeReposAddTeamAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1916,7 +1916,7 @@ func encodeReposAddUserAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1932,7 +1932,7 @@ func encodeReposCreateAutolinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1946,7 +1946,7 @@ func encodeReposCreateCommitCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1960,7 +1960,7 @@ func encodeReposCreateCommitStatusRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1974,7 +1974,7 @@ func encodeReposCreateDeployKeyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1988,7 +1988,7 @@ func encodeReposCreateDeploymentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2002,7 +2002,7 @@ func encodeReposCreateDeploymentStatusRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2016,7 +2016,7 @@ func encodeReposCreateDispatchEventRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2030,7 +2030,7 @@ func encodeReposCreateForAuthenticatedUserRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2048,7 +2048,7 @@ func encodeReposCreateForkRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2064,7 +2064,7 @@ func encodeReposCreateInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2078,7 +2078,7 @@ func encodeReposCreateOrUpdateFileContentsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2092,7 +2092,7 @@ func encodeReposCreatePagesSiteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2106,7 +2106,7 @@ func encodeReposCreateReleaseRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2120,7 +2120,7 @@ func encodeReposCreateUsingTemplateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2138,7 +2138,7 @@ func encodeReposCreateWebhookRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2154,7 +2154,7 @@ func encodeReposDeleteFileRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2168,7 +2168,7 @@ func encodeReposMergeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2182,7 +2182,7 @@ func encodeReposMergeUpstreamRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2200,7 +2200,7 @@ func encodeReposRemoveAppAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2220,7 +2220,7 @@ func encodeReposRemoveStatusCheckContextsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2240,7 +2240,7 @@ func encodeReposRemoveTeamAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2260,7 +2260,7 @@ func encodeReposRemoveUserAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2280,7 +2280,7 @@ func encodeReposRenameBranchRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2296,7 +2296,7 @@ func encodeReposReplaceAllTopicsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2314,7 +2314,7 @@ func encodeReposSetAppAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2334,7 +2334,7 @@ func encodeReposSetStatusCheckContextsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2354,7 +2354,7 @@ func encodeReposSetTeamAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2374,7 +2374,7 @@ func encodeReposSetUserAccessRestrictionsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2390,7 +2390,7 @@ func encodeReposTransferRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2408,7 +2408,7 @@ func encodeReposUpdateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2424,7 +2424,7 @@ func encodeReposUpdateBranchProtectionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2438,7 +2438,7 @@ func encodeReposUpdateCommitCommentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2456,7 +2456,7 @@ func encodeReposUpdateInvitationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2476,7 +2476,7 @@ func encodeReposUpdatePullRequestReviewProtectionRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2496,7 +2496,7 @@ func encodeReposUpdateReleaseRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2516,7 +2516,7 @@ func encodeReposUpdateReleaseAssetRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2536,7 +2536,7 @@ func encodeReposUpdateStatusCheckProtectionRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2556,7 +2556,7 @@ func encodeReposUpdateWebhookRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2576,7 +2576,7 @@ func encodeReposUpdateWebhookConfigForRepoRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2608,7 +2608,7 @@ func encodeSecretScanningUpdateAlertRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2626,7 +2626,7 @@ func encodeTeamsAddOrUpdateMembershipForUserInOrgRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2646,7 +2646,7 @@ func encodeTeamsAddOrUpdateMembershipForUserLegacyRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2666,7 +2666,7 @@ func encodeTeamsAddOrUpdateProjectPermissionsInOrgRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2686,7 +2686,7 @@ func encodeTeamsAddOrUpdateProjectPermissionsLegacyRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2706,7 +2706,7 @@ func encodeTeamsAddOrUpdateRepoPermissionsInOrgRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2726,7 +2726,7 @@ func encodeTeamsAddOrUpdateRepoPermissionsLegacyRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2742,7 +2742,7 @@ func encodeTeamsCreateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2756,7 +2756,7 @@ func encodeTeamsCreateDiscussionCommentInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2770,7 +2770,7 @@ func encodeTeamsCreateDiscussionCommentLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2784,7 +2784,7 @@ func encodeTeamsCreateDiscussionInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2798,7 +2798,7 @@ func encodeTeamsCreateDiscussionLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2812,7 +2812,7 @@ func encodeTeamsCreateOrUpdateIdpGroupConnectionsInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2826,7 +2826,7 @@ func encodeTeamsCreateOrUpdateIdpGroupConnectionsLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2840,7 +2840,7 @@ func encodeTeamsUpdateDiscussionCommentInOrgRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2854,7 +2854,7 @@ func encodeTeamsUpdateDiscussionCommentLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2872,7 +2872,7 @@ func encodeTeamsUpdateDiscussionInOrgRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2892,7 +2892,7 @@ func encodeTeamsUpdateDiscussionLegacyRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2912,7 +2912,7 @@ func encodeTeamsUpdateInOrgRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2928,7 +2928,7 @@ func encodeTeamsUpdateLegacyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2946,7 +2946,7 @@ func encodeUsersAddEmailForAuthenticatedRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2962,7 +2962,7 @@ func encodeUsersCreateGpgKeyForAuthenticatedRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2976,7 +2976,7 @@ func encodeUsersCreatePublicSSHKeyForAuthenticatedRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2994,7 +2994,7 @@ func encodeUsersDeleteEmailForAuthenticatedRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -3010,7 +3010,7 @@ func encodeUsersSetPrimaryEmailVisibilityForAuthenticatedRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3028,7 +3028,7 @@ func encodeUsersUpdateAuthenticatedRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) diff --git a/examples/ex_github/oas_response_encoders_gen.go b/examples/ex_github/oas_response_encoders_gen.go index 39fbf62a1..f0d635fbe 100644 --- a/examples/ex_github/oas_response_encoders_gen.go +++ b/examples/ex_github/oas_response_encoders_gen.go @@ -55,7 +55,7 @@ func encodeActionsApproveWorkflowRunResponse(response ActionsApproveWorkflowRunR w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -68,7 +68,7 @@ func encodeActionsApproveWorkflowRunResponse(response ActionsApproveWorkflowRunR w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -81,7 +81,7 @@ func encodeActionsApproveWorkflowRunResponse(response ActionsApproveWorkflowRunR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -99,7 +99,7 @@ func encodeActionsCancelWorkflowRunResponse(response *ActionsCancelWorkflowRunAc w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -115,7 +115,7 @@ func encodeActionsCreateOrUpdateEnvironmentSecretResponse(response ActionsCreate w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -141,7 +141,7 @@ func encodeActionsCreateOrUpdateOrgSecretResponse(response ActionsCreateOrUpdate w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -167,7 +167,7 @@ func encodeActionsCreateOrUpdateRepoSecretResponse(response ActionsCreateOrUpdat w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -191,7 +191,7 @@ func encodeActionsCreateRegistrationTokenForOrgResponse(response *Authentication w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -205,7 +205,7 @@ func encodeActionsCreateRegistrationTokenForRepoResponse(response *Authenticatio w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -219,7 +219,7 @@ func encodeActionsCreateRemoveTokenForOrgResponse(response *AuthenticationToken, w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -233,7 +233,7 @@ func encodeActionsCreateRemoveTokenForRepoResponse(response *AuthenticationToken w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -247,7 +247,7 @@ func encodeActionsCreateSelfHostedRunnerGroupForOrgResponse(response *RunnerGrou w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -416,7 +416,7 @@ func encodeActionsGetAllowedActionsOrganizationResponse(response *SelectedAction w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -430,7 +430,7 @@ func encodeActionsGetAllowedActionsRepositoryResponse(response *SelectedActions, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -444,7 +444,7 @@ func encodeActionsGetArtifactResponse(response *Artifact, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -458,7 +458,7 @@ func encodeActionsGetEnvironmentPublicKeyResponse(response *ActionsPublicKey, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -472,7 +472,7 @@ func encodeActionsGetEnvironmentSecretResponse(response *ActionsSecret, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -486,7 +486,7 @@ func encodeActionsGetGithubActionsPermissionsOrganizationResponse(response *Acti w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -500,7 +500,7 @@ func encodeActionsGetGithubActionsPermissionsRepositoryResponse(response *Action w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -514,7 +514,7 @@ func encodeActionsGetJobForWorkflowRunResponse(response *Job, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -528,7 +528,7 @@ func encodeActionsGetOrgPublicKeyResponse(response *ActionsPublicKey, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -542,7 +542,7 @@ func encodeActionsGetOrgSecretResponse(response *OrganizationActionsSecret, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -556,7 +556,7 @@ func encodeActionsGetRepoPublicKeyResponse(response *ActionsPublicKey, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -570,7 +570,7 @@ func encodeActionsGetRepoSecretResponse(response *ActionsSecret, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -584,7 +584,7 @@ func encodeActionsGetReviewsForRunResponse(response []EnvironmentApprovals, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -602,7 +602,7 @@ func encodeActionsGetSelfHostedRunnerForOrgResponse(response *Runner, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -616,7 +616,7 @@ func encodeActionsGetSelfHostedRunnerForRepoResponse(response *Runner, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -630,7 +630,7 @@ func encodeActionsGetSelfHostedRunnerGroupForOrgResponse(response *RunnerGroupsO w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -644,7 +644,7 @@ func encodeActionsGetWorkflowRunResponse(response *WorkflowRun, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -658,7 +658,7 @@ func encodeActionsGetWorkflowRunUsageResponse(response *WorkflowRunUsage, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -691,7 +691,7 @@ func encodeActionsListArtifactsForRepoResponse(response *ActionsListArtifactsFor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -724,7 +724,7 @@ func encodeActionsListEnvironmentSecretsResponse(response *ActionsListEnvironmen w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -757,7 +757,7 @@ func encodeActionsListJobsForWorkflowRunResponse(response *ActionsListJobsForWor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -790,7 +790,7 @@ func encodeActionsListOrgSecretsResponse(response *ActionsListOrgSecretsOKHeader w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -804,7 +804,7 @@ func encodeActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse(response *A w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -837,7 +837,7 @@ func encodeActionsListRepoSecretsResponse(response *ActionsListRepoSecretsOKHead w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -870,7 +870,7 @@ func encodeActionsListRepoWorkflowsResponse(response *ActionsListRepoWorkflowsOK w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -884,7 +884,7 @@ func encodeActionsListRunnerApplicationsForOrgResponse(response []RunnerApplicat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -902,7 +902,7 @@ func encodeActionsListRunnerApplicationsForRepoResponse(response []RunnerApplica w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -920,7 +920,7 @@ func encodeActionsListSelectedReposForOrgSecretResponse(response *ActionsListSel w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -934,7 +934,7 @@ func encodeActionsListSelectedRepositoriesEnabledGithubActionsOrganizationRespon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -948,7 +948,7 @@ func encodeActionsListSelfHostedRunnerGroupsForOrgResponse(response *ActionsList w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -981,7 +981,7 @@ func encodeActionsListSelfHostedRunnersForOrgResponse(response *ActionsListSelfH w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1014,7 +1014,7 @@ func encodeActionsListSelfHostedRunnersForRepoResponse(response *ActionsListSelf w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1047,7 +1047,7 @@ func encodeActionsListSelfHostedRunnersInGroupForOrgResponse(response *ActionsLi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1080,7 +1080,7 @@ func encodeActionsListWorkflowRunArtifactsResponse(response *ActionsListWorkflow w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1113,7 +1113,7 @@ func encodeActionsListWorkflowRunsForRepoResponse(response *ActionsListWorkflowR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1127,7 +1127,7 @@ func encodeActionsReRunWorkflowResponse(response *ActionsReRunWorkflowCreated, w w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1174,7 +1174,7 @@ func encodeActionsRetryWorkflowResponse(response *ActionsRetryWorkflowCreated, w w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1188,7 +1188,7 @@ func encodeActionsReviewPendingDeploymentsForRunResponse(response []Deployment, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1262,7 +1262,7 @@ func encodeActionsUpdateSelfHostedRunnerGroupForOrgResponse(response *RunnerGrou w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1290,7 +1290,7 @@ func encodeActivityCheckRepoIsStarredByAuthenticatedUserResponse(response Activi w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1303,7 +1303,7 @@ func encodeActivityCheckRepoIsStarredByAuthenticatedUserResponse(response Activi w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1316,7 +1316,7 @@ func encodeActivityCheckRepoIsStarredByAuthenticatedUserResponse(response Activi w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1355,7 +1355,7 @@ func encodeActivityDeleteThreadSubscriptionResponse(response ActivityDeleteThrea w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1368,7 +1368,7 @@ func encodeActivityDeleteThreadSubscriptionResponse(response ActivityDeleteThrea w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1386,7 +1386,7 @@ func encodeActivityGetFeedsResponse(response *Feed, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1402,7 +1402,7 @@ func encodeActivityGetRepoSubscriptionResponse(response ActivityGetRepoSubscript w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1415,7 +1415,7 @@ func encodeActivityGetRepoSubscriptionResponse(response ActivityGetRepoSubscript w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1441,7 +1441,7 @@ func encodeActivityGetThreadResponse(response ActivityGetThreadRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1460,7 +1460,7 @@ func encodeActivityGetThreadResponse(response ActivityGetThreadRes, w http.Respo w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1473,7 +1473,7 @@ func encodeActivityGetThreadResponse(response ActivityGetThreadRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1493,7 +1493,7 @@ func encodeActivityGetThreadSubscriptionForAuthenticatedUserResponse(response Ac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1512,7 +1512,7 @@ func encodeActivityGetThreadSubscriptionForAuthenticatedUserResponse(response Ac w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1525,7 +1525,7 @@ func encodeActivityGetThreadSubscriptionForAuthenticatedUserResponse(response Ac w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1543,7 +1543,7 @@ func encodeActivityListEventsForAuthenticatedUserResponse(response []Event, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1582,7 +1582,7 @@ func encodeActivityListNotificationsForAuthenticatedUserResponse(response Activi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -1605,7 +1605,7 @@ func encodeActivityListNotificationsForAuthenticatedUserResponse(response Activi w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1618,7 +1618,7 @@ func encodeActivityListNotificationsForAuthenticatedUserResponse(response Activi w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1631,7 +1631,7 @@ func encodeActivityListNotificationsForAuthenticatedUserResponse(response Activi w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1649,7 +1649,7 @@ func encodeActivityListOrgEventsForAuthenticatedUserResponse(response []Event, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1669,7 +1669,7 @@ func encodeActivityListPublicEventsResponse(response ActivityListPublicEventsRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1688,7 +1688,7 @@ func encodeActivityListPublicEventsResponse(response ActivityListPublicEventsRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1701,7 +1701,7 @@ func encodeActivityListPublicEventsResponse(response ActivityListPublicEventsRes w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1721,7 +1721,7 @@ func encodeActivityListPublicEventsForRepoNetworkResponse(response ActivityListP w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1734,7 +1734,7 @@ func encodeActivityListPublicEventsForRepoNetworkResponse(response ActivityListP w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1753,7 +1753,7 @@ func encodeActivityListPublicEventsForRepoNetworkResponse(response ActivityListP w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1766,7 +1766,7 @@ func encodeActivityListPublicEventsForRepoNetworkResponse(response ActivityListP w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1784,7 +1784,7 @@ func encodeActivityListPublicEventsForUserResponse(response []Event, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1802,7 +1802,7 @@ func encodeActivityListPublicOrgEventsResponse(response []Event, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1820,7 +1820,7 @@ func encodeActivityListReceivedEventsForUserResponse(response []Event, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1838,7 +1838,7 @@ func encodeActivityListReceivedPublicEventsForUserResponse(response []Event, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1856,7 +1856,7 @@ func encodeActivityListRepoEventsResponse(response []Event, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -1893,7 +1893,7 @@ func encodeActivityListRepoNotificationsForAuthenticatedUserResponse(response *A w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -1932,7 +1932,7 @@ func encodeActivityListReposStarredByAuthenticatedUserResponse(response Activity w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -1955,7 +1955,7 @@ func encodeActivityListReposStarredByAuthenticatedUserResponse(response Activity w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1968,7 +1968,7 @@ func encodeActivityListReposStarredByAuthenticatedUserResponse(response Activity w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2005,7 +2005,7 @@ func encodeActivityListReposWatchedByUserResponse(response *ActivityListReposWat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -2044,7 +2044,7 @@ func encodeActivityListWatchedReposForAuthenticatedUserResponse(response Activit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -2067,7 +2067,7 @@ func encodeActivityListWatchedReposForAuthenticatedUserResponse(response Activit w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2080,7 +2080,7 @@ func encodeActivityListWatchedReposForAuthenticatedUserResponse(response Activit w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2117,7 +2117,7 @@ func encodeActivityListWatchersForRepoResponse(response *ActivityListWatchersFor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -2137,7 +2137,7 @@ func encodeActivityMarkNotificationsAsReadResponse(response ActivityMarkNotifica w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2162,7 +2162,7 @@ func encodeActivityMarkNotificationsAsReadResponse(response ActivityMarkNotifica w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2175,7 +2175,7 @@ func encodeActivityMarkNotificationsAsReadResponse(response ActivityMarkNotifica w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2195,7 +2195,7 @@ func encodeActivityMarkRepoNotificationsAsReadResponse(response ActivityMarkRepo w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2233,7 +2233,7 @@ func encodeActivityMarkThreadAsReadResponse(response ActivityMarkThreadAsReadRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2251,7 +2251,7 @@ func encodeActivitySetRepoSubscriptionResponse(response *RepositorySubscription, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2267,7 +2267,7 @@ func encodeActivitySetThreadSubscriptionResponse(response ActivitySetThreadSubsc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2286,7 +2286,7 @@ func encodeActivitySetThreadSubscriptionResponse(response ActivitySetThreadSubsc w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2299,7 +2299,7 @@ func encodeActivitySetThreadSubscriptionResponse(response ActivitySetThreadSubsc w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2331,7 +2331,7 @@ func encodeActivityStarRepoForAuthenticatedUserResponse(response ActivityStarRep w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2344,7 +2344,7 @@ func encodeActivityStarRepoForAuthenticatedUserResponse(response ActivityStarRep w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2357,7 +2357,7 @@ func encodeActivityStarRepoForAuthenticatedUserResponse(response ActivityStarRep w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2389,7 +2389,7 @@ func encodeActivityUnstarRepoForAuthenticatedUserResponse(response ActivityUnsta w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2402,7 +2402,7 @@ func encodeActivityUnstarRepoForAuthenticatedUserResponse(response ActivityUnsta w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2415,7 +2415,7 @@ func encodeActivityUnstarRepoForAuthenticatedUserResponse(response ActivityUnsta w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2447,7 +2447,7 @@ func encodeAppsAddRepoToInstallationResponse(response AppsAddRepoToInstallationR w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2460,7 +2460,7 @@ func encodeAppsAddRepoToInstallationResponse(response AppsAddRepoToInstallationR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2480,7 +2480,7 @@ func encodeAppsCheckTokenResponse(response AppsCheckTokenRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2493,7 +2493,7 @@ func encodeAppsCheckTokenResponse(response AppsCheckTokenRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2506,7 +2506,7 @@ func encodeAppsCheckTokenResponse(response AppsCheckTokenRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2526,7 +2526,7 @@ func encodeAppsCreateContentAttachmentResponse(response AppsCreateContentAttachm w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2545,7 +2545,7 @@ func encodeAppsCreateContentAttachmentResponse(response AppsCreateContentAttachm w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2558,7 +2558,7 @@ func encodeAppsCreateContentAttachmentResponse(response AppsCreateContentAttachm w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2571,7 +2571,7 @@ func encodeAppsCreateContentAttachmentResponse(response AppsCreateContentAttachm w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2584,7 +2584,7 @@ func encodeAppsCreateContentAttachmentResponse(response AppsCreateContentAttachm w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2597,7 +2597,7 @@ func encodeAppsCreateContentAttachmentResponse(response AppsCreateContentAttachm w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2617,7 +2617,7 @@ func encodeAppsCreateFromManifestResponse(response AppsCreateFromManifestRes, w w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2630,7 +2630,7 @@ func encodeAppsCreateFromManifestResponse(response AppsCreateFromManifestRes, w w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2643,7 +2643,7 @@ func encodeAppsCreateFromManifestResponse(response AppsCreateFromManifestRes, w w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2663,7 +2663,7 @@ func encodeAppsCreateInstallationAccessTokenResponse(response AppsCreateInstalla w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2676,7 +2676,7 @@ func encodeAppsCreateInstallationAccessTokenResponse(response AppsCreateInstalla w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2689,7 +2689,7 @@ func encodeAppsCreateInstallationAccessTokenResponse(response AppsCreateInstalla w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2702,7 +2702,7 @@ func encodeAppsCreateInstallationAccessTokenResponse(response AppsCreateInstalla w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2715,7 +2715,7 @@ func encodeAppsCreateInstallationAccessTokenResponse(response AppsCreateInstalla w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2728,7 +2728,7 @@ func encodeAppsCreateInstallationAccessTokenResponse(response AppsCreateInstalla w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2754,7 +2754,7 @@ func encodeAppsDeleteAuthorizationResponse(response AppsDeleteAuthorizationRes, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2780,7 +2780,7 @@ func encodeAppsDeleteInstallationResponse(response AppsDeleteInstallationRes, w w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2806,7 +2806,7 @@ func encodeAppsDeleteTokenResponse(response AppsDeleteTokenRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2824,7 +2824,7 @@ func encodeAppsGetAuthenticatedResponse(response *Integration, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2840,7 +2840,7 @@ func encodeAppsGetBySlugResponse(response AppsGetBySlugRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2853,7 +2853,7 @@ func encodeAppsGetBySlugResponse(response AppsGetBySlugRes, w http.ResponseWrite w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2866,7 +2866,7 @@ func encodeAppsGetBySlugResponse(response AppsGetBySlugRes, w http.ResponseWrite w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2879,7 +2879,7 @@ func encodeAppsGetBySlugResponse(response AppsGetBySlugRes, w http.ResponseWrite w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2899,7 +2899,7 @@ func encodeAppsGetSubscriptionPlanForAccountResponse(response AppsGetSubscriptio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2912,7 +2912,7 @@ func encodeAppsGetSubscriptionPlanForAccountResponse(response AppsGetSubscriptio w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2925,7 +2925,7 @@ func encodeAppsGetSubscriptionPlanForAccountResponse(response AppsGetSubscriptio w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2945,7 +2945,7 @@ func encodeAppsGetSubscriptionPlanForAccountStubbedResponse(response AppsGetSubs w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2958,7 +2958,7 @@ func encodeAppsGetSubscriptionPlanForAccountStubbedResponse(response AppsGetSubs w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2982,7 +2982,7 @@ func encodeAppsGetWebhookConfigForAppResponse(response *WebhookConfig, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2998,7 +2998,7 @@ func encodeAppsGetWebhookDeliveryResponse(response AppsGetWebhookDeliveryRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3011,7 +3011,7 @@ func encodeAppsGetWebhookDeliveryResponse(response AppsGetWebhookDeliveryRes, w w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3024,7 +3024,7 @@ func encodeAppsGetWebhookDeliveryResponse(response AppsGetWebhookDeliveryRes, w w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3063,7 +3063,7 @@ func encodeAppsListAccountsForPlanResponse(response AppsListAccountsForPlanRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -3080,7 +3080,7 @@ func encodeAppsListAccountsForPlanResponse(response AppsListAccountsForPlanRes, w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3093,7 +3093,7 @@ func encodeAppsListAccountsForPlanResponse(response AppsListAccountsForPlanRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3106,7 +3106,7 @@ func encodeAppsListAccountsForPlanResponse(response AppsListAccountsForPlanRes, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3145,7 +3145,7 @@ func encodeAppsListAccountsForPlanStubbedResponse(response AppsListAccountsForPl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -3162,7 +3162,7 @@ func encodeAppsListAccountsForPlanStubbedResponse(response AppsListAccountsForPl w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3201,7 +3201,7 @@ func encodeAppsListInstallationReposForAuthenticatedUserResponse(response AppsLi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3220,7 +3220,7 @@ func encodeAppsListInstallationReposForAuthenticatedUserResponse(response AppsLi w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3233,7 +3233,7 @@ func encodeAppsListInstallationReposForAuthenticatedUserResponse(response AppsLi w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3272,7 +3272,7 @@ func encodeAppsListPlansResponse(response AppsListPlansRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -3289,7 +3289,7 @@ func encodeAppsListPlansResponse(response AppsListPlansRes, w http.ResponseWrite w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3302,7 +3302,7 @@ func encodeAppsListPlansResponse(response AppsListPlansRes, w http.ResponseWrite w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3341,7 +3341,7 @@ func encodeAppsListPlansStubbedResponse(response AppsListPlansStubbedRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -3358,7 +3358,7 @@ func encodeAppsListPlansStubbedResponse(response AppsListPlansStubbedRes, w http w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3397,7 +3397,7 @@ func encodeAppsListReposAccessibleToInstallationResponse(response AppsListReposA w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3416,7 +3416,7 @@ func encodeAppsListReposAccessibleToInstallationResponse(response AppsListReposA w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3429,7 +3429,7 @@ func encodeAppsListReposAccessibleToInstallationResponse(response AppsListReposA w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3468,7 +3468,7 @@ func encodeAppsListSubscriptionsForAuthenticatedUserResponse(response AppsListSu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -3491,7 +3491,7 @@ func encodeAppsListSubscriptionsForAuthenticatedUserResponse(response AppsListSu w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3504,7 +3504,7 @@ func encodeAppsListSubscriptionsForAuthenticatedUserResponse(response AppsListSu w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3543,7 +3543,7 @@ func encodeAppsListSubscriptionsForAuthenticatedUserStubbedResponse(response App w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -3566,7 +3566,7 @@ func encodeAppsListSubscriptionsForAuthenticatedUserStubbedResponse(response App w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3586,7 +3586,7 @@ func encodeAppsListWebhookDeliveriesResponse(response AppsListWebhookDeliveriesR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3599,7 +3599,7 @@ func encodeAppsListWebhookDeliveriesResponse(response AppsListWebhookDeliveriesR w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3612,7 +3612,7 @@ func encodeAppsListWebhookDeliveriesResponse(response AppsListWebhookDeliveriesR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3632,7 +3632,7 @@ func encodeAppsRedeliverWebhookDeliveryResponse(response AppsRedeliverWebhookDel w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3645,7 +3645,7 @@ func encodeAppsRedeliverWebhookDeliveryResponse(response AppsRedeliverWebhookDel w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3658,7 +3658,7 @@ func encodeAppsRedeliverWebhookDeliveryResponse(response AppsRedeliverWebhookDel w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3690,7 +3690,7 @@ func encodeAppsRemoveRepoFromInstallationResponse(response AppsRemoveRepoFromIns w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3703,7 +3703,7 @@ func encodeAppsRemoveRepoFromInstallationResponse(response AppsRemoveRepoFromIns w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3723,7 +3723,7 @@ func encodeAppsResetTokenResponse(response AppsResetTokenRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3736,7 +3736,7 @@ func encodeAppsResetTokenResponse(response AppsResetTokenRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3763,7 +3763,7 @@ func encodeAppsScopeTokenResponse(response AppsScopeTokenRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3776,7 +3776,7 @@ func encodeAppsScopeTokenResponse(response AppsScopeTokenRes, w http.ResponseWri w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3789,7 +3789,7 @@ func encodeAppsScopeTokenResponse(response AppsScopeTokenRes, w http.ResponseWri w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3802,7 +3802,7 @@ func encodeAppsScopeTokenResponse(response AppsScopeTokenRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3815,7 +3815,7 @@ func encodeAppsScopeTokenResponse(response AppsScopeTokenRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3841,7 +3841,7 @@ func encodeAppsSuspendInstallationResponse(response AppsSuspendInstallationRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3867,7 +3867,7 @@ func encodeAppsUnsuspendInstallationResponse(response AppsUnsuspendInstallationR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3885,7 +3885,7 @@ func encodeAppsUpdateWebhookConfigForAppResponse(response *WebhookConfig, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3899,7 +3899,7 @@ func encodeBillingGetGithubActionsBillingGheResponse(response *ActionsBillingUsa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3913,7 +3913,7 @@ func encodeBillingGetGithubActionsBillingOrgResponse(response *ActionsBillingUsa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3927,7 +3927,7 @@ func encodeBillingGetGithubActionsBillingUserResponse(response *ActionsBillingUs w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3941,7 +3941,7 @@ func encodeBillingGetGithubPackagesBillingGheResponse(response *PackagesBillingU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3955,7 +3955,7 @@ func encodeBillingGetGithubPackagesBillingOrgResponse(response *PackagesBillingU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3969,7 +3969,7 @@ func encodeBillingGetGithubPackagesBillingUserResponse(response *PackagesBilling w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3983,7 +3983,7 @@ func encodeBillingGetSharedStorageBillingGheResponse(response *CombinedBillingUs w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3997,7 +3997,7 @@ func encodeBillingGetSharedStorageBillingOrgResponse(response *CombinedBillingUs w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4011,7 +4011,7 @@ func encodeBillingGetSharedStorageBillingUserResponse(response *CombinedBillingU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4027,7 +4027,7 @@ func encodeChecksCreateSuiteResponse(response ChecksCreateSuiteRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4040,7 +4040,7 @@ func encodeChecksCreateSuiteResponse(response ChecksCreateSuiteRes, w http.Respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4058,7 +4058,7 @@ func encodeChecksGetResponse(response *CheckRun, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4072,7 +4072,7 @@ func encodeChecksGetSuiteResponse(response *CheckSuite, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4105,7 +4105,7 @@ func encodeChecksListAnnotationsResponse(response *ChecksListAnnotationsOKHeader w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -4142,7 +4142,7 @@ func encodeChecksListForRefResponse(response *ChecksListForRefOKHeaders, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4175,7 +4175,7 @@ func encodeChecksListForSuiteResponse(response *ChecksListForSuiteOKHeaders, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4208,7 +4208,7 @@ func encodeChecksListSuitesForRefResponse(response *ChecksListSuitesForRefOKHead w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4222,7 +4222,7 @@ func encodeChecksRerequestSuiteResponse(response *ChecksRerequestSuiteCreated, w w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4236,7 +4236,7 @@ func encodeChecksSetSuitesPreferencesResponse(response *CheckSuitePreference, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4252,7 +4252,7 @@ func encodeCodeScanningDeleteAnalysisResponse(response CodeScanningDeleteAnalysi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4265,7 +4265,7 @@ func encodeCodeScanningDeleteAnalysisResponse(response CodeScanningDeleteAnalysi w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4278,7 +4278,7 @@ func encodeCodeScanningDeleteAnalysisResponse(response CodeScanningDeleteAnalysi w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4291,7 +4291,7 @@ func encodeCodeScanningDeleteAnalysisResponse(response CodeScanningDeleteAnalysi w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4304,7 +4304,7 @@ func encodeCodeScanningDeleteAnalysisResponse(response CodeScanningDeleteAnalysi w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4324,7 +4324,7 @@ func encodeCodeScanningGetAlertResponse(response CodeScanningGetAlertRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4337,7 +4337,7 @@ func encodeCodeScanningGetAlertResponse(response CodeScanningGetAlertRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4350,7 +4350,7 @@ func encodeCodeScanningGetAlertResponse(response CodeScanningGetAlertRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4363,7 +4363,7 @@ func encodeCodeScanningGetAlertResponse(response CodeScanningGetAlertRes, w http w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4383,7 +4383,7 @@ func encodeCodeScanningGetAnalysisResponse(response CodeScanningGetAnalysisRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4408,7 +4408,7 @@ func encodeCodeScanningGetAnalysisResponse(response CodeScanningGetAnalysisRes, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4421,7 +4421,7 @@ func encodeCodeScanningGetAnalysisResponse(response CodeScanningGetAnalysisRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4434,7 +4434,7 @@ func encodeCodeScanningGetAnalysisResponse(response CodeScanningGetAnalysisRes, w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4454,7 +4454,7 @@ func encodeCodeScanningGetSarifResponse(response CodeScanningGetSarifRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4467,7 +4467,7 @@ func encodeCodeScanningGetSarifResponse(response CodeScanningGetSarifRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4486,7 +4486,7 @@ func encodeCodeScanningGetSarifResponse(response CodeScanningGetSarifRes, w http w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4506,7 +4506,7 @@ func encodeCodeScanningListAlertInstancesResponse(response CodeScanningListAlert w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4519,7 +4519,7 @@ func encodeCodeScanningListAlertInstancesResponse(response CodeScanningListAlert w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4532,7 +4532,7 @@ func encodeCodeScanningListAlertInstancesResponse(response CodeScanningListAlert w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4545,7 +4545,7 @@ func encodeCodeScanningListAlertInstancesResponse(response CodeScanningListAlert w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4565,7 +4565,7 @@ func encodeCodeScanningListAlertsForRepoResponse(response CodeScanningListAlerts w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4578,7 +4578,7 @@ func encodeCodeScanningListAlertsForRepoResponse(response CodeScanningListAlerts w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4591,7 +4591,7 @@ func encodeCodeScanningListAlertsForRepoResponse(response CodeScanningListAlerts w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4604,7 +4604,7 @@ func encodeCodeScanningListAlertsForRepoResponse(response CodeScanningListAlerts w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4624,7 +4624,7 @@ func encodeCodeScanningListRecentAnalysesResponse(response CodeScanningListRecen w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4637,7 +4637,7 @@ func encodeCodeScanningListRecentAnalysesResponse(response CodeScanningListRecen w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4650,7 +4650,7 @@ func encodeCodeScanningListRecentAnalysesResponse(response CodeScanningListRecen w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4663,7 +4663,7 @@ func encodeCodeScanningListRecentAnalysesResponse(response CodeScanningListRecen w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4683,7 +4683,7 @@ func encodeCodeScanningUpdateAlertResponse(response CodeScanningUpdateAlertRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4696,7 +4696,7 @@ func encodeCodeScanningUpdateAlertResponse(response CodeScanningUpdateAlertRes, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4709,7 +4709,7 @@ func encodeCodeScanningUpdateAlertResponse(response CodeScanningUpdateAlertRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4722,7 +4722,7 @@ func encodeCodeScanningUpdateAlertResponse(response CodeScanningUpdateAlertRes, w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4742,7 +4742,7 @@ func encodeCodeScanningUploadSarifResponse(response CodeScanningUploadSarifRes, w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4761,7 +4761,7 @@ func encodeCodeScanningUploadSarifResponse(response CodeScanningUploadSarifRes, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4774,7 +4774,7 @@ func encodeCodeScanningUploadSarifResponse(response CodeScanningUploadSarifRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4793,7 +4793,7 @@ func encodeCodeScanningUploadSarifResponse(response CodeScanningUploadSarifRes, w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4813,7 +4813,7 @@ func encodeCodesOfConductGetAllCodesOfConductResponse(response CodesOfConductGet w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4839,7 +4839,7 @@ func encodeCodesOfConductGetConductCodeResponse(response CodesOfConductGetConduc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4858,7 +4858,7 @@ func encodeCodesOfConductGetConductCodeResponse(response CodesOfConductGetConduc w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4878,7 +4878,7 @@ func encodeEmojisGetResponse(response EmojisGetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4916,7 +4916,7 @@ func encodeEnterpriseAdminCreateRegistrationTokenForEnterpriseResponse(response w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4930,7 +4930,7 @@ func encodeEnterpriseAdminCreateRemoveTokenForEnterpriseResponse(response *Authe w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4944,7 +4944,7 @@ func encodeEnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseResponse(respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5000,7 +5000,7 @@ func encodeEnterpriseAdminGetAllowedActionsEnterpriseResponse(response *Selected w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5014,7 +5014,7 @@ func encodeEnterpriseAdminGetAuditLogResponse(response []AuditLogEvent, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -5032,7 +5032,7 @@ func encodeEnterpriseAdminGetGithubActionsPermissionsEnterpriseResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5046,7 +5046,7 @@ func encodeEnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponse(r w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5060,7 +5060,7 @@ func encodeEnterpriseAdminGetProvisioningInformationForEnterpriseUserResponse(re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5074,7 +5074,7 @@ func encodeEnterpriseAdminGetSelfHostedRunnerForEnterpriseResponse(response *Run w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5088,7 +5088,7 @@ func encodeEnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5102,7 +5102,7 @@ func encodeEnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseRespon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5116,7 +5116,7 @@ func encodeEnterpriseAdminListProvisionedGroupsEnterpriseResponse(response *Scim w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5130,7 +5130,7 @@ func encodeEnterpriseAdminListProvisionedIdentitiesEnterpriseResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5144,7 +5144,7 @@ func encodeEnterpriseAdminListRunnerApplicationsForEnterpriseResponse(response [ w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -5162,7 +5162,7 @@ func encodeEnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpris w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5176,7 +5176,7 @@ func encodeEnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponse(respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5209,7 +5209,7 @@ func encodeEnterpriseAdminListSelfHostedRunnersForEnterpriseResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5242,7 +5242,7 @@ func encodeEnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponse(resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5256,7 +5256,7 @@ func encodeEnterpriseAdminProvisionAndInviteEnterpriseGroupResponse(response *Sc w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5270,7 +5270,7 @@ func encodeEnterpriseAdminProvisionAndInviteEnterpriseUserResponse(response *Sci w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5312,7 +5312,7 @@ func encodeEnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponse(re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5326,7 +5326,7 @@ func encodeEnterpriseAdminSetInformationForProvisionedEnterpriseUserResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5361,7 +5361,7 @@ func encodeEnterpriseAdminUpdateAttributeForEnterpriseGroupResponse(response *Sc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5375,7 +5375,7 @@ func encodeEnterpriseAdminUpdateAttributeForEnterpriseUserResponse(response *Sci w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5389,7 +5389,7 @@ func encodeEnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5417,7 +5417,7 @@ func encodeGistsCheckIsStarredResponse(response GistsCheckIsStarredRes, w http.R w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5430,7 +5430,7 @@ func encodeGistsCheckIsStarredResponse(response GistsCheckIsStarredRes, w http.R w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5469,7 +5469,7 @@ func encodeGistsCreateResponse(response GistsCreateRes, w http.ResponseWriter, s w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5488,7 +5488,7 @@ func encodeGistsCreateResponse(response GistsCreateRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5501,7 +5501,7 @@ func encodeGistsCreateResponse(response GistsCreateRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5514,7 +5514,7 @@ func encodeGistsCreateResponse(response GistsCreateRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5553,7 +5553,7 @@ func encodeGistsCreateCommentResponse(response GistsCreateCommentRes, w http.Res w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5572,7 +5572,7 @@ func encodeGistsCreateCommentResponse(response GistsCreateCommentRes, w http.Res w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5585,7 +5585,7 @@ func encodeGistsCreateCommentResponse(response GistsCreateCommentRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5617,7 +5617,7 @@ func encodeGistsDeleteResponse(response GistsDeleteRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5630,7 +5630,7 @@ func encodeGistsDeleteResponse(response GistsDeleteRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5662,7 +5662,7 @@ func encodeGistsDeleteCommentResponse(response GistsDeleteCommentRes, w http.Res w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5675,7 +5675,7 @@ func encodeGistsDeleteCommentResponse(response GistsDeleteCommentRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5714,7 +5714,7 @@ func encodeGistsForkResponse(response GistsForkRes, w http.ResponseWriter, span w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5733,7 +5733,7 @@ func encodeGistsForkResponse(response GistsForkRes, w http.ResponseWriter, span w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5746,7 +5746,7 @@ func encodeGistsForkResponse(response GistsForkRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5759,7 +5759,7 @@ func encodeGistsForkResponse(response GistsForkRes, w http.ResponseWriter, span w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5779,7 +5779,7 @@ func encodeGistsGetResponse(response GistsGetRes, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5798,7 +5798,7 @@ func encodeGistsGetResponse(response GistsGetRes, w http.ResponseWriter, span tr w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5811,7 +5811,7 @@ func encodeGistsGetResponse(response GistsGetRes, w http.ResponseWriter, span tr w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5831,7 +5831,7 @@ func encodeGistsGetCommentResponse(response GistsGetCommentRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5850,7 +5850,7 @@ func encodeGistsGetCommentResponse(response GistsGetCommentRes, w http.ResponseW w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5863,7 +5863,7 @@ func encodeGistsGetCommentResponse(response GistsGetCommentRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5883,7 +5883,7 @@ func encodeGistsGetRevisionResponse(response GistsGetRevisionRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5896,7 +5896,7 @@ func encodeGistsGetRevisionResponse(response GistsGetRevisionRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5909,7 +5909,7 @@ func encodeGistsGetRevisionResponse(response GistsGetRevisionRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5922,7 +5922,7 @@ func encodeGistsGetRevisionResponse(response GistsGetRevisionRes, w http.Respons w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5961,7 +5961,7 @@ func encodeGistsListResponse(response GistsListRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -5984,7 +5984,7 @@ func encodeGistsListResponse(response GistsListRes, w http.ResponseWriter, span w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6023,7 +6023,7 @@ func encodeGistsListCommentsResponse(response GistsListCommentsRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -6046,7 +6046,7 @@ func encodeGistsListCommentsResponse(response GistsListCommentsRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6059,7 +6059,7 @@ func encodeGistsListCommentsResponse(response GistsListCommentsRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6098,7 +6098,7 @@ func encodeGistsListCommitsResponse(response GistsListCommitsRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -6121,7 +6121,7 @@ func encodeGistsListCommitsResponse(response GistsListCommitsRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6134,7 +6134,7 @@ func encodeGistsListCommitsResponse(response GistsListCommitsRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6173,7 +6173,7 @@ func encodeGistsListForUserResponse(response GistsListForUserRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -6190,7 +6190,7 @@ func encodeGistsListForUserResponse(response GistsListForUserRes, w http.Respons w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6229,7 +6229,7 @@ func encodeGistsListForksResponse(response GistsListForksRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -6252,7 +6252,7 @@ func encodeGistsListForksResponse(response GistsListForksRes, w http.ResponseWri w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6265,7 +6265,7 @@ func encodeGistsListForksResponse(response GistsListForksRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6304,7 +6304,7 @@ func encodeGistsListPublicResponse(response GistsListPublicRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -6327,7 +6327,7 @@ func encodeGistsListPublicResponse(response GistsListPublicRes, w http.ResponseW w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6340,7 +6340,7 @@ func encodeGistsListPublicResponse(response GistsListPublicRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6379,7 +6379,7 @@ func encodeGistsListStarredResponse(response GistsListStarredRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -6402,7 +6402,7 @@ func encodeGistsListStarredResponse(response GistsListStarredRes, w http.Respons w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6415,7 +6415,7 @@ func encodeGistsListStarredResponse(response GistsListStarredRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6447,7 +6447,7 @@ func encodeGistsStarResponse(response GistsStarRes, w http.ResponseWriter, span w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6460,7 +6460,7 @@ func encodeGistsStarResponse(response GistsStarRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6492,7 +6492,7 @@ func encodeGistsUnstarResponse(response GistsUnstarRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6505,7 +6505,7 @@ func encodeGistsUnstarResponse(response GistsUnstarRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6525,7 +6525,7 @@ func encodeGistsUpdateCommentResponse(response GistsUpdateCommentRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6538,7 +6538,7 @@ func encodeGistsUpdateCommentResponse(response GistsUpdateCommentRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6577,7 +6577,7 @@ func encodeGitCreateBlobResponse(response GitCreateBlobRes, w http.ResponseWrite w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6590,7 +6590,7 @@ func encodeGitCreateBlobResponse(response GitCreateBlobRes, w http.ResponseWrite w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6603,7 +6603,7 @@ func encodeGitCreateBlobResponse(response GitCreateBlobRes, w http.ResponseWrite w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6616,7 +6616,7 @@ func encodeGitCreateBlobResponse(response GitCreateBlobRes, w http.ResponseWrite w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6629,7 +6629,7 @@ func encodeGitCreateBlobResponse(response GitCreateBlobRes, w http.ResponseWrite w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6668,7 +6668,7 @@ func encodeGitCreateCommitResponse(response GitCreateCommitRes, w http.ResponseW w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6681,7 +6681,7 @@ func encodeGitCreateCommitResponse(response GitCreateCommitRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6694,7 +6694,7 @@ func encodeGitCreateCommitResponse(response GitCreateCommitRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6733,7 +6733,7 @@ func encodeGitCreateRefResponse(response GitCreateRefRes, w http.ResponseWriter, w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6746,7 +6746,7 @@ func encodeGitCreateRefResponse(response GitCreateRefRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6785,7 +6785,7 @@ func encodeGitCreateTagResponse(response GitCreateTagRes, w http.ResponseWriter, w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6798,7 +6798,7 @@ func encodeGitCreateTagResponse(response GitCreateTagRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6837,7 +6837,7 @@ func encodeGitCreateTreeResponse(response GitCreateTreeRes, w http.ResponseWrite w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6850,7 +6850,7 @@ func encodeGitCreateTreeResponse(response GitCreateTreeRes, w http.ResponseWrite w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6863,7 +6863,7 @@ func encodeGitCreateTreeResponse(response GitCreateTreeRes, w http.ResponseWrite w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6876,7 +6876,7 @@ func encodeGitCreateTreeResponse(response GitCreateTreeRes, w http.ResponseWrite w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6902,7 +6902,7 @@ func encodeGitDeleteRefResponse(response GitDeleteRefRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6922,7 +6922,7 @@ func encodeGitGetBlobResponse(response GitGetBlobRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6935,7 +6935,7 @@ func encodeGitGetBlobResponse(response GitGetBlobRes, w http.ResponseWriter, spa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6948,7 +6948,7 @@ func encodeGitGetBlobResponse(response GitGetBlobRes, w http.ResponseWriter, spa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6961,7 +6961,7 @@ func encodeGitGetBlobResponse(response GitGetBlobRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6981,7 +6981,7 @@ func encodeGitGetCommitResponse(response GitGetCommitRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6994,7 +6994,7 @@ func encodeGitGetCommitResponse(response GitGetCommitRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7014,7 +7014,7 @@ func encodeGitGetRefResponse(response GitGetRefRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7027,7 +7027,7 @@ func encodeGitGetRefResponse(response GitGetRefRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7047,7 +7047,7 @@ func encodeGitGetTagResponse(response GitGetTagRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7060,7 +7060,7 @@ func encodeGitGetTagResponse(response GitGetTagRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7080,7 +7080,7 @@ func encodeGitGetTreeResponse(response GitGetTreeRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7093,7 +7093,7 @@ func encodeGitGetTreeResponse(response GitGetTreeRes, w http.ResponseWriter, spa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7106,7 +7106,7 @@ func encodeGitGetTreeResponse(response GitGetTreeRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7143,7 +7143,7 @@ func encodeGitListMatchingRefsResponse(response *GitListMatchingRefsOKHeaders, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -7163,7 +7163,7 @@ func encodeGitUpdateRefResponse(response GitUpdateRefRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7176,7 +7176,7 @@ func encodeGitUpdateRefResponse(response GitUpdateRefRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7196,7 +7196,7 @@ func encodeGitignoreGetAllTemplatesResponse(response GitignoreGetAllTemplatesRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7222,7 +7222,7 @@ func encodeGitignoreGetTemplateResponse(response GitignoreGetTemplateRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7281,7 +7281,7 @@ func encodeInteractionsSetRestrictionsForAuthenticatedUserResponse(response Inte w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7294,7 +7294,7 @@ func encodeInteractionsSetRestrictionsForAuthenticatedUserResponse(response Inte w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7314,7 +7314,7 @@ func encodeInteractionsSetRestrictionsForOrgResponse(response InteractionsSetRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7327,7 +7327,7 @@ func encodeInteractionsSetRestrictionsForOrgResponse(response InteractionsSetRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7347,7 +7347,7 @@ func encodeInteractionsSetRestrictionsForRepoResponse(response InteractionsSetRe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7371,7 +7371,7 @@ func encodeIssuesAddAssigneesResponse(response *IssueSimple, w http.ResponseWrit w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7393,7 +7393,7 @@ func encodeIssuesCheckUserCanBeAssignedResponse(response IssuesCheckUserCanBeAss w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7432,7 +7432,7 @@ func encodeIssuesCreateResponse(response IssuesCreateRes, w http.ResponseWriter, w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7445,7 +7445,7 @@ func encodeIssuesCreateResponse(response IssuesCreateRes, w http.ResponseWriter, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7458,7 +7458,7 @@ func encodeIssuesCreateResponse(response IssuesCreateRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7471,7 +7471,7 @@ func encodeIssuesCreateResponse(response IssuesCreateRes, w http.ResponseWriter, w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7484,7 +7484,7 @@ func encodeIssuesCreateResponse(response IssuesCreateRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7497,7 +7497,7 @@ func encodeIssuesCreateResponse(response IssuesCreateRes, w http.ResponseWriter, w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7536,7 +7536,7 @@ func encodeIssuesCreateCommentResponse(response IssuesCreateCommentRes, w http.R w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7549,7 +7549,7 @@ func encodeIssuesCreateCommentResponse(response IssuesCreateCommentRes, w http.R w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7562,7 +7562,7 @@ func encodeIssuesCreateCommentResponse(response IssuesCreateCommentRes, w http.R w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7575,7 +7575,7 @@ func encodeIssuesCreateCommentResponse(response IssuesCreateCommentRes, w http.R w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7588,7 +7588,7 @@ func encodeIssuesCreateCommentResponse(response IssuesCreateCommentRes, w http.R w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7627,7 +7627,7 @@ func encodeIssuesCreateLabelResponse(response IssuesCreateLabelRes, w http.Respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7640,7 +7640,7 @@ func encodeIssuesCreateLabelResponse(response IssuesCreateLabelRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7653,7 +7653,7 @@ func encodeIssuesCreateLabelResponse(response IssuesCreateLabelRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7692,7 +7692,7 @@ func encodeIssuesCreateMilestoneResponse(response IssuesCreateMilestoneRes, w ht w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7705,7 +7705,7 @@ func encodeIssuesCreateMilestoneResponse(response IssuesCreateMilestoneRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7718,7 +7718,7 @@ func encodeIssuesCreateMilestoneResponse(response IssuesCreateMilestoneRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7758,7 +7758,7 @@ func encodeIssuesDeleteMilestoneResponse(response IssuesDeleteMilestoneRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7778,7 +7778,7 @@ func encodeIssuesGetResponse(response IssuesGetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7791,7 +7791,7 @@ func encodeIssuesGetResponse(response IssuesGetRes, w http.ResponseWriter, span w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7810,7 +7810,7 @@ func encodeIssuesGetResponse(response IssuesGetRes, w http.ResponseWriter, span w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7823,7 +7823,7 @@ func encodeIssuesGetResponse(response IssuesGetRes, w http.ResponseWriter, span w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7843,7 +7843,7 @@ func encodeIssuesGetCommentResponse(response IssuesGetCommentRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7856,7 +7856,7 @@ func encodeIssuesGetCommentResponse(response IssuesGetCommentRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7876,7 +7876,7 @@ func encodeIssuesGetEventResponse(response IssuesGetEventRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7889,7 +7889,7 @@ func encodeIssuesGetEventResponse(response IssuesGetEventRes, w http.ResponseWri w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7902,7 +7902,7 @@ func encodeIssuesGetEventResponse(response IssuesGetEventRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7915,7 +7915,7 @@ func encodeIssuesGetEventResponse(response IssuesGetEventRes, w http.ResponseWri w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7935,7 +7935,7 @@ func encodeIssuesGetLabelResponse(response IssuesGetLabelRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7948,7 +7948,7 @@ func encodeIssuesGetLabelResponse(response IssuesGetLabelRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7968,7 +7968,7 @@ func encodeIssuesGetMilestoneResponse(response IssuesGetMilestoneRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7981,7 +7981,7 @@ func encodeIssuesGetMilestoneResponse(response IssuesGetMilestoneRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8020,7 +8020,7 @@ func encodeIssuesListResponse(response IssuesListRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8043,7 +8043,7 @@ func encodeIssuesListResponse(response IssuesListRes, w http.ResponseWriter, spa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8056,7 +8056,7 @@ func encodeIssuesListResponse(response IssuesListRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8095,7 +8095,7 @@ func encodeIssuesListAssigneesResponse(response IssuesListAssigneesRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8112,7 +8112,7 @@ func encodeIssuesListAssigneesResponse(response IssuesListAssigneesRes, w http.R w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8151,7 +8151,7 @@ func encodeIssuesListCommentsResponse(response IssuesListCommentsRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8168,7 +8168,7 @@ func encodeIssuesListCommentsResponse(response IssuesListCommentsRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8181,7 +8181,7 @@ func encodeIssuesListCommentsResponse(response IssuesListCommentsRes, w http.Res w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8220,7 +8220,7 @@ func encodeIssuesListCommentsForRepoResponse(response IssuesListCommentsForRepoR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8237,7 +8237,7 @@ func encodeIssuesListCommentsForRepoResponse(response IssuesListCommentsForRepoR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8250,7 +8250,7 @@ func encodeIssuesListCommentsForRepoResponse(response IssuesListCommentsForRepoR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8289,7 +8289,7 @@ func encodeIssuesListEventsForRepoResponse(response IssuesListEventsForRepoRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8306,7 +8306,7 @@ func encodeIssuesListEventsForRepoResponse(response IssuesListEventsForRepoRes, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8345,7 +8345,7 @@ func encodeIssuesListForAuthenticatedUserResponse(response IssuesListForAuthenti w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8368,7 +8368,7 @@ func encodeIssuesListForAuthenticatedUserResponse(response IssuesListForAuthenti w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8407,7 +8407,7 @@ func encodeIssuesListForOrgResponse(response IssuesListForOrgRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8424,7 +8424,7 @@ func encodeIssuesListForOrgResponse(response IssuesListForOrgRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8463,7 +8463,7 @@ func encodeIssuesListForRepoResponse(response IssuesListForRepoRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8480,7 +8480,7 @@ func encodeIssuesListForRepoResponse(response IssuesListForRepoRes, w http.Respo w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8493,7 +8493,7 @@ func encodeIssuesListForRepoResponse(response IssuesListForRepoRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8506,7 +8506,7 @@ func encodeIssuesListForRepoResponse(response IssuesListForRepoRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8543,7 +8543,7 @@ func encodeIssuesListLabelsForMilestoneResponse(response *IssuesListLabelsForMil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8582,7 +8582,7 @@ func encodeIssuesListLabelsForRepoResponse(response IssuesListLabelsForRepoRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8599,7 +8599,7 @@ func encodeIssuesListLabelsForRepoResponse(response IssuesListLabelsForRepoRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8638,7 +8638,7 @@ func encodeIssuesListLabelsOnIssueResponse(response IssuesListLabelsOnIssueRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8655,7 +8655,7 @@ func encodeIssuesListLabelsOnIssueResponse(response IssuesListLabelsOnIssueRes, w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8694,7 +8694,7 @@ func encodeIssuesListMilestonesResponse(response IssuesListMilestonesRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -8711,7 +8711,7 @@ func encodeIssuesListMilestonesResponse(response IssuesListMilestonesRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8737,7 +8737,7 @@ func encodeIssuesLockResponse(response IssuesLockRes, w http.ResponseWriter, spa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8750,7 +8750,7 @@ func encodeIssuesLockResponse(response IssuesLockRes, w http.ResponseWriter, spa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8763,7 +8763,7 @@ func encodeIssuesLockResponse(response IssuesLockRes, w http.ResponseWriter, spa w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8776,7 +8776,7 @@ func encodeIssuesLockResponse(response IssuesLockRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8802,7 +8802,7 @@ func encodeIssuesRemoveAllLabelsResponse(response IssuesRemoveAllLabelsRes, w ht w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8820,7 +8820,7 @@ func encodeIssuesRemoveAssigneesResponse(response *IssueSimple, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8836,7 +8836,7 @@ func encodeIssuesRemoveLabelResponse(response IssuesRemoveLabelRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8849,7 +8849,7 @@ func encodeIssuesRemoveLabelResponse(response IssuesRemoveLabelRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8862,7 +8862,7 @@ func encodeIssuesRemoveLabelResponse(response IssuesRemoveLabelRes, w http.Respo w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8888,7 +8888,7 @@ func encodeIssuesUnlockResponse(response IssuesUnlockRes, w http.ResponseWriter, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8901,7 +8901,7 @@ func encodeIssuesUnlockResponse(response IssuesUnlockRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8921,7 +8921,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8934,7 +8934,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8947,7 +8947,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8960,7 +8960,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8973,7 +8973,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8986,7 +8986,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8999,7 +8999,7 @@ func encodeIssuesUpdateResponse(response IssuesUpdateRes, w http.ResponseWriter, w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9019,7 +9019,7 @@ func encodeIssuesUpdateCommentResponse(response IssuesUpdateCommentRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9032,7 +9032,7 @@ func encodeIssuesUpdateCommentResponse(response IssuesUpdateCommentRes, w http.R w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9050,7 +9050,7 @@ func encodeIssuesUpdateLabelResponse(response *Label, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9064,7 +9064,7 @@ func encodeIssuesUpdateMilestoneResponse(response *Milestone, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9080,7 +9080,7 @@ func encodeLicensesGetResponse(response LicensesGetRes, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9099,7 +9099,7 @@ func encodeLicensesGetResponse(response LicensesGetRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9112,7 +9112,7 @@ func encodeLicensesGetResponse(response LicensesGetRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9132,7 +9132,7 @@ func encodeLicensesGetAllCommonlyUsedResponse(response LicensesGetAllCommonlyUse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9156,7 +9156,7 @@ func encodeLicensesGetForRepoResponse(response *LicenseContent, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9275,7 +9275,7 @@ func encodeMetaGetResponse(response MetaGetRes, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9325,7 +9325,7 @@ func encodeMetaRootResponse(response *MetaRootOK, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9360,7 +9360,7 @@ func encodeMigrationsDeleteArchiveForAuthenticatedUserResponse(response Migratio w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9373,7 +9373,7 @@ func encodeMigrationsDeleteArchiveForAuthenticatedUserResponse(response Migratio w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9386,7 +9386,7 @@ func encodeMigrationsDeleteArchiveForAuthenticatedUserResponse(response Migratio w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9412,7 +9412,7 @@ func encodeMigrationsDeleteArchiveForOrgResponse(response MigrationsDeleteArchiv w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9438,7 +9438,7 @@ func encodeMigrationsDownloadArchiveForOrgResponse(response MigrationsDownloadAr w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9470,7 +9470,7 @@ func encodeMigrationsGetArchiveForAuthenticatedUserResponse(response MigrationsG w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9483,7 +9483,7 @@ func encodeMigrationsGetArchiveForAuthenticatedUserResponse(response MigrationsG w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9503,7 +9503,7 @@ func encodeMigrationsGetCommitAuthorsResponse(response MigrationsGetCommitAuthor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9516,7 +9516,7 @@ func encodeMigrationsGetCommitAuthorsResponse(response MigrationsGetCommitAuthor w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9536,7 +9536,7 @@ func encodeMigrationsGetImportStatusResponse(response MigrationsGetImportStatusR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9549,7 +9549,7 @@ func encodeMigrationsGetImportStatusResponse(response MigrationsGetImportStatusR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9567,7 +9567,7 @@ func encodeMigrationsGetLargeFilesResponse(response []PorterLargeFile, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -9587,7 +9587,7 @@ func encodeMigrationsGetStatusForAuthenticatedUserResponse(response MigrationsGe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9606,7 +9606,7 @@ func encodeMigrationsGetStatusForAuthenticatedUserResponse(response MigrationsGe w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9619,7 +9619,7 @@ func encodeMigrationsGetStatusForAuthenticatedUserResponse(response MigrationsGe w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9632,7 +9632,7 @@ func encodeMigrationsGetStatusForAuthenticatedUserResponse(response MigrationsGe w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9652,7 +9652,7 @@ func encodeMigrationsGetStatusForOrgResponse(response MigrationsGetStatusForOrgR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9665,7 +9665,7 @@ func encodeMigrationsGetStatusForOrgResponse(response MigrationsGetStatusForOrgR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9704,7 +9704,7 @@ func encodeMigrationsListForAuthenticatedUserResponse(response MigrationsListFor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -9727,7 +9727,7 @@ func encodeMigrationsListForAuthenticatedUserResponse(response MigrationsListFor w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9740,7 +9740,7 @@ func encodeMigrationsListForAuthenticatedUserResponse(response MigrationsListFor w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9777,7 +9777,7 @@ func encodeMigrationsListForOrgResponse(response *MigrationsListForOrgOKHeaders, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -9816,7 +9816,7 @@ func encodeMigrationsListReposForOrgResponse(response MigrationsListReposForOrgR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -9833,7 +9833,7 @@ func encodeMigrationsListReposForOrgResponse(response MigrationsListReposForOrgR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9872,7 +9872,7 @@ func encodeMigrationsListReposForUserResponse(response MigrationsListReposForUse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -9889,7 +9889,7 @@ func encodeMigrationsListReposForUserResponse(response MigrationsListReposForUse w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9909,7 +9909,7 @@ func encodeMigrationsMapCommitAuthorResponse(response MigrationsMapCommitAuthorR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9922,7 +9922,7 @@ func encodeMigrationsMapCommitAuthorResponse(response MigrationsMapCommitAuthorR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9935,7 +9935,7 @@ func encodeMigrationsMapCommitAuthorResponse(response MigrationsMapCommitAuthorR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9955,7 +9955,7 @@ func encodeMigrationsSetLfsPreferenceResponse(response MigrationsSetLfsPreferenc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9968,7 +9968,7 @@ func encodeMigrationsSetLfsPreferenceResponse(response MigrationsSetLfsPreferenc w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9988,7 +9988,7 @@ func encodeMigrationsStartForAuthenticatedUserResponse(response MigrationsStartF w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10007,7 +10007,7 @@ func encodeMigrationsStartForAuthenticatedUserResponse(response MigrationsStartF w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10020,7 +10020,7 @@ func encodeMigrationsStartForAuthenticatedUserResponse(response MigrationsStartF w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10033,7 +10033,7 @@ func encodeMigrationsStartForAuthenticatedUserResponse(response MigrationsStartF w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10053,7 +10053,7 @@ func encodeMigrationsStartForOrgResponse(response MigrationsStartForOrgRes, w ht w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10066,7 +10066,7 @@ func encodeMigrationsStartForOrgResponse(response MigrationsStartForOrgRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10079,7 +10079,7 @@ func encodeMigrationsStartForOrgResponse(response MigrationsStartForOrgRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10118,7 +10118,7 @@ func encodeMigrationsStartImportResponse(response MigrationsStartImportRes, w ht w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10131,7 +10131,7 @@ func encodeMigrationsStartImportResponse(response MigrationsStartImportRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10144,7 +10144,7 @@ func encodeMigrationsStartImportResponse(response MigrationsStartImportRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10176,7 +10176,7 @@ func encodeMigrationsUnlockRepoForAuthenticatedUserResponse(response MigrationsU w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10189,7 +10189,7 @@ func encodeMigrationsUnlockRepoForAuthenticatedUserResponse(response MigrationsU w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10202,7 +10202,7 @@ func encodeMigrationsUnlockRepoForAuthenticatedUserResponse(response MigrationsU w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10228,7 +10228,7 @@ func encodeMigrationsUnlockRepoForOrgResponse(response MigrationsUnlockRepoForOr w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10246,7 +10246,7 @@ func encodeMigrationsUpdateImportResponse(response *Import, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10281,7 +10281,7 @@ func encodeOAuthAuthorizationsCreateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10300,7 +10300,7 @@ func encodeOAuthAuthorizationsCreateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10313,7 +10313,7 @@ func encodeOAuthAuthorizationsCreateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10326,7 +10326,7 @@ func encodeOAuthAuthorizationsCreateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10339,7 +10339,7 @@ func encodeOAuthAuthorizationsCreateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10371,7 +10371,7 @@ func encodeOAuthAuthorizationsDeleteAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10384,7 +10384,7 @@ func encodeOAuthAuthorizationsDeleteAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10416,7 +10416,7 @@ func encodeOAuthAuthorizationsDeleteGrantResponse(response OAuthAuthorizationsDe w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10429,7 +10429,7 @@ func encodeOAuthAuthorizationsDeleteGrantResponse(response OAuthAuthorizationsDe w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10449,7 +10449,7 @@ func encodeOAuthAuthorizationsGetAuthorizationResponse(response OAuthAuthorizati w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10468,7 +10468,7 @@ func encodeOAuthAuthorizationsGetAuthorizationResponse(response OAuthAuthorizati w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10481,7 +10481,7 @@ func encodeOAuthAuthorizationsGetAuthorizationResponse(response OAuthAuthorizati w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10501,7 +10501,7 @@ func encodeOAuthAuthorizationsGetGrantResponse(response OAuthAuthorizationsGetGr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10520,7 +10520,7 @@ func encodeOAuthAuthorizationsGetGrantResponse(response OAuthAuthorizationsGetGr w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10533,7 +10533,7 @@ func encodeOAuthAuthorizationsGetGrantResponse(response OAuthAuthorizationsGetGr w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10572,7 +10572,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppResponse(response OA w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10604,7 +10604,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppResponse(response OA w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10623,7 +10623,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppResponse(response OA w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10636,7 +10636,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppResponse(response OA w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10649,7 +10649,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppResponse(response OA w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10688,7 +10688,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRespon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10720,7 +10720,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRespon w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10733,7 +10733,7 @@ func encodeOAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRespon w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10772,7 +10772,7 @@ func encodeOAuthAuthorizationsListAuthorizationsResponse(response OAuthAuthoriza w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -10795,7 +10795,7 @@ func encodeOAuthAuthorizationsListAuthorizationsResponse(response OAuthAuthoriza w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10808,7 +10808,7 @@ func encodeOAuthAuthorizationsListAuthorizationsResponse(response OAuthAuthoriza w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10821,7 +10821,7 @@ func encodeOAuthAuthorizationsListAuthorizationsResponse(response OAuthAuthoriza w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10860,7 +10860,7 @@ func encodeOAuthAuthorizationsListGrantsResponse(response OAuthAuthorizationsLis w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -10883,7 +10883,7 @@ func encodeOAuthAuthorizationsListGrantsResponse(response OAuthAuthorizationsLis w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10896,7 +10896,7 @@ func encodeOAuthAuthorizationsListGrantsResponse(response OAuthAuthorizationsLis w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10909,7 +10909,7 @@ func encodeOAuthAuthorizationsListGrantsResponse(response OAuthAuthorizationsLis w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10929,7 +10929,7 @@ func encodeOAuthAuthorizationsUpdateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10942,7 +10942,7 @@ func encodeOAuthAuthorizationsUpdateAuthorizationResponse(response OAuthAuthoriz w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10968,7 +10968,7 @@ func encodeOrgsBlockUserResponse(response OrgsBlockUserRes, w http.ResponseWrite w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10994,7 +10994,7 @@ func encodeOrgsCancelInvitationResponse(response OrgsCancelInvitationRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11007,7 +11007,7 @@ func encodeOrgsCancelInvitationResponse(response OrgsCancelInvitationRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11033,7 +11033,7 @@ func encodeOrgsCheckBlockedUserResponse(response OrgsCheckBlockedUserRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11116,7 +11116,7 @@ func encodeOrgsConvertMemberToOutsideCollaboratorResponse(response OrgsConvertMe w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11141,7 +11141,7 @@ func encodeOrgsConvertMemberToOutsideCollaboratorResponse(response OrgsConvertMe w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11161,7 +11161,7 @@ func encodeOrgsCreateInvitationResponse(response OrgsCreateInvitationRes, w http w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11174,7 +11174,7 @@ func encodeOrgsCreateInvitationResponse(response OrgsCreateInvitationRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11187,7 +11187,7 @@ func encodeOrgsCreateInvitationResponse(response OrgsCreateInvitationRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11226,7 +11226,7 @@ func encodeOrgsCreateWebhookResponse(response OrgsCreateWebhookRes, w http.Respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11239,7 +11239,7 @@ func encodeOrgsCreateWebhookResponse(response OrgsCreateWebhookRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11252,7 +11252,7 @@ func encodeOrgsCreateWebhookResponse(response OrgsCreateWebhookRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11278,7 +11278,7 @@ func encodeOrgsDeleteWebhookResponse(response OrgsDeleteWebhookRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11298,7 +11298,7 @@ func encodeOrgsGetResponse(response OrgsGetRes, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11311,7 +11311,7 @@ func encodeOrgsGetResponse(response OrgsGetRes, w http.ResponseWriter, span trac w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11329,7 +11329,7 @@ func encodeOrgsGetAuditLogResponse(response []AuditLogEvent, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -11349,7 +11349,7 @@ func encodeOrgsGetMembershipForAuthenticatedUserResponse(response OrgsGetMembers w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11362,7 +11362,7 @@ func encodeOrgsGetMembershipForAuthenticatedUserResponse(response OrgsGetMembers w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11375,7 +11375,7 @@ func encodeOrgsGetMembershipForAuthenticatedUserResponse(response OrgsGetMembers w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11395,7 +11395,7 @@ func encodeOrgsGetMembershipForUserResponse(response OrgsGetMembershipForUserRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11408,7 +11408,7 @@ func encodeOrgsGetMembershipForUserResponse(response OrgsGetMembershipForUserRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11421,7 +11421,7 @@ func encodeOrgsGetMembershipForUserResponse(response OrgsGetMembershipForUserRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11441,7 +11441,7 @@ func encodeOrgsGetWebhookResponse(response OrgsGetWebhookRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11454,7 +11454,7 @@ func encodeOrgsGetWebhookResponse(response OrgsGetWebhookRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11472,7 +11472,7 @@ func encodeOrgsGetWebhookConfigForOrgResponse(response *WebhookConfig, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11488,7 +11488,7 @@ func encodeOrgsGetWebhookDeliveryResponse(response OrgsGetWebhookDeliveryRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11501,7 +11501,7 @@ func encodeOrgsGetWebhookDeliveryResponse(response OrgsGetWebhookDeliveryRes, w w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11514,7 +11514,7 @@ func encodeOrgsGetWebhookDeliveryResponse(response OrgsGetWebhookDeliveryRes, w w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11553,7 +11553,7 @@ func encodeOrgsListResponse(response OrgsListRes, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11583,7 +11583,7 @@ func encodeOrgsListBlockedUsersResponse(response OrgsListBlockedUsersRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11596,7 +11596,7 @@ func encodeOrgsListBlockedUsersResponse(response OrgsListBlockedUsersRes, w http w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11635,7 +11635,7 @@ func encodeOrgsListFailedInvitationsResponse(response OrgsListFailedInvitationsR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11652,7 +11652,7 @@ func encodeOrgsListFailedInvitationsResponse(response OrgsListFailedInvitationsR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11691,7 +11691,7 @@ func encodeOrgsListForAuthenticatedUserResponse(response OrgsListForAuthenticate w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11714,7 +11714,7 @@ func encodeOrgsListForAuthenticatedUserResponse(response OrgsListForAuthenticate w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11727,7 +11727,7 @@ func encodeOrgsListForAuthenticatedUserResponse(response OrgsListForAuthenticate w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11764,7 +11764,7 @@ func encodeOrgsListForUserResponse(response *OrgsListForUserOKHeaders, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11803,7 +11803,7 @@ func encodeOrgsListInvitationTeamsResponse(response OrgsListInvitationTeamsRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11820,7 +11820,7 @@ func encodeOrgsListInvitationTeamsResponse(response OrgsListInvitationTeamsRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11859,7 +11859,7 @@ func encodeOrgsListMembersResponse(response OrgsListMembersRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11901,7 +11901,7 @@ func encodeOrgsListMembersResponse(response OrgsListMembersRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11940,7 +11940,7 @@ func encodeOrgsListMembershipsForAuthenticatedUserResponse(response OrgsListMemb w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -11963,7 +11963,7 @@ func encodeOrgsListMembershipsForAuthenticatedUserResponse(response OrgsListMemb w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11976,7 +11976,7 @@ func encodeOrgsListMembershipsForAuthenticatedUserResponse(response OrgsListMemb w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11989,7 +11989,7 @@ func encodeOrgsListMembershipsForAuthenticatedUserResponse(response OrgsListMemb w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12026,7 +12026,7 @@ func encodeOrgsListOutsideCollaboratorsResponse(response *OrgsListOutsideCollabo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -12065,7 +12065,7 @@ func encodeOrgsListPendingInvitationsResponse(response OrgsListPendingInvitation w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -12082,7 +12082,7 @@ func encodeOrgsListPendingInvitationsResponse(response OrgsListPendingInvitation w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12119,7 +12119,7 @@ func encodeOrgsListPublicMembersResponse(response *OrgsListPublicMembersOKHeader w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -12137,7 +12137,7 @@ func encodeOrgsListSamlSSOAuthorizationsResponse(response []CredentialAuthorizat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12157,7 +12157,7 @@ func encodeOrgsListWebhookDeliveriesResponse(response OrgsListWebhookDeliveriesR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12170,7 +12170,7 @@ func encodeOrgsListWebhookDeliveriesResponse(response OrgsListWebhookDeliveriesR w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12183,7 +12183,7 @@ func encodeOrgsListWebhookDeliveriesResponse(response OrgsListWebhookDeliveriesR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12222,7 +12222,7 @@ func encodeOrgsListWebhooksResponse(response OrgsListWebhooksRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -12239,7 +12239,7 @@ func encodeOrgsListWebhooksResponse(response OrgsListWebhooksRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12265,7 +12265,7 @@ func encodeOrgsPingWebhookResponse(response OrgsPingWebhookRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12285,7 +12285,7 @@ func encodeOrgsRedeliverWebhookDeliveryResponse(response OrgsRedeliverWebhookDel w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12298,7 +12298,7 @@ func encodeOrgsRedeliverWebhookDeliveryResponse(response OrgsRedeliverWebhookDel w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12311,7 +12311,7 @@ func encodeOrgsRedeliverWebhookDeliveryResponse(response OrgsRedeliverWebhookDel w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12337,7 +12337,7 @@ func encodeOrgsRemoveMemberResponse(response OrgsRemoveMemberRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12363,7 +12363,7 @@ func encodeOrgsRemoveMembershipForUserResponse(response OrgsRemoveMembershipForU w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12376,7 +12376,7 @@ func encodeOrgsRemoveMembershipForUserResponse(response OrgsRemoveMembershipForU w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12402,7 +12402,7 @@ func encodeOrgsRemoveOutsideCollaboratorResponse(response OrgsRemoveOutsideColla w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12435,7 +12435,7 @@ func encodeOrgsRemoveSamlSSOAuthorizationResponse(response OrgsRemoveSamlSSOAuth w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12455,7 +12455,7 @@ func encodeOrgsSetMembershipForUserResponse(response OrgsSetMembershipForUserRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12468,7 +12468,7 @@ func encodeOrgsSetMembershipForUserResponse(response OrgsSetMembershipForUserRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12481,7 +12481,7 @@ func encodeOrgsSetMembershipForUserResponse(response OrgsSetMembershipForUserRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12507,7 +12507,7 @@ func encodeOrgsSetPublicMembershipForAuthenticatedUserResponse(response OrgsSetP w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12534,7 +12534,7 @@ func encodeOrgsUpdateMembershipForAuthenticatedUserResponse(response OrgsUpdateM w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12547,7 +12547,7 @@ func encodeOrgsUpdateMembershipForAuthenticatedUserResponse(response OrgsUpdateM w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12560,7 +12560,7 @@ func encodeOrgsUpdateMembershipForAuthenticatedUserResponse(response OrgsUpdateM w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12573,7 +12573,7 @@ func encodeOrgsUpdateMembershipForAuthenticatedUserResponse(response OrgsUpdateM w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12593,7 +12593,7 @@ func encodeOrgsUpdateWebhookResponse(response OrgsUpdateWebhookRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12606,7 +12606,7 @@ func encodeOrgsUpdateWebhookResponse(response OrgsUpdateWebhookRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12619,7 +12619,7 @@ func encodeOrgsUpdateWebhookResponse(response OrgsUpdateWebhookRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12637,7 +12637,7 @@ func encodeOrgsUpdateWebhookConfigForOrgResponse(response *WebhookConfig, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12659,7 +12659,7 @@ func encodePackagesDeletePackageForAuthenticatedUserResponse(response PackagesDe w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12672,7 +12672,7 @@ func encodePackagesDeletePackageForAuthenticatedUserResponse(response PackagesDe w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12685,7 +12685,7 @@ func encodePackagesDeletePackageForAuthenticatedUserResponse(response PackagesDe w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12711,7 +12711,7 @@ func encodePackagesDeletePackageForOrgResponse(response PackagesDeletePackageFor w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12724,7 +12724,7 @@ func encodePackagesDeletePackageForOrgResponse(response PackagesDeletePackageFor w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12737,7 +12737,7 @@ func encodePackagesDeletePackageForOrgResponse(response PackagesDeletePackageFor w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12763,7 +12763,7 @@ func encodePackagesDeletePackageForUserResponse(response PackagesDeletePackageFo w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12776,7 +12776,7 @@ func encodePackagesDeletePackageForUserResponse(response PackagesDeletePackageFo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12789,7 +12789,7 @@ func encodePackagesDeletePackageForUserResponse(response PackagesDeletePackageFo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12815,7 +12815,7 @@ func encodePackagesDeletePackageVersionForAuthenticatedUserResponse(response Pac w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12828,7 +12828,7 @@ func encodePackagesDeletePackageVersionForAuthenticatedUserResponse(response Pac w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12841,7 +12841,7 @@ func encodePackagesDeletePackageVersionForAuthenticatedUserResponse(response Pac w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12867,7 +12867,7 @@ func encodePackagesDeletePackageVersionForOrgResponse(response PackagesDeletePac w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12880,7 +12880,7 @@ func encodePackagesDeletePackageVersionForOrgResponse(response PackagesDeletePac w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12893,7 +12893,7 @@ func encodePackagesDeletePackageVersionForOrgResponse(response PackagesDeletePac w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12919,7 +12919,7 @@ func encodePackagesDeletePackageVersionForUserResponse(response PackagesDeletePa w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12932,7 +12932,7 @@ func encodePackagesDeletePackageVersionForUserResponse(response PackagesDeletePa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12945,7 +12945,7 @@ func encodePackagesDeletePackageVersionForUserResponse(response PackagesDeletePa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12965,7 +12965,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRespon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12978,7 +12978,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRespon w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12991,7 +12991,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRespon w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13004,7 +13004,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRespon w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13024,7 +13024,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByOrgResponse(response Pa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13037,7 +13037,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByOrgResponse(response Pa w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13050,7 +13050,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByOrgResponse(response Pa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13063,7 +13063,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByOrgResponse(response Pa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13083,7 +13083,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByUserResponse(response P w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13096,7 +13096,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByUserResponse(response P w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13109,7 +13109,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByUserResponse(response P w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13122,7 +13122,7 @@ func encodePackagesGetAllPackageVersionsForPackageOwnedByUserResponse(response P w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13140,7 +13140,7 @@ func encodePackagesGetPackageForAuthenticatedUserResponse(response *Package, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13154,7 +13154,7 @@ func encodePackagesGetPackageForOrganizationResponse(response *Package, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13168,7 +13168,7 @@ func encodePackagesGetPackageForUserResponse(response *Package, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13182,7 +13182,7 @@ func encodePackagesGetPackageVersionForAuthenticatedUserResponse(response *Packa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13196,7 +13196,7 @@ func encodePackagesGetPackageVersionForOrganizationResponse(response *PackageVer w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13210,7 +13210,7 @@ func encodePackagesGetPackageVersionForUserResponse(response *PackageVersion, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13224,7 +13224,7 @@ func encodePackagesListPackagesForAuthenticatedUserResponse(response []Package, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13244,7 +13244,7 @@ func encodePackagesListPackagesForOrganizationResponse(response PackagesListPack w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13257,7 +13257,7 @@ func encodePackagesListPackagesForOrganizationResponse(response PackagesListPack w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13270,7 +13270,7 @@ func encodePackagesListPackagesForOrganizationResponse(response PackagesListPack w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13290,7 +13290,7 @@ func encodePackagesListPackagesForUserResponse(response PackagesListPackagesForU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13303,7 +13303,7 @@ func encodePackagesListPackagesForUserResponse(response PackagesListPackagesForU w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13316,7 +13316,7 @@ func encodePackagesListPackagesForUserResponse(response PackagesListPackagesForU w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13342,7 +13342,7 @@ func encodePackagesRestorePackageForAuthenticatedUserResponse(response PackagesR w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13355,7 +13355,7 @@ func encodePackagesRestorePackageForAuthenticatedUserResponse(response PackagesR w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13368,7 +13368,7 @@ func encodePackagesRestorePackageForAuthenticatedUserResponse(response PackagesR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13394,7 +13394,7 @@ func encodePackagesRestorePackageForOrgResponse(response PackagesRestorePackageF w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13407,7 +13407,7 @@ func encodePackagesRestorePackageForOrgResponse(response PackagesRestorePackageF w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13420,7 +13420,7 @@ func encodePackagesRestorePackageForOrgResponse(response PackagesRestorePackageF w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13446,7 +13446,7 @@ func encodePackagesRestorePackageForUserResponse(response PackagesRestorePackage w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13459,7 +13459,7 @@ func encodePackagesRestorePackageForUserResponse(response PackagesRestorePackage w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13472,7 +13472,7 @@ func encodePackagesRestorePackageForUserResponse(response PackagesRestorePackage w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13498,7 +13498,7 @@ func encodePackagesRestorePackageVersionForAuthenticatedUserResponse(response Pa w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13511,7 +13511,7 @@ func encodePackagesRestorePackageVersionForAuthenticatedUserResponse(response Pa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13524,7 +13524,7 @@ func encodePackagesRestorePackageVersionForAuthenticatedUserResponse(response Pa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13550,7 +13550,7 @@ func encodePackagesRestorePackageVersionForOrgResponse(response PackagesRestoreP w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13563,7 +13563,7 @@ func encodePackagesRestorePackageVersionForOrgResponse(response PackagesRestoreP w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13576,7 +13576,7 @@ func encodePackagesRestorePackageVersionForOrgResponse(response PackagesRestoreP w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13602,7 +13602,7 @@ func encodePackagesRestorePackageVersionForUserResponse(response PackagesRestore w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13615,7 +13615,7 @@ func encodePackagesRestorePackageVersionForUserResponse(response PackagesRestore w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13628,7 +13628,7 @@ func encodePackagesRestorePackageVersionForUserResponse(response PackagesRestore w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13660,7 +13660,7 @@ func encodeProjectsAddCollaboratorResponse(response ProjectsAddCollaboratorRes, w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13673,7 +13673,7 @@ func encodeProjectsAddCollaboratorResponse(response ProjectsAddCollaboratorRes, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13686,7 +13686,7 @@ func encodeProjectsAddCollaboratorResponse(response ProjectsAddCollaboratorRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13699,7 +13699,7 @@ func encodeProjectsAddCollaboratorResponse(response ProjectsAddCollaboratorRes, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13719,7 +13719,7 @@ func encodeProjectsCreateColumnResponse(response ProjectsCreateColumnRes, w http w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13738,7 +13738,7 @@ func encodeProjectsCreateColumnResponse(response ProjectsCreateColumnRes, w http w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13751,7 +13751,7 @@ func encodeProjectsCreateColumnResponse(response ProjectsCreateColumnRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13764,7 +13764,7 @@ func encodeProjectsCreateColumnResponse(response ProjectsCreateColumnRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13784,7 +13784,7 @@ func encodeProjectsCreateForAuthenticatedUserResponse(response ProjectsCreateFor w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13803,7 +13803,7 @@ func encodeProjectsCreateForAuthenticatedUserResponse(response ProjectsCreateFor w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13816,7 +13816,7 @@ func encodeProjectsCreateForAuthenticatedUserResponse(response ProjectsCreateFor w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13829,7 +13829,7 @@ func encodeProjectsCreateForAuthenticatedUserResponse(response ProjectsCreateFor w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13842,7 +13842,7 @@ func encodeProjectsCreateForAuthenticatedUserResponse(response ProjectsCreateFor w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13862,7 +13862,7 @@ func encodeProjectsCreateForOrgResponse(response ProjectsCreateForOrgRes, w http w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13875,7 +13875,7 @@ func encodeProjectsCreateForOrgResponse(response ProjectsCreateForOrgRes, w http w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13888,7 +13888,7 @@ func encodeProjectsCreateForOrgResponse(response ProjectsCreateForOrgRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13901,7 +13901,7 @@ func encodeProjectsCreateForOrgResponse(response ProjectsCreateForOrgRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13914,7 +13914,7 @@ func encodeProjectsCreateForOrgResponse(response ProjectsCreateForOrgRes, w http w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13927,7 +13927,7 @@ func encodeProjectsCreateForOrgResponse(response ProjectsCreateForOrgRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13947,7 +13947,7 @@ func encodeProjectsCreateForRepoResponse(response ProjectsCreateForRepoRes, w ht w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13960,7 +13960,7 @@ func encodeProjectsCreateForRepoResponse(response ProjectsCreateForRepoRes, w ht w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13973,7 +13973,7 @@ func encodeProjectsCreateForRepoResponse(response ProjectsCreateForRepoRes, w ht w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13986,7 +13986,7 @@ func encodeProjectsCreateForRepoResponse(response ProjectsCreateForRepoRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13999,7 +13999,7 @@ func encodeProjectsCreateForRepoResponse(response ProjectsCreateForRepoRes, w ht w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14012,7 +14012,7 @@ func encodeProjectsCreateForRepoResponse(response ProjectsCreateForRepoRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14044,7 +14044,7 @@ func encodeProjectsDeleteResponse(response ProjectsDeleteRes, w http.ResponseWri w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14057,7 +14057,7 @@ func encodeProjectsDeleteResponse(response ProjectsDeleteRes, w http.ResponseWri w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14070,7 +14070,7 @@ func encodeProjectsDeleteResponse(response ProjectsDeleteRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14083,7 +14083,7 @@ func encodeProjectsDeleteResponse(response ProjectsDeleteRes, w http.ResponseWri w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14115,7 +14115,7 @@ func encodeProjectsDeleteCardResponse(response ProjectsDeleteCardRes, w http.Res w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14128,7 +14128,7 @@ func encodeProjectsDeleteCardResponse(response ProjectsDeleteCardRes, w http.Res w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14141,7 +14141,7 @@ func encodeProjectsDeleteCardResponse(response ProjectsDeleteCardRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14173,7 +14173,7 @@ func encodeProjectsDeleteColumnResponse(response ProjectsDeleteColumnRes, w http w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14186,7 +14186,7 @@ func encodeProjectsDeleteColumnResponse(response ProjectsDeleteColumnRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14206,7 +14206,7 @@ func encodeProjectsGetResponse(response ProjectsGetRes, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14225,7 +14225,7 @@ func encodeProjectsGetResponse(response ProjectsGetRes, w http.ResponseWriter, s w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14238,7 +14238,7 @@ func encodeProjectsGetResponse(response ProjectsGetRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14258,7 +14258,7 @@ func encodeProjectsGetCardResponse(response ProjectsGetCardRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14277,7 +14277,7 @@ func encodeProjectsGetCardResponse(response ProjectsGetCardRes, w http.ResponseW w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14290,7 +14290,7 @@ func encodeProjectsGetCardResponse(response ProjectsGetCardRes, w http.ResponseW w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14303,7 +14303,7 @@ func encodeProjectsGetCardResponse(response ProjectsGetCardRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14323,7 +14323,7 @@ func encodeProjectsGetColumnResponse(response ProjectsGetColumnRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14342,7 +14342,7 @@ func encodeProjectsGetColumnResponse(response ProjectsGetColumnRes, w http.Respo w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14355,7 +14355,7 @@ func encodeProjectsGetColumnResponse(response ProjectsGetColumnRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14368,7 +14368,7 @@ func encodeProjectsGetColumnResponse(response ProjectsGetColumnRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14388,7 +14388,7 @@ func encodeProjectsGetPermissionForUserResponse(response ProjectsGetPermissionFo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14407,7 +14407,7 @@ func encodeProjectsGetPermissionForUserResponse(response ProjectsGetPermissionFo w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14420,7 +14420,7 @@ func encodeProjectsGetPermissionForUserResponse(response ProjectsGetPermissionFo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14433,7 +14433,7 @@ func encodeProjectsGetPermissionForUserResponse(response ProjectsGetPermissionFo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14446,7 +14446,7 @@ func encodeProjectsGetPermissionForUserResponse(response ProjectsGetPermissionFo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14485,7 +14485,7 @@ func encodeProjectsListCardsResponse(response ProjectsListCardsRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -14508,7 +14508,7 @@ func encodeProjectsListCardsResponse(response ProjectsListCardsRes, w http.Respo w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14521,7 +14521,7 @@ func encodeProjectsListCardsResponse(response ProjectsListCardsRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14560,7 +14560,7 @@ func encodeProjectsListCollaboratorsResponse(response ProjectsListCollaboratorsR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -14583,7 +14583,7 @@ func encodeProjectsListCollaboratorsResponse(response ProjectsListCollaboratorsR w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14596,7 +14596,7 @@ func encodeProjectsListCollaboratorsResponse(response ProjectsListCollaboratorsR w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14609,7 +14609,7 @@ func encodeProjectsListCollaboratorsResponse(response ProjectsListCollaboratorsR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14622,7 +14622,7 @@ func encodeProjectsListCollaboratorsResponse(response ProjectsListCollaboratorsR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14661,7 +14661,7 @@ func encodeProjectsListColumnsResponse(response ProjectsListColumnsRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -14684,7 +14684,7 @@ func encodeProjectsListColumnsResponse(response ProjectsListColumnsRes, w http.R w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14697,7 +14697,7 @@ func encodeProjectsListColumnsResponse(response ProjectsListColumnsRes, w http.R w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14736,7 +14736,7 @@ func encodeProjectsListForOrgResponse(response ProjectsListForOrgRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -14753,7 +14753,7 @@ func encodeProjectsListForOrgResponse(response ProjectsListForOrgRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14792,7 +14792,7 @@ func encodeProjectsListForRepoResponse(response ProjectsListForRepoRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -14809,7 +14809,7 @@ func encodeProjectsListForRepoResponse(response ProjectsListForRepoRes, w http.R w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14822,7 +14822,7 @@ func encodeProjectsListForRepoResponse(response ProjectsListForRepoRes, w http.R w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14835,7 +14835,7 @@ func encodeProjectsListForRepoResponse(response ProjectsListForRepoRes, w http.R w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14848,7 +14848,7 @@ func encodeProjectsListForRepoResponse(response ProjectsListForRepoRes, w http.R w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14861,7 +14861,7 @@ func encodeProjectsListForRepoResponse(response ProjectsListForRepoRes, w http.R w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14900,7 +14900,7 @@ func encodeProjectsListForUserResponse(response ProjectsListForUserRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -14917,7 +14917,7 @@ func encodeProjectsListForUserResponse(response ProjectsListForUserRes, w http.R w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14937,7 +14937,7 @@ func encodeProjectsMoveCardResponse(response ProjectsMoveCardRes, w http.Respons w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14956,7 +14956,7 @@ func encodeProjectsMoveCardResponse(response ProjectsMoveCardRes, w http.Respons w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14969,7 +14969,7 @@ func encodeProjectsMoveCardResponse(response ProjectsMoveCardRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14982,7 +14982,7 @@ func encodeProjectsMoveCardResponse(response ProjectsMoveCardRes, w http.Respons w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14995,7 +14995,7 @@ func encodeProjectsMoveCardResponse(response ProjectsMoveCardRes, w http.Respons w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15015,7 +15015,7 @@ func encodeProjectsMoveColumnResponse(response ProjectsMoveColumnRes, w http.Res w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15034,7 +15034,7 @@ func encodeProjectsMoveColumnResponse(response ProjectsMoveColumnRes, w http.Res w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15047,7 +15047,7 @@ func encodeProjectsMoveColumnResponse(response ProjectsMoveColumnRes, w http.Res w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15060,7 +15060,7 @@ func encodeProjectsMoveColumnResponse(response ProjectsMoveColumnRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15092,7 +15092,7 @@ func encodeProjectsRemoveCollaboratorResponse(response ProjectsRemoveCollaborato w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15105,7 +15105,7 @@ func encodeProjectsRemoveCollaboratorResponse(response ProjectsRemoveCollaborato w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15118,7 +15118,7 @@ func encodeProjectsRemoveCollaboratorResponse(response ProjectsRemoveCollaborato w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15131,7 +15131,7 @@ func encodeProjectsRemoveCollaboratorResponse(response ProjectsRemoveCollaborato w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15151,7 +15151,7 @@ func encodeProjectsUpdateResponse(response ProjectsUpdateRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15170,7 +15170,7 @@ func encodeProjectsUpdateResponse(response ProjectsUpdateRes, w http.ResponseWri w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15183,7 +15183,7 @@ func encodeProjectsUpdateResponse(response ProjectsUpdateRes, w http.ResponseWri w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15202,7 +15202,7 @@ func encodeProjectsUpdateResponse(response ProjectsUpdateRes, w http.ResponseWri w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15215,7 +15215,7 @@ func encodeProjectsUpdateResponse(response ProjectsUpdateRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15235,7 +15235,7 @@ func encodeProjectsUpdateCardResponse(response ProjectsUpdateCardRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15254,7 +15254,7 @@ func encodeProjectsUpdateCardResponse(response ProjectsUpdateCardRes, w http.Res w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15267,7 +15267,7 @@ func encodeProjectsUpdateCardResponse(response ProjectsUpdateCardRes, w http.Res w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15280,7 +15280,7 @@ func encodeProjectsUpdateCardResponse(response ProjectsUpdateCardRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15293,7 +15293,7 @@ func encodeProjectsUpdateCardResponse(response ProjectsUpdateCardRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15313,7 +15313,7 @@ func encodeProjectsUpdateColumnResponse(response ProjectsUpdateColumnRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15332,7 +15332,7 @@ func encodeProjectsUpdateColumnResponse(response ProjectsUpdateColumnRes, w http w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15345,7 +15345,7 @@ func encodeProjectsUpdateColumnResponse(response ProjectsUpdateColumnRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15403,7 +15403,7 @@ func encodePullsCreateResponse(response PullsCreateRes, w http.ResponseWriter, s w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15416,7 +15416,7 @@ func encodePullsCreateResponse(response PullsCreateRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15429,7 +15429,7 @@ func encodePullsCreateResponse(response PullsCreateRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15468,7 +15468,7 @@ func encodePullsCreateReplyForReviewCommentResponse(response PullsCreateReplyFor w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15481,7 +15481,7 @@ func encodePullsCreateReplyForReviewCommentResponse(response PullsCreateReplyFor w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15501,7 +15501,7 @@ func encodePullsCreateReviewResponse(response PullsCreateReviewRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15514,7 +15514,7 @@ func encodePullsCreateReviewResponse(response PullsCreateReviewRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15527,7 +15527,7 @@ func encodePullsCreateReviewResponse(response PullsCreateReviewRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15566,7 +15566,7 @@ func encodePullsCreateReviewCommentResponse(response PullsCreateReviewCommentRes w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15579,7 +15579,7 @@ func encodePullsCreateReviewCommentResponse(response PullsCreateReviewCommentRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15592,7 +15592,7 @@ func encodePullsCreateReviewCommentResponse(response PullsCreateReviewCommentRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15612,7 +15612,7 @@ func encodePullsDeletePendingReviewResponse(response PullsDeletePendingReviewRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15625,7 +15625,7 @@ func encodePullsDeletePendingReviewResponse(response PullsDeletePendingReviewRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15638,7 +15638,7 @@ func encodePullsDeletePendingReviewResponse(response PullsDeletePendingReviewRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15664,7 +15664,7 @@ func encodePullsDeleteReviewCommentResponse(response PullsDeleteReviewCommentRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15684,7 +15684,7 @@ func encodePullsDismissReviewResponse(response PullsDismissReviewRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15697,7 +15697,7 @@ func encodePullsDismissReviewResponse(response PullsDismissReviewRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15710,7 +15710,7 @@ func encodePullsDismissReviewResponse(response PullsDismissReviewRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15730,7 +15730,7 @@ func encodePullsGetResponse(response PullsGetRes, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15749,7 +15749,7 @@ func encodePullsGetResponse(response PullsGetRes, w http.ResponseWriter, span tr w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15762,7 +15762,7 @@ func encodePullsGetResponse(response PullsGetRes, w http.ResponseWriter, span tr w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15782,7 +15782,7 @@ func encodePullsGetReviewResponse(response PullsGetReviewRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15795,7 +15795,7 @@ func encodePullsGetReviewResponse(response PullsGetReviewRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15815,7 +15815,7 @@ func encodePullsGetReviewCommentResponse(response PullsGetReviewCommentRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15828,7 +15828,7 @@ func encodePullsGetReviewCommentResponse(response PullsGetReviewCommentRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15867,7 +15867,7 @@ func encodePullsListResponse(response PullsListRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -15890,7 +15890,7 @@ func encodePullsListResponse(response PullsListRes, w http.ResponseWriter, span w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15929,7 +15929,7 @@ func encodePullsListCommentsForReviewResponse(response PullsListCommentsForRevie w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -15946,7 +15946,7 @@ func encodePullsListCommentsForReviewResponse(response PullsListCommentsForRevie w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15983,7 +15983,7 @@ func encodePullsListCommitsResponse(response *PullsListCommitsOKHeaders, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -16022,7 +16022,7 @@ func encodePullsListFilesResponse(response PullsListFilesRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -16039,7 +16039,7 @@ func encodePullsListFilesResponse(response PullsListFilesRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16052,7 +16052,7 @@ func encodePullsListFilesResponse(response PullsListFilesRes, w http.ResponseWri w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16089,7 +16089,7 @@ func encodePullsListRequestedReviewersResponse(response *PullRequestReviewReques w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16122,7 +16122,7 @@ func encodePullsListReviewCommentsResponse(response *PullsListReviewCommentsOKHe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -16159,7 +16159,7 @@ func encodePullsListReviewCommentsForRepoResponse(response *PullsListReviewComme w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -16196,7 +16196,7 @@ func encodePullsListReviewsResponse(response *PullsListReviewsOKHeaders, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -16216,7 +16216,7 @@ func encodePullsMergeResponse(response PullsMergeRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16229,7 +16229,7 @@ func encodePullsMergeResponse(response PullsMergeRes, w http.ResponseWriter, spa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16242,7 +16242,7 @@ func encodePullsMergeResponse(response PullsMergeRes, w http.ResponseWriter, spa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16255,7 +16255,7 @@ func encodePullsMergeResponse(response PullsMergeRes, w http.ResponseWriter, spa w.WriteHeader(405) span.SetStatus(codes.Error, http.StatusText(405)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16268,7 +16268,7 @@ func encodePullsMergeResponse(response PullsMergeRes, w http.ResponseWriter, spa w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16281,7 +16281,7 @@ func encodePullsMergeResponse(response PullsMergeRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16301,7 +16301,7 @@ func encodePullsRemoveRequestedReviewersResponse(response PullsRemoveRequestedRe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16314,7 +16314,7 @@ func encodePullsRemoveRequestedReviewersResponse(response PullsRemoveRequestedRe w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16334,7 +16334,7 @@ func encodePullsSubmitReviewResponse(response PullsSubmitReviewRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16347,7 +16347,7 @@ func encodePullsSubmitReviewResponse(response PullsSubmitReviewRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16360,7 +16360,7 @@ func encodePullsSubmitReviewResponse(response PullsSubmitReviewRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16373,7 +16373,7 @@ func encodePullsSubmitReviewResponse(response PullsSubmitReviewRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16393,7 +16393,7 @@ func encodePullsUpdateResponse(response PullsUpdateRes, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16406,7 +16406,7 @@ func encodePullsUpdateResponse(response PullsUpdateRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16419,7 +16419,7 @@ func encodePullsUpdateResponse(response PullsUpdateRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16439,7 +16439,7 @@ func encodePullsUpdateBranchResponse(response PullsUpdateBranchRes, w http.Respo w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16452,7 +16452,7 @@ func encodePullsUpdateBranchResponse(response PullsUpdateBranchRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16465,7 +16465,7 @@ func encodePullsUpdateBranchResponse(response PullsUpdateBranchRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16485,7 +16485,7 @@ func encodePullsUpdateReviewResponse(response PullsUpdateReviewRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16498,7 +16498,7 @@ func encodePullsUpdateReviewResponse(response PullsUpdateReviewRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16516,7 +16516,7 @@ func encodePullsUpdateReviewCommentResponse(response *PullRequestReviewComment, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16581,7 +16581,7 @@ func encodeRateLimitGetResponse(response RateLimitGetRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16600,7 +16600,7 @@ func encodeRateLimitGetResponse(response RateLimitGetRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16620,7 +16620,7 @@ func encodeReactionsCreateForCommitCommentResponse(response ReactionsCreateForCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16633,7 +16633,7 @@ func encodeReactionsCreateForCommitCommentResponse(response ReactionsCreateForCo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16646,7 +16646,7 @@ func encodeReactionsCreateForCommitCommentResponse(response ReactionsCreateForCo w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16659,7 +16659,7 @@ func encodeReactionsCreateForCommitCommentResponse(response ReactionsCreateForCo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16679,7 +16679,7 @@ func encodeReactionsCreateForIssueResponse(response ReactionsCreateForIssueRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16692,7 +16692,7 @@ func encodeReactionsCreateForIssueResponse(response ReactionsCreateForIssueRes, w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16705,7 +16705,7 @@ func encodeReactionsCreateForIssueResponse(response ReactionsCreateForIssueRes, w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16718,7 +16718,7 @@ func encodeReactionsCreateForIssueResponse(response ReactionsCreateForIssueRes, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16738,7 +16738,7 @@ func encodeReactionsCreateForIssueCommentResponse(response ReactionsCreateForIss w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16751,7 +16751,7 @@ func encodeReactionsCreateForIssueCommentResponse(response ReactionsCreateForIss w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16764,7 +16764,7 @@ func encodeReactionsCreateForIssueCommentResponse(response ReactionsCreateForIss w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16777,7 +16777,7 @@ func encodeReactionsCreateForIssueCommentResponse(response ReactionsCreateForIss w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16797,7 +16797,7 @@ func encodeReactionsCreateForPullRequestReviewCommentResponse(response Reactions w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16810,7 +16810,7 @@ func encodeReactionsCreateForPullRequestReviewCommentResponse(response Reactions w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16823,7 +16823,7 @@ func encodeReactionsCreateForPullRequestReviewCommentResponse(response Reactions w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16836,7 +16836,7 @@ func encodeReactionsCreateForPullRequestReviewCommentResponse(response Reactions w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16856,7 +16856,7 @@ func encodeReactionsCreateForReleaseResponse(response ReactionsCreateForReleaseR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16869,7 +16869,7 @@ func encodeReactionsCreateForReleaseResponse(response ReactionsCreateForReleaseR w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16882,7 +16882,7 @@ func encodeReactionsCreateForReleaseResponse(response ReactionsCreateForReleaseR w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16895,7 +16895,7 @@ func encodeReactionsCreateForReleaseResponse(response ReactionsCreateForReleaseR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16915,7 +16915,7 @@ func encodeReactionsCreateForTeamDiscussionCommentInOrgResponse(response Reactio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16928,7 +16928,7 @@ func encodeReactionsCreateForTeamDiscussionCommentInOrgResponse(response Reactio w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16946,7 +16946,7 @@ func encodeReactionsCreateForTeamDiscussionCommentLegacyResponse(response *React w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16962,7 +16962,7 @@ func encodeReactionsCreateForTeamDiscussionInOrgResponse(response ReactionsCreat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16975,7 +16975,7 @@ func encodeReactionsCreateForTeamDiscussionInOrgResponse(response ReactionsCreat w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -16993,7 +16993,7 @@ func encodeReactionsCreateForTeamDiscussionLegacyResponse(response *Reaction, w w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17063,7 +17063,7 @@ func encodeReactionsDeleteLegacyResponse(response ReactionsDeleteLegacyRes, w ht w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17076,7 +17076,7 @@ func encodeReactionsDeleteLegacyResponse(response ReactionsDeleteLegacyRes, w ht w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17089,7 +17089,7 @@ func encodeReactionsDeleteLegacyResponse(response ReactionsDeleteLegacyRes, w ht w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17102,7 +17102,7 @@ func encodeReactionsDeleteLegacyResponse(response ReactionsDeleteLegacyRes, w ht w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17141,7 +17141,7 @@ func encodeReactionsListForCommitCommentResponse(response ReactionsListForCommit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17158,7 +17158,7 @@ func encodeReactionsListForCommitCommentResponse(response ReactionsListForCommit w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17171,7 +17171,7 @@ func encodeReactionsListForCommitCommentResponse(response ReactionsListForCommit w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17210,7 +17210,7 @@ func encodeReactionsListForIssueResponse(response ReactionsListForIssueRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17227,7 +17227,7 @@ func encodeReactionsListForIssueResponse(response ReactionsListForIssueRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17240,7 +17240,7 @@ func encodeReactionsListForIssueResponse(response ReactionsListForIssueRes, w ht w.WriteHeader(410) span.SetStatus(codes.Error, http.StatusText(410)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17253,7 +17253,7 @@ func encodeReactionsListForIssueResponse(response ReactionsListForIssueRes, w ht w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17292,7 +17292,7 @@ func encodeReactionsListForIssueCommentResponse(response ReactionsListForIssueCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17309,7 +17309,7 @@ func encodeReactionsListForIssueCommentResponse(response ReactionsListForIssueCo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17322,7 +17322,7 @@ func encodeReactionsListForIssueCommentResponse(response ReactionsListForIssueCo w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17361,7 +17361,7 @@ func encodeReactionsListForPullRequestReviewCommentResponse(response ReactionsLi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17378,7 +17378,7 @@ func encodeReactionsListForPullRequestReviewCommentResponse(response ReactionsLi w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17391,7 +17391,7 @@ func encodeReactionsListForPullRequestReviewCommentResponse(response ReactionsLi w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17428,7 +17428,7 @@ func encodeReactionsListForTeamDiscussionCommentInOrgResponse(response *Reaction w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17465,7 +17465,7 @@ func encodeReactionsListForTeamDiscussionCommentLegacyResponse(response *Reactio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17502,7 +17502,7 @@ func encodeReactionsListForTeamDiscussionInOrgResponse(response *ReactionsListFo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17539,7 +17539,7 @@ func encodeReactionsListForTeamDiscussionLegacyResponse(response *ReactionsListF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -17571,7 +17571,7 @@ func encodeReposAcceptInvitationResponse(response ReposAcceptInvitationRes, w ht w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17584,7 +17584,7 @@ func encodeReposAcceptInvitationResponse(response ReposAcceptInvitationRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17597,7 +17597,7 @@ func encodeReposAcceptInvitationResponse(response ReposAcceptInvitationRes, w ht w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17617,7 +17617,7 @@ func encodeReposAddAppAccessRestrictionsResponse(response ReposAddAppAccessRestr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17630,7 +17630,7 @@ func encodeReposAddAppAccessRestrictionsResponse(response ReposAddAppAccessRestr w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17650,7 +17650,7 @@ func encodeReposAddCollaboratorResponse(response ReposAddCollaboratorRes, w http w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17669,7 +17669,7 @@ func encodeReposAddCollaboratorResponse(response ReposAddCollaboratorRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17682,7 +17682,7 @@ func encodeReposAddCollaboratorResponse(response ReposAddCollaboratorRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17702,7 +17702,7 @@ func encodeReposAddStatusCheckContextsResponse(response ReposAddStatusCheckConte w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17715,7 +17715,7 @@ func encodeReposAddStatusCheckContextsResponse(response ReposAddStatusCheckConte w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17728,7 +17728,7 @@ func encodeReposAddStatusCheckContextsResponse(response ReposAddStatusCheckConte w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17741,7 +17741,7 @@ func encodeReposAddStatusCheckContextsResponse(response ReposAddStatusCheckConte w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17761,7 +17761,7 @@ func encodeReposAddTeamAccessRestrictionsResponse(response ReposAddTeamAccessRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17774,7 +17774,7 @@ func encodeReposAddTeamAccessRestrictionsResponse(response ReposAddTeamAccessRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17794,7 +17794,7 @@ func encodeReposAddUserAccessRestrictionsResponse(response ReposAddUserAccessRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17807,7 +17807,7 @@ func encodeReposAddUserAccessRestrictionsResponse(response ReposAddUserAccessRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17865,7 +17865,7 @@ func encodeReposCompareCommitsResponse(response ReposCompareCommitsRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17878,7 +17878,7 @@ func encodeReposCompareCommitsResponse(response ReposCompareCommitsRes, w http.R w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17891,7 +17891,7 @@ func encodeReposCompareCommitsResponse(response ReposCompareCommitsRes, w http.R w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17930,7 +17930,7 @@ func encodeReposCreateAutolinkResponse(response ReposCreateAutolinkRes, w http.R w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17943,7 +17943,7 @@ func encodeReposCreateAutolinkResponse(response ReposCreateAutolinkRes, w http.R w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17982,7 +17982,7 @@ func encodeReposCreateCommitCommentResponse(response ReposCreateCommitCommentRes w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -17995,7 +17995,7 @@ func encodeReposCreateCommitCommentResponse(response ReposCreateCommitCommentRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18008,7 +18008,7 @@ func encodeReposCreateCommitCommentResponse(response ReposCreateCommitCommentRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18028,7 +18028,7 @@ func encodeReposCreateCommitSignatureProtectionResponse(response ReposCreateComm w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18041,7 +18041,7 @@ func encodeReposCreateCommitSignatureProtectionResponse(response ReposCreateComm w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18078,7 +18078,7 @@ func encodeReposCreateCommitStatusResponse(response *StatusHeaders, w http.Respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18113,7 +18113,7 @@ func encodeReposCreateDeployKeyResponse(response ReposCreateDeployKeyRes, w http w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18126,7 +18126,7 @@ func encodeReposCreateDeployKeyResponse(response ReposCreateDeployKeyRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18146,7 +18146,7 @@ func encodeReposCreateDeploymentResponse(response ReposCreateDeploymentRes, w ht w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18159,7 +18159,7 @@ func encodeReposCreateDeploymentResponse(response ReposCreateDeploymentRes, w ht w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18178,7 +18178,7 @@ func encodeReposCreateDeploymentResponse(response ReposCreateDeploymentRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18217,7 +18217,7 @@ func encodeReposCreateDeploymentStatusResponse(response ReposCreateDeploymentSta w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18230,7 +18230,7 @@ func encodeReposCreateDeploymentStatusResponse(response ReposCreateDeploymentSta w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18256,7 +18256,7 @@ func encodeReposCreateDispatchEventResponse(response ReposCreateDispatchEventRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18295,7 +18295,7 @@ func encodeReposCreateForAuthenticatedUserResponse(response ReposCreateForAuthen w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18314,7 +18314,7 @@ func encodeReposCreateForAuthenticatedUserResponse(response ReposCreateForAuthen w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18327,7 +18327,7 @@ func encodeReposCreateForAuthenticatedUserResponse(response ReposCreateForAuthen w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18340,7 +18340,7 @@ func encodeReposCreateForAuthenticatedUserResponse(response ReposCreateForAuthen w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18353,7 +18353,7 @@ func encodeReposCreateForAuthenticatedUserResponse(response ReposCreateForAuthen w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18366,7 +18366,7 @@ func encodeReposCreateForAuthenticatedUserResponse(response ReposCreateForAuthen w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18386,7 +18386,7 @@ func encodeReposCreateForkResponse(response ReposCreateForkRes, w http.ResponseW w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18399,7 +18399,7 @@ func encodeReposCreateForkResponse(response ReposCreateForkRes, w http.ResponseW w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18412,7 +18412,7 @@ func encodeReposCreateForkResponse(response ReposCreateForkRes, w http.ResponseW w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18425,7 +18425,7 @@ func encodeReposCreateForkResponse(response ReposCreateForkRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18438,7 +18438,7 @@ func encodeReposCreateForkResponse(response ReposCreateForkRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18477,7 +18477,7 @@ func encodeReposCreateInOrgResponse(response ReposCreateInOrgRes, w http.Respons w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18490,7 +18490,7 @@ func encodeReposCreateInOrgResponse(response ReposCreateInOrgRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18503,7 +18503,7 @@ func encodeReposCreateInOrgResponse(response ReposCreateInOrgRes, w http.Respons w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18523,7 +18523,7 @@ func encodeReposCreateOrUpdateFileContentsResponse(response ReposCreateOrUpdateF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18536,7 +18536,7 @@ func encodeReposCreateOrUpdateFileContentsResponse(response ReposCreateOrUpdateF w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18549,7 +18549,7 @@ func encodeReposCreateOrUpdateFileContentsResponse(response ReposCreateOrUpdateF w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18562,7 +18562,7 @@ func encodeReposCreateOrUpdateFileContentsResponse(response ReposCreateOrUpdateF w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18575,7 +18575,7 @@ func encodeReposCreateOrUpdateFileContentsResponse(response ReposCreateOrUpdateF w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18595,7 +18595,7 @@ func encodeReposCreatePagesSiteResponse(response ReposCreatePagesSiteRes, w http w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18608,7 +18608,7 @@ func encodeReposCreatePagesSiteResponse(response ReposCreatePagesSiteRes, w http w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18621,7 +18621,7 @@ func encodeReposCreatePagesSiteResponse(response ReposCreatePagesSiteRes, w http w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18634,7 +18634,7 @@ func encodeReposCreatePagesSiteResponse(response ReposCreatePagesSiteRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18673,7 +18673,7 @@ func encodeReposCreateReleaseResponse(response ReposCreateReleaseRes, w http.Res w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18686,7 +18686,7 @@ func encodeReposCreateReleaseResponse(response ReposCreateReleaseRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18699,7 +18699,7 @@ func encodeReposCreateReleaseResponse(response ReposCreateReleaseRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18736,7 +18736,7 @@ func encodeReposCreateUsingTemplateResponse(response *RepositoryHeaders, w http. w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18771,7 +18771,7 @@ func encodeReposCreateWebhookResponse(response ReposCreateWebhookRes, w http.Res w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18784,7 +18784,7 @@ func encodeReposCreateWebhookResponse(response ReposCreateWebhookRes, w http.Res w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18797,7 +18797,7 @@ func encodeReposCreateWebhookResponse(response ReposCreateWebhookRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18810,7 +18810,7 @@ func encodeReposCreateWebhookResponse(response ReposCreateWebhookRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18842,7 +18842,7 @@ func encodeReposDeclineInvitationResponse(response ReposDeclineInvitationRes, w w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18855,7 +18855,7 @@ func encodeReposDeclineInvitationResponse(response ReposDeclineInvitationRes, w w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18868,7 +18868,7 @@ func encodeReposDeclineInvitationResponse(response ReposDeclineInvitationRes, w w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18894,7 +18894,7 @@ func encodeReposDeleteResponse(response ReposDeleteRes, w http.ResponseWriter, s w.WriteHeader(307) span.SetStatus(codes.Ok, http.StatusText(307)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18907,7 +18907,7 @@ func encodeReposDeleteResponse(response ReposDeleteRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18920,7 +18920,7 @@ func encodeReposDeleteResponse(response ReposDeleteRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18953,7 +18953,7 @@ func encodeReposDeleteAdminBranchProtectionResponse(response ReposDeleteAdminBra w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -18986,7 +18986,7 @@ func encodeReposDeleteAutolinkResponse(response ReposDeleteAutolinkRes, w http.R w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19012,7 +19012,7 @@ func encodeReposDeleteBranchProtectionResponse(response ReposDeleteBranchProtect w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19038,7 +19038,7 @@ func encodeReposDeleteCommitCommentResponse(response ReposDeleteCommitCommentRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19064,7 +19064,7 @@ func encodeReposDeleteCommitSignatureProtectionResponse(response ReposDeleteComm w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19097,7 +19097,7 @@ func encodeReposDeleteDeploymentResponse(response ReposDeleteDeploymentRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19110,7 +19110,7 @@ func encodeReposDeleteDeploymentResponse(response ReposDeleteDeploymentRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19130,7 +19130,7 @@ func encodeReposDeleteFileResponse(response ReposDeleteFileRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19143,7 +19143,7 @@ func encodeReposDeleteFileResponse(response ReposDeleteFileRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19156,7 +19156,7 @@ func encodeReposDeleteFileResponse(response ReposDeleteFileRes, w http.ResponseW w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19169,7 +19169,7 @@ func encodeReposDeleteFileResponse(response ReposDeleteFileRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19182,7 +19182,7 @@ func encodeReposDeleteFileResponse(response ReposDeleteFileRes, w http.ResponseW w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19215,7 +19215,7 @@ func encodeReposDeletePagesSiteResponse(response ReposDeletePagesSiteRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19228,7 +19228,7 @@ func encodeReposDeletePagesSiteResponse(response ReposDeletePagesSiteRes, w http w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19241,7 +19241,7 @@ func encodeReposDeletePagesSiteResponse(response ReposDeletePagesSiteRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19267,7 +19267,7 @@ func encodeReposDeletePullRequestReviewProtectionResponse(response ReposDeletePu w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19307,7 +19307,7 @@ func encodeReposDeleteWebhookResponse(response ReposDeleteWebhookRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19407,7 +19407,7 @@ func encodeReposEnableLfsForRepoResponse(response ReposEnableLfsForRepoRes, w ht w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19440,7 +19440,7 @@ func encodeReposGetResponse(response ReposGetRes, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19453,7 +19453,7 @@ func encodeReposGetResponse(response ReposGetRes, w http.ResponseWriter, span tr w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19466,7 +19466,7 @@ func encodeReposGetResponse(response ReposGetRes, w http.ResponseWriter, span tr w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19479,7 +19479,7 @@ func encodeReposGetResponse(response ReposGetRes, w http.ResponseWriter, span tr w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19499,7 +19499,7 @@ func encodeReposGetAccessRestrictionsResponse(response ReposGetAccessRestriction w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19512,7 +19512,7 @@ func encodeReposGetAccessRestrictionsResponse(response ReposGetAccessRestriction w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19530,7 +19530,7 @@ func encodeReposGetAdminBranchProtectionResponse(response *ProtectedBranchAdminE w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19546,7 +19546,7 @@ func encodeReposGetAllStatusCheckContextsResponse(response ReposGetAllStatusChec w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19559,7 +19559,7 @@ func encodeReposGetAllStatusCheckContextsResponse(response ReposGetAllStatusChec w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19579,7 +19579,7 @@ func encodeReposGetAllTopicsResponse(response ReposGetAllTopicsRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19592,7 +19592,7 @@ func encodeReposGetAllTopicsResponse(response ReposGetAllTopicsRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19605,7 +19605,7 @@ func encodeReposGetAllTopicsResponse(response ReposGetAllTopicsRes, w http.Respo w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19625,7 +19625,7 @@ func encodeReposGetAppsWithAccessToProtectedBranchResponse(response ReposGetApps w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19638,7 +19638,7 @@ func encodeReposGetAppsWithAccessToProtectedBranchResponse(response ReposGetApps w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19658,7 +19658,7 @@ func encodeReposGetAutolinkResponse(response ReposGetAutolinkRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19671,7 +19671,7 @@ func encodeReposGetAutolinkResponse(response ReposGetAutolinkRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19691,7 +19691,7 @@ func encodeReposGetBranchResponse(response ReposGetBranchRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19704,7 +19704,7 @@ func encodeReposGetBranchResponse(response ReposGetBranchRes, w http.ResponseWri w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19717,7 +19717,7 @@ func encodeReposGetBranchResponse(response ReposGetBranchRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19730,7 +19730,7 @@ func encodeReposGetBranchResponse(response ReposGetBranchRes, w http.ResponseWri w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19750,7 +19750,7 @@ func encodeReposGetBranchProtectionResponse(response ReposGetBranchProtectionRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19763,7 +19763,7 @@ func encodeReposGetBranchProtectionResponse(response ReposGetBranchProtectionRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19783,7 +19783,7 @@ func encodeReposGetClonesResponse(response ReposGetClonesRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19796,7 +19796,7 @@ func encodeReposGetClonesResponse(response ReposGetClonesRes, w http.ResponseWri w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19816,7 +19816,7 @@ func encodeReposGetCodeFrequencyStatsResponse(response ReposGetCodeFrequencyStat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19829,7 +19829,7 @@ func encodeReposGetCodeFrequencyStatsResponse(response ReposGetCodeFrequencyStat w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19855,7 +19855,7 @@ func encodeReposGetCollaboratorPermissionLevelResponse(response ReposGetCollabor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19868,7 +19868,7 @@ func encodeReposGetCollaboratorPermissionLevelResponse(response ReposGetCollabor w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19888,7 +19888,7 @@ func encodeReposGetCombinedStatusForRefResponse(response ReposGetCombinedStatusF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19901,7 +19901,7 @@ func encodeReposGetCombinedStatusForRefResponse(response ReposGetCombinedStatusF w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19921,7 +19921,7 @@ func encodeReposGetCommitResponse(response ReposGetCommitRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19934,7 +19934,7 @@ func encodeReposGetCommitResponse(response ReposGetCommitRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19947,7 +19947,7 @@ func encodeReposGetCommitResponse(response ReposGetCommitRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19960,7 +19960,7 @@ func encodeReposGetCommitResponse(response ReposGetCommitRes, w http.ResponseWri w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19980,7 +19980,7 @@ func encodeReposGetCommitActivityStatsResponse(response ReposGetCommitActivitySt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -19993,7 +19993,7 @@ func encodeReposGetCommitActivityStatsResponse(response ReposGetCommitActivitySt w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20019,7 +20019,7 @@ func encodeReposGetCommitCommentResponse(response ReposGetCommitCommentRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20032,7 +20032,7 @@ func encodeReposGetCommitCommentResponse(response ReposGetCommitCommentRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20052,7 +20052,7 @@ func encodeReposGetCommitSignatureProtectionResponse(response ReposGetCommitSign w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20065,7 +20065,7 @@ func encodeReposGetCommitSignatureProtectionResponse(response ReposGetCommitSign w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20083,7 +20083,7 @@ func encodeReposGetCommunityProfileMetricsResponse(response *CommunityProfile, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20099,7 +20099,7 @@ func encodeReposGetContributorsStatsResponse(response ReposGetContributorsStatsR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20112,7 +20112,7 @@ func encodeReposGetContributorsStatsResponse(response ReposGetContributorsStatsR w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20138,7 +20138,7 @@ func encodeReposGetDeployKeyResponse(response ReposGetDeployKeyRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20151,7 +20151,7 @@ func encodeReposGetDeployKeyResponse(response ReposGetDeployKeyRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20171,7 +20171,7 @@ func encodeReposGetDeploymentResponse(response ReposGetDeploymentRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20184,7 +20184,7 @@ func encodeReposGetDeploymentResponse(response ReposGetDeploymentRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20204,7 +20204,7 @@ func encodeReposGetDeploymentStatusResponse(response ReposGetDeploymentStatusRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20217,7 +20217,7 @@ func encodeReposGetDeploymentStatusResponse(response ReposGetDeploymentStatusRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20230,7 +20230,7 @@ func encodeReposGetDeploymentStatusResponse(response ReposGetDeploymentStatusRes w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20248,7 +20248,7 @@ func encodeReposGetLatestPagesBuildResponse(response *PageBuild, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20262,7 +20262,7 @@ func encodeReposGetLatestReleaseResponse(response *Release, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20278,7 +20278,7 @@ func encodeReposGetPagesResponse(response ReposGetPagesRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20291,7 +20291,7 @@ func encodeReposGetPagesResponse(response ReposGetPagesRes, w http.ResponseWrite w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20309,7 +20309,7 @@ func encodeReposGetPagesBuildResponse(response *PageBuild, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20325,7 +20325,7 @@ func encodeReposGetPagesHealthCheckResponse(response ReposGetPagesHealthCheckRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20338,7 +20338,7 @@ func encodeReposGetPagesHealthCheckResponse(response ReposGetPagesHealthCheckRes w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20357,7 +20357,7 @@ func encodeReposGetPagesHealthCheckResponse(response ReposGetPagesHealthCheckRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20383,7 +20383,7 @@ func encodeReposGetParticipationStatsResponse(response ReposGetParticipationStat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20396,7 +20396,7 @@ func encodeReposGetParticipationStatsResponse(response ReposGetParticipationStat w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20414,7 +20414,7 @@ func encodeReposGetPullRequestReviewProtectionResponse(response *ProtectedBranch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20430,7 +20430,7 @@ func encodeReposGetPunchCardStatsResponse(response ReposGetPunchCardStatsRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20456,7 +20456,7 @@ func encodeReposGetReadmeResponse(response ReposGetReadmeRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20469,7 +20469,7 @@ func encodeReposGetReadmeResponse(response ReposGetReadmeRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20482,7 +20482,7 @@ func encodeReposGetReadmeResponse(response ReposGetReadmeRes, w http.ResponseWri w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20502,7 +20502,7 @@ func encodeReposGetReadmeInDirectoryResponse(response ReposGetReadmeInDirectoryR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20515,7 +20515,7 @@ func encodeReposGetReadmeInDirectoryResponse(response ReposGetReadmeInDirectoryR w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20528,7 +20528,7 @@ func encodeReposGetReadmeInDirectoryResponse(response ReposGetReadmeInDirectoryR w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20548,7 +20548,7 @@ func encodeReposGetReleaseResponse(response ReposGetReleaseRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20561,7 +20561,7 @@ func encodeReposGetReleaseResponse(response ReposGetReleaseRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20581,7 +20581,7 @@ func encodeReposGetReleaseAssetResponse(response ReposGetReleaseAssetRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20600,7 +20600,7 @@ func encodeReposGetReleaseAssetResponse(response ReposGetReleaseAssetRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20613,7 +20613,7 @@ func encodeReposGetReleaseAssetResponse(response ReposGetReleaseAssetRes, w http w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20633,7 +20633,7 @@ func encodeReposGetReleaseByTagResponse(response ReposGetReleaseByTagRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20646,7 +20646,7 @@ func encodeReposGetReleaseByTagResponse(response ReposGetReleaseByTagRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20666,7 +20666,7 @@ func encodeReposGetStatusChecksProtectionResponse(response ReposGetStatusChecksP w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20679,7 +20679,7 @@ func encodeReposGetStatusChecksProtectionResponse(response ReposGetStatusChecksP w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20699,7 +20699,7 @@ func encodeReposGetTeamsWithAccessToProtectedBranchResponse(response ReposGetTea w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20712,7 +20712,7 @@ func encodeReposGetTeamsWithAccessToProtectedBranchResponse(response ReposGetTea w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20732,7 +20732,7 @@ func encodeReposGetTopPathsResponse(response ReposGetTopPathsRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20745,7 +20745,7 @@ func encodeReposGetTopPathsResponse(response ReposGetTopPathsRes, w http.Respons w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20765,7 +20765,7 @@ func encodeReposGetTopReferrersResponse(response ReposGetTopReferrersRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20778,7 +20778,7 @@ func encodeReposGetTopReferrersResponse(response ReposGetTopReferrersRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20798,7 +20798,7 @@ func encodeReposGetUsersWithAccessToProtectedBranchResponse(response ReposGetUse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20811,7 +20811,7 @@ func encodeReposGetUsersWithAccessToProtectedBranchResponse(response ReposGetUse w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20831,7 +20831,7 @@ func encodeReposGetViewsResponse(response ReposGetViewsRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20844,7 +20844,7 @@ func encodeReposGetViewsResponse(response ReposGetViewsRes, w http.ResponseWrite w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20864,7 +20864,7 @@ func encodeReposGetWebhookResponse(response ReposGetWebhookRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20877,7 +20877,7 @@ func encodeReposGetWebhookResponse(response ReposGetWebhookRes, w http.ResponseW w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20895,7 +20895,7 @@ func encodeReposGetWebhookConfigForRepoResponse(response *WebhookConfig, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20911,7 +20911,7 @@ func encodeReposGetWebhookDeliveryResponse(response ReposGetWebhookDeliveryRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20924,7 +20924,7 @@ func encodeReposGetWebhookDeliveryResponse(response ReposGetWebhookDeliveryRes, w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20937,7 +20937,7 @@ func encodeReposGetWebhookDeliveryResponse(response ReposGetWebhookDeliveryRes, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -20955,7 +20955,7 @@ func encodeReposListAutolinksResponse(response []Autolink, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -20994,7 +20994,7 @@ func encodeReposListBranchesResponse(response ReposListBranchesRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21011,7 +21011,7 @@ func encodeReposListBranchesResponse(response ReposListBranchesRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21031,7 +21031,7 @@ func encodeReposListBranchesForHeadCommitResponse(response ReposListBranchesForH w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21044,7 +21044,7 @@ func encodeReposListBranchesForHeadCommitResponse(response ReposListBranchesForH w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21083,7 +21083,7 @@ func encodeReposListCollaboratorsResponse(response ReposListCollaboratorsRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21100,7 +21100,7 @@ func encodeReposListCollaboratorsResponse(response ReposListCollaboratorsRes, w w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21137,7 +21137,7 @@ func encodeReposListCommentsForCommitResponse(response *ReposListCommentsForComm w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21174,7 +21174,7 @@ func encodeReposListCommitCommentsForRepoResponse(response *ReposListCommitComme w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21213,7 +21213,7 @@ func encodeReposListCommitStatusesForRefResponse(response ReposListCommitStatuse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21230,7 +21230,7 @@ func encodeReposListCommitStatusesForRefResponse(response ReposListCommitStatuse w.WriteHeader(301) span.SetStatus(codes.Ok, http.StatusText(301)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21269,7 +21269,7 @@ func encodeReposListCommitsResponse(response ReposListCommitsRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21286,7 +21286,7 @@ func encodeReposListCommitsResponse(response ReposListCommitsRes, w http.Respons w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21299,7 +21299,7 @@ func encodeReposListCommitsResponse(response ReposListCommitsRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21312,7 +21312,7 @@ func encodeReposListCommitsResponse(response ReposListCommitsRes, w http.Respons w.WriteHeader(409) span.SetStatus(codes.Error, http.StatusText(409)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21325,7 +21325,7 @@ func encodeReposListCommitsResponse(response ReposListCommitsRes, w http.Respons w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21364,7 +21364,7 @@ func encodeReposListContributorsResponse(response ReposListContributorsRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21387,7 +21387,7 @@ func encodeReposListContributorsResponse(response ReposListContributorsRes, w ht w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21400,7 +21400,7 @@ func encodeReposListContributorsResponse(response ReposListContributorsRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21437,7 +21437,7 @@ func encodeReposListDeployKeysResponse(response *ReposListDeployKeysOKHeaders, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21476,7 +21476,7 @@ func encodeReposListDeploymentStatusesResponse(response ReposListDeploymentStatu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21493,7 +21493,7 @@ func encodeReposListDeploymentStatusesResponse(response ReposListDeploymentStatu w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21530,7 +21530,7 @@ func encodeReposListDeploymentsResponse(response *ReposListDeploymentsOKHeaders, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21550,7 +21550,7 @@ func encodeReposListForAuthenticatedUserResponse(response ReposListForAuthentica w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21569,7 +21569,7 @@ func encodeReposListForAuthenticatedUserResponse(response ReposListForAuthentica w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21582,7 +21582,7 @@ func encodeReposListForAuthenticatedUserResponse(response ReposListForAuthentica w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21595,7 +21595,7 @@ func encodeReposListForAuthenticatedUserResponse(response ReposListForAuthentica w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21632,7 +21632,7 @@ func encodeReposListForOrgResponse(response *ReposListForOrgOKHeaders, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21669,7 +21669,7 @@ func encodeReposListForUserResponse(response *ReposListForUserOKHeaders, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21708,7 +21708,7 @@ func encodeReposListForksResponse(response ReposListForksRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21725,7 +21725,7 @@ func encodeReposListForksResponse(response ReposListForksRes, w http.ResponseWri w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21762,7 +21762,7 @@ func encodeReposListInvitationsResponse(response *ReposListInvitationsOKHeaders, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21801,7 +21801,7 @@ func encodeReposListInvitationsForAuthenticatedUserResponse(response ReposListIn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21824,7 +21824,7 @@ func encodeReposListInvitationsForAuthenticatedUserResponse(response ReposListIn w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21837,7 +21837,7 @@ func encodeReposListInvitationsForAuthenticatedUserResponse(response ReposListIn w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21850,7 +21850,7 @@ func encodeReposListInvitationsForAuthenticatedUserResponse(response ReposListIn w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21868,7 +21868,7 @@ func encodeReposListLanguagesResponse(response Language, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -21901,7 +21901,7 @@ func encodeReposListPagesBuildsResponse(response *ReposListPagesBuildsOKHeaders, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21940,7 +21940,7 @@ func encodeReposListPublicResponse(response ReposListPublicRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -21963,7 +21963,7 @@ func encodeReposListPublicResponse(response ReposListPublicRes, w http.ResponseW w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22000,7 +22000,7 @@ func encodeReposListPullRequestsAssociatedWithCommitResponse(response *ReposList w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -22037,7 +22037,7 @@ func encodeReposListReleaseAssetsResponse(response *ReposListReleaseAssetsOKHead w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -22076,7 +22076,7 @@ func encodeReposListReleasesResponse(response ReposListReleasesRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -22093,7 +22093,7 @@ func encodeReposListReleasesResponse(response ReposListReleasesRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22130,7 +22130,7 @@ func encodeReposListTagsResponse(response *ReposListTagsOKHeaders, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -22167,7 +22167,7 @@ func encodeReposListTeamsResponse(response *ReposListTeamsOKHeaders, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -22187,7 +22187,7 @@ func encodeReposListWebhookDeliveriesResponse(response ReposListWebhookDeliverie w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22200,7 +22200,7 @@ func encodeReposListWebhookDeliveriesResponse(response ReposListWebhookDeliverie w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22213,7 +22213,7 @@ func encodeReposListWebhookDeliveriesResponse(response ReposListWebhookDeliverie w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22252,7 +22252,7 @@ func encodeReposListWebhooksResponse(response ReposListWebhooksRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -22269,7 +22269,7 @@ func encodeReposListWebhooksResponse(response ReposListWebhooksRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22289,7 +22289,7 @@ func encodeReposMergeResponse(response ReposMergeRes, w http.ResponseWriter, spa w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22308,7 +22308,7 @@ func encodeReposMergeResponse(response ReposMergeRes, w http.ResponseWriter, spa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22333,7 +22333,7 @@ func encodeReposMergeResponse(response ReposMergeRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22353,7 +22353,7 @@ func encodeReposMergeUpstreamResponse(response ReposMergeUpstreamRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22391,7 +22391,7 @@ func encodeReposPingWebhookResponse(response ReposPingWebhookRes, w http.Respons w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22411,7 +22411,7 @@ func encodeReposRedeliverWebhookDeliveryResponse(response ReposRedeliverWebhookD w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22424,7 +22424,7 @@ func encodeReposRedeliverWebhookDeliveryResponse(response ReposRedeliverWebhookD w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22437,7 +22437,7 @@ func encodeReposRedeliverWebhookDeliveryResponse(response ReposRedeliverWebhookD w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22457,7 +22457,7 @@ func encodeReposRemoveAppAccessRestrictionsResponse(response ReposRemoveAppAcces w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22470,7 +22470,7 @@ func encodeReposRemoveAppAccessRestrictionsResponse(response ReposRemoveAppAcces w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22497,7 +22497,7 @@ func encodeReposRemoveStatusCheckContextsResponse(response ReposRemoveStatusChec w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22510,7 +22510,7 @@ func encodeReposRemoveStatusCheckContextsResponse(response ReposRemoveStatusChec w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22523,7 +22523,7 @@ func encodeReposRemoveStatusCheckContextsResponse(response ReposRemoveStatusChec w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22550,7 +22550,7 @@ func encodeReposRemoveTeamAccessRestrictionsResponse(response ReposRemoveTeamAcc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22563,7 +22563,7 @@ func encodeReposRemoveTeamAccessRestrictionsResponse(response ReposRemoveTeamAcc w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22583,7 +22583,7 @@ func encodeReposRemoveUserAccessRestrictionsResponse(response ReposRemoveUserAcc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22596,7 +22596,7 @@ func encodeReposRemoveUserAccessRestrictionsResponse(response ReposRemoveUserAcc w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22616,7 +22616,7 @@ func encodeReposRenameBranchResponse(response ReposRenameBranchRes, w http.Respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22629,7 +22629,7 @@ func encodeReposRenameBranchResponse(response ReposRenameBranchRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22642,7 +22642,7 @@ func encodeReposRenameBranchResponse(response ReposRenameBranchRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22655,7 +22655,7 @@ func encodeReposRenameBranchResponse(response ReposRenameBranchRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22675,7 +22675,7 @@ func encodeReposReplaceAllTopicsResponse(response ReposReplaceAllTopicsRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22688,7 +22688,7 @@ func encodeReposReplaceAllTopicsResponse(response ReposReplaceAllTopicsRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22701,7 +22701,7 @@ func encodeReposReplaceAllTopicsResponse(response ReposReplaceAllTopicsRes, w ht w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22714,7 +22714,7 @@ func encodeReposReplaceAllTopicsResponse(response ReposReplaceAllTopicsRes, w ht w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22732,7 +22732,7 @@ func encodeReposRequestPagesBuildResponse(response *PageBuildStatus, w http.Resp w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22746,7 +22746,7 @@ func encodeReposSetAdminBranchProtectionResponse(response *ProtectedBranchAdminE w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22762,7 +22762,7 @@ func encodeReposSetAppAccessRestrictionsResponse(response ReposSetAppAccessRestr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22775,7 +22775,7 @@ func encodeReposSetAppAccessRestrictionsResponse(response ReposSetAppAccessRestr w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22795,7 +22795,7 @@ func encodeReposSetStatusCheckContextsResponse(response ReposSetStatusCheckConte w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22808,7 +22808,7 @@ func encodeReposSetStatusCheckContextsResponse(response ReposSetStatusCheckConte w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22821,7 +22821,7 @@ func encodeReposSetStatusCheckContextsResponse(response ReposSetStatusCheckConte w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22841,7 +22841,7 @@ func encodeReposSetTeamAccessRestrictionsResponse(response ReposSetTeamAccessRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22854,7 +22854,7 @@ func encodeReposSetTeamAccessRestrictionsResponse(response ReposSetTeamAccessRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22874,7 +22874,7 @@ func encodeReposSetUserAccessRestrictionsResponse(response ReposSetUserAccessRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22887,7 +22887,7 @@ func encodeReposSetUserAccessRestrictionsResponse(response ReposSetUserAccessRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22913,7 +22913,7 @@ func encodeReposTestPushWebhookResponse(response ReposTestPushWebhookRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22931,7 +22931,7 @@ func encodeReposTransferResponse(response *MinimalRepository, w http.ResponseWri w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22947,7 +22947,7 @@ func encodeReposUpdateResponse(response ReposUpdateRes, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22960,7 +22960,7 @@ func encodeReposUpdateResponse(response ReposUpdateRes, w http.ResponseWriter, s w.WriteHeader(307) span.SetStatus(codes.Ok, http.StatusText(307)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22973,7 +22973,7 @@ func encodeReposUpdateResponse(response ReposUpdateRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22986,7 +22986,7 @@ func encodeReposUpdateResponse(response ReposUpdateRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -22999,7 +22999,7 @@ func encodeReposUpdateResponse(response ReposUpdateRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23019,7 +23019,7 @@ func encodeReposUpdateBranchProtectionResponse(response ReposUpdateBranchProtect w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23032,7 +23032,7 @@ func encodeReposUpdateBranchProtectionResponse(response ReposUpdateBranchProtect w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23045,7 +23045,7 @@ func encodeReposUpdateBranchProtectionResponse(response ReposUpdateBranchProtect w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23058,7 +23058,7 @@ func encodeReposUpdateBranchProtectionResponse(response ReposUpdateBranchProtect w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23078,7 +23078,7 @@ func encodeReposUpdateCommitCommentResponse(response ReposUpdateCommitCommentRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23091,7 +23091,7 @@ func encodeReposUpdateCommitCommentResponse(response ReposUpdateCommitCommentRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23109,7 +23109,7 @@ func encodeReposUpdateInvitationResponse(response *RepositoryInvitation, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23125,7 +23125,7 @@ func encodeReposUpdatePullRequestReviewProtectionResponse(response ReposUpdatePu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23138,7 +23138,7 @@ func encodeReposUpdatePullRequestReviewProtectionResponse(response ReposUpdatePu w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23158,7 +23158,7 @@ func encodeReposUpdateReleaseResponse(response ReposUpdateReleaseRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23171,7 +23171,7 @@ func encodeReposUpdateReleaseResponse(response ReposUpdateReleaseRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23189,7 +23189,7 @@ func encodeReposUpdateReleaseAssetResponse(response *ReleaseAsset, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23205,7 +23205,7 @@ func encodeReposUpdateStatusCheckProtectionResponse(response ReposUpdateStatusCh w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23218,7 +23218,7 @@ func encodeReposUpdateStatusCheckProtectionResponse(response ReposUpdateStatusCh w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23231,7 +23231,7 @@ func encodeReposUpdateStatusCheckProtectionResponse(response ReposUpdateStatusCh w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23251,7 +23251,7 @@ func encodeReposUpdateWebhookResponse(response ReposUpdateWebhookRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23264,7 +23264,7 @@ func encodeReposUpdateWebhookResponse(response ReposUpdateWebhookRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23277,7 +23277,7 @@ func encodeReposUpdateWebhookResponse(response ReposUpdateWebhookRes, w http.Res w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23295,7 +23295,7 @@ func encodeReposUpdateWebhookConfigForRepoResponse(response *WebhookConfig, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23309,7 +23309,7 @@ func encodeReposUploadReleaseAssetResponse(response *ReleaseAsset, w http.Respon w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23337,7 +23337,7 @@ func encodeScimDeleteUserFromOrgResponse(response ScimDeleteUserFromOrgRes, w ht w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23350,7 +23350,7 @@ func encodeScimDeleteUserFromOrgResponse(response ScimDeleteUserFromOrgRes, w ht w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23370,7 +23370,7 @@ func encodeSearchCodeResponse(response SearchCodeRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23389,7 +23389,7 @@ func encodeSearchCodeResponse(response SearchCodeRes, w http.ResponseWriter, spa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23402,7 +23402,7 @@ func encodeSearchCodeResponse(response SearchCodeRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23415,7 +23415,7 @@ func encodeSearchCodeResponse(response SearchCodeRes, w http.ResponseWriter, spa w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23435,7 +23435,7 @@ func encodeSearchCommitsResponse(response SearchCommitsRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23454,7 +23454,7 @@ func encodeSearchCommitsResponse(response SearchCommitsRes, w http.ResponseWrite w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23474,7 +23474,7 @@ func encodeSearchIssuesAndPullRequestsResponse(response SearchIssuesAndPullReque w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23493,7 +23493,7 @@ func encodeSearchIssuesAndPullRequestsResponse(response SearchIssuesAndPullReque w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23506,7 +23506,7 @@ func encodeSearchIssuesAndPullRequestsResponse(response SearchIssuesAndPullReque w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23519,7 +23519,7 @@ func encodeSearchIssuesAndPullRequestsResponse(response SearchIssuesAndPullReque w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23539,7 +23539,7 @@ func encodeSearchLabelsResponse(response SearchLabelsRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23558,7 +23558,7 @@ func encodeSearchLabelsResponse(response SearchLabelsRes, w http.ResponseWriter, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23571,7 +23571,7 @@ func encodeSearchLabelsResponse(response SearchLabelsRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23584,7 +23584,7 @@ func encodeSearchLabelsResponse(response SearchLabelsRes, w http.ResponseWriter, w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23604,7 +23604,7 @@ func encodeSearchReposResponse(response SearchReposRes, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23623,7 +23623,7 @@ func encodeSearchReposResponse(response SearchReposRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23636,7 +23636,7 @@ func encodeSearchReposResponse(response SearchReposRes, w http.ResponseWriter, s w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23656,7 +23656,7 @@ func encodeSearchTopicsResponse(response SearchTopicsRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23675,7 +23675,7 @@ func encodeSearchTopicsResponse(response SearchTopicsRes, w http.ResponseWriter, w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23695,7 +23695,7 @@ func encodeSearchUsersResponse(response SearchUsersRes, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23714,7 +23714,7 @@ func encodeSearchUsersResponse(response SearchUsersRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23727,7 +23727,7 @@ func encodeSearchUsersResponse(response SearchUsersRes, w http.ResponseWriter, s w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23747,7 +23747,7 @@ func encodeSecretScanningGetAlertResponse(response SecretScanningGetAlertRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23766,7 +23766,7 @@ func encodeSecretScanningGetAlertResponse(response SecretScanningGetAlertRes, w w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23805,7 +23805,7 @@ func encodeSecretScanningListAlertsForOrgResponse(response SecretScanningListAle w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -23822,7 +23822,7 @@ func encodeSecretScanningListAlertsForOrgResponse(response SecretScanningListAle w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23835,7 +23835,7 @@ func encodeSecretScanningListAlertsForOrgResponse(response SecretScanningListAle w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23855,7 +23855,7 @@ func encodeSecretScanningListAlertsForRepoResponse(response SecretScanningListAl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23874,7 +23874,7 @@ func encodeSecretScanningListAlertsForRepoResponse(response SecretScanningListAl w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23894,7 +23894,7 @@ func encodeSecretScanningUpdateAlertResponse(response SecretScanningUpdateAlertR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23919,7 +23919,7 @@ func encodeSecretScanningUpdateAlertResponse(response SecretScanningUpdateAlertR w.WriteHeader(503) span.SetStatus(codes.Error, http.StatusText(503)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23945,7 +23945,7 @@ func encodeTeamsAddMemberLegacyResponse(response TeamsAddMemberLegacyRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -23977,7 +23977,7 @@ func encodeTeamsAddOrUpdateMembershipForUserInOrgResponse(response TeamsAddOrUpd w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24009,7 +24009,7 @@ func encodeTeamsAddOrUpdateMembershipForUserLegacyResponse(response TeamsAddOrUp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24028,7 +24028,7 @@ func encodeTeamsAddOrUpdateMembershipForUserLegacyResponse(response TeamsAddOrUp w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24060,7 +24060,7 @@ func encodeTeamsAddOrUpdateProjectPermissionsInOrgResponse(response TeamsAddOrUp w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24086,7 +24086,7 @@ func encodeTeamsAddOrUpdateProjectPermissionsLegacyResponse(response TeamsAddOrU w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24099,7 +24099,7 @@ func encodeTeamsAddOrUpdateProjectPermissionsLegacyResponse(response TeamsAddOrU w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24112,7 +24112,7 @@ func encodeTeamsAddOrUpdateProjectPermissionsLegacyResponse(response TeamsAddOrU w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24145,7 +24145,7 @@ func encodeTeamsAddOrUpdateRepoPermissionsLegacyResponse(response TeamsAddOrUpda w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24158,7 +24158,7 @@ func encodeTeamsAddOrUpdateRepoPermissionsLegacyResponse(response TeamsAddOrUpda w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24178,7 +24178,7 @@ func encodeTeamsCheckPermissionsForProjectInOrgResponse(response TeamsCheckPermi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24204,7 +24204,7 @@ func encodeTeamsCheckPermissionsForProjectLegacyResponse(response TeamsCheckPerm w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24230,7 +24230,7 @@ func encodeTeamsCheckPermissionsForRepoInOrgResponse(response TeamsCheckPermissi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24262,7 +24262,7 @@ func encodeTeamsCheckPermissionsForRepoLegacyResponse(response TeamsCheckPermiss w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24294,7 +24294,7 @@ func encodeTeamsCreateResponse(response TeamsCreateRes, w http.ResponseWriter, s w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24307,7 +24307,7 @@ func encodeTeamsCreateResponse(response TeamsCreateRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24320,7 +24320,7 @@ func encodeTeamsCreateResponse(response TeamsCreateRes, w http.ResponseWriter, s w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24338,7 +24338,7 @@ func encodeTeamsCreateDiscussionCommentInOrgResponse(response *TeamDiscussionCom w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24352,7 +24352,7 @@ func encodeTeamsCreateDiscussionCommentLegacyResponse(response *TeamDiscussionCo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24366,7 +24366,7 @@ func encodeTeamsCreateDiscussionInOrgResponse(response *TeamDiscussion, w http.R w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24380,7 +24380,7 @@ func encodeTeamsCreateDiscussionLegacyResponse(response *TeamDiscussion, w http. w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24394,7 +24394,7 @@ func encodeTeamsCreateOrUpdateIdpGroupConnectionsInOrgResponse(response *GroupMa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24410,7 +24410,7 @@ func encodeTeamsCreateOrUpdateIdpGroupConnectionsLegacyResponse(response TeamsCr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24423,7 +24423,7 @@ func encodeTeamsCreateOrUpdateIdpGroupConnectionsLegacyResponse(response TeamsCr w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24436,7 +24436,7 @@ func encodeTeamsCreateOrUpdateIdpGroupConnectionsLegacyResponse(response TeamsCr w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24497,7 +24497,7 @@ func encodeTeamsDeleteLegacyResponse(response TeamsDeleteLegacyRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24510,7 +24510,7 @@ func encodeTeamsDeleteLegacyResponse(response TeamsDeleteLegacyRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24530,7 +24530,7 @@ func encodeTeamsGetByNameResponse(response TeamsGetByNameRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24543,7 +24543,7 @@ func encodeTeamsGetByNameResponse(response TeamsGetByNameRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24561,7 +24561,7 @@ func encodeTeamsGetDiscussionCommentInOrgResponse(response *TeamDiscussionCommen w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24575,7 +24575,7 @@ func encodeTeamsGetDiscussionCommentLegacyResponse(response *TeamDiscussionComme w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24589,7 +24589,7 @@ func encodeTeamsGetDiscussionInOrgResponse(response *TeamDiscussion, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24603,7 +24603,7 @@ func encodeTeamsGetDiscussionLegacyResponse(response *TeamDiscussion, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24619,7 +24619,7 @@ func encodeTeamsGetLegacyResponse(response TeamsGetLegacyRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24632,7 +24632,7 @@ func encodeTeamsGetLegacyResponse(response TeamsGetLegacyRes, w http.ResponseWri w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24671,7 +24671,7 @@ func encodeTeamsGetMembershipForUserInOrgResponse(response TeamsGetMembershipFor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24697,7 +24697,7 @@ func encodeTeamsGetMembershipForUserLegacyResponse(response TeamsGetMembershipFo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24710,7 +24710,7 @@ func encodeTeamsGetMembershipForUserLegacyResponse(response TeamsGetMembershipFo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24749,7 +24749,7 @@ func encodeTeamsListResponse(response TeamsListRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -24766,7 +24766,7 @@ func encodeTeamsListResponse(response TeamsListRes, w http.ResponseWriter, span w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24803,7 +24803,7 @@ func encodeTeamsListChildInOrgResponse(response *TeamsListChildInOrgOKHeaders, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -24842,7 +24842,7 @@ func encodeTeamsListChildLegacyResponse(response TeamsListChildLegacyRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -24859,7 +24859,7 @@ func encodeTeamsListChildLegacyResponse(response TeamsListChildLegacyRes, w http w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24872,7 +24872,7 @@ func encodeTeamsListChildLegacyResponse(response TeamsListChildLegacyRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24885,7 +24885,7 @@ func encodeTeamsListChildLegacyResponse(response TeamsListChildLegacyRes, w http w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -24922,7 +24922,7 @@ func encodeTeamsListDiscussionCommentsInOrgResponse(response *TeamsListDiscussio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -24959,7 +24959,7 @@ func encodeTeamsListDiscussionCommentsLegacyResponse(response *TeamsListDiscussi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -24996,7 +24996,7 @@ func encodeTeamsListDiscussionsInOrgResponse(response *TeamsListDiscussionsInOrg w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25033,7 +25033,7 @@ func encodeTeamsListDiscussionsLegacyResponse(response *TeamsListDiscussionsLega w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25072,7 +25072,7 @@ func encodeTeamsListForAuthenticatedUserResponse(response TeamsListForAuthentica w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25095,7 +25095,7 @@ func encodeTeamsListForAuthenticatedUserResponse(response TeamsListForAuthentica w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25108,7 +25108,7 @@ func encodeTeamsListForAuthenticatedUserResponse(response TeamsListForAuthentica w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25128,7 +25128,7 @@ func encodeTeamsListIdpGroupsForLegacyResponse(response TeamsListIdpGroupsForLeg w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25141,7 +25141,7 @@ func encodeTeamsListIdpGroupsForLegacyResponse(response TeamsListIdpGroupsForLeg w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25154,7 +25154,7 @@ func encodeTeamsListIdpGroupsForLegacyResponse(response TeamsListIdpGroupsForLeg w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25191,7 +25191,7 @@ func encodeTeamsListIdpGroupsForOrgResponse(response *GroupMappingHeaders, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25205,7 +25205,7 @@ func encodeTeamsListIdpGroupsInOrgResponse(response *GroupMapping, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25238,7 +25238,7 @@ func encodeTeamsListMembersInOrgResponse(response *TeamsListMembersInOrgOKHeader w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25277,7 +25277,7 @@ func encodeTeamsListMembersLegacyResponse(response TeamsListMembersLegacyRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25294,7 +25294,7 @@ func encodeTeamsListMembersLegacyResponse(response TeamsListMembersLegacyRes, w w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25331,7 +25331,7 @@ func encodeTeamsListPendingInvitationsInOrgResponse(response *TeamsListPendingIn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25368,7 +25368,7 @@ func encodeTeamsListPendingInvitationsLegacyResponse(response *TeamsListPendingI w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25405,7 +25405,7 @@ func encodeTeamsListProjectsInOrgResponse(response *TeamsListProjectsInOrgOKHead w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25444,7 +25444,7 @@ func encodeTeamsListProjectsLegacyResponse(response TeamsListProjectsLegacyRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25461,7 +25461,7 @@ func encodeTeamsListProjectsLegacyResponse(response TeamsListProjectsLegacyRes, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25498,7 +25498,7 @@ func encodeTeamsListReposInOrgResponse(response *TeamsListReposInOrgOKHeaders, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25537,7 +25537,7 @@ func encodeTeamsListReposLegacyResponse(response TeamsListReposLegacyRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -25554,7 +25554,7 @@ func encodeTeamsListReposLegacyResponse(response TeamsListReposLegacyRes, w http w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25644,7 +25644,7 @@ func encodeTeamsRemoveProjectLegacyResponse(response TeamsRemoveProjectLegacyRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25657,7 +25657,7 @@ func encodeTeamsRemoveProjectLegacyResponse(response TeamsRemoveProjectLegacyRes w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25670,7 +25670,7 @@ func encodeTeamsRemoveProjectLegacyResponse(response TeamsRemoveProjectLegacyRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25702,7 +25702,7 @@ func encodeTeamsUpdateDiscussionCommentInOrgResponse(response *TeamDiscussionCom w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25716,7 +25716,7 @@ func encodeTeamsUpdateDiscussionCommentLegacyResponse(response *TeamDiscussionCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25730,7 +25730,7 @@ func encodeTeamsUpdateDiscussionInOrgResponse(response *TeamDiscussion, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25744,7 +25744,7 @@ func encodeTeamsUpdateDiscussionLegacyResponse(response *TeamDiscussion, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25758,7 +25758,7 @@ func encodeTeamsUpdateInOrgResponse(response *TeamFull, w http.ResponseWriter, s w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25774,7 +25774,7 @@ func encodeTeamsUpdateLegacyResponse(response TeamsUpdateLegacyRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25787,7 +25787,7 @@ func encodeTeamsUpdateLegacyResponse(response TeamsUpdateLegacyRes, w http.Respo w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25800,7 +25800,7 @@ func encodeTeamsUpdateLegacyResponse(response TeamsUpdateLegacyRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25813,7 +25813,7 @@ func encodeTeamsUpdateLegacyResponse(response TeamsUpdateLegacyRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25826,7 +25826,7 @@ func encodeTeamsUpdateLegacyResponse(response TeamsUpdateLegacyRes, w http.Respo w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25846,7 +25846,7 @@ func encodeUsersAddEmailForAuthenticatedResponse(response UsersAddEmailForAuthen w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25865,7 +25865,7 @@ func encodeUsersAddEmailForAuthenticatedResponse(response UsersAddEmailForAuthen w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25878,7 +25878,7 @@ func encodeUsersAddEmailForAuthenticatedResponse(response UsersAddEmailForAuthen w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25891,7 +25891,7 @@ func encodeUsersAddEmailForAuthenticatedResponse(response UsersAddEmailForAuthen w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25904,7 +25904,7 @@ func encodeUsersAddEmailForAuthenticatedResponse(response UsersAddEmailForAuthen w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25936,7 +25936,7 @@ func encodeUsersBlockResponse(response UsersBlockRes, w http.ResponseWriter, spa w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25949,7 +25949,7 @@ func encodeUsersBlockResponse(response UsersBlockRes, w http.ResponseWriter, spa w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25962,7 +25962,7 @@ func encodeUsersBlockResponse(response UsersBlockRes, w http.ResponseWriter, spa w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -25975,7 +25975,7 @@ func encodeUsersBlockResponse(response UsersBlockRes, w http.ResponseWriter, spa w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26007,7 +26007,7 @@ func encodeUsersCheckBlockedResponse(response UsersCheckBlockedRes, w http.Respo w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26020,7 +26020,7 @@ func encodeUsersCheckBlockedResponse(response UsersCheckBlockedRes, w http.Respo w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26033,7 +26033,7 @@ func encodeUsersCheckBlockedResponse(response UsersCheckBlockedRes, w http.Respo w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26084,7 +26084,7 @@ func encodeUsersCheckPersonIsFollowedByAuthenticatedResponse(response UsersCheck w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26097,7 +26097,7 @@ func encodeUsersCheckPersonIsFollowedByAuthenticatedResponse(response UsersCheck w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26110,7 +26110,7 @@ func encodeUsersCheckPersonIsFollowedByAuthenticatedResponse(response UsersCheck w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26130,7 +26130,7 @@ func encodeUsersCreateGpgKeyForAuthenticatedResponse(response UsersCreateGpgKeyF w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26149,7 +26149,7 @@ func encodeUsersCreateGpgKeyForAuthenticatedResponse(response UsersCreateGpgKeyF w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26162,7 +26162,7 @@ func encodeUsersCreateGpgKeyForAuthenticatedResponse(response UsersCreateGpgKeyF w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26175,7 +26175,7 @@ func encodeUsersCreateGpgKeyForAuthenticatedResponse(response UsersCreateGpgKeyF w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26188,7 +26188,7 @@ func encodeUsersCreateGpgKeyForAuthenticatedResponse(response UsersCreateGpgKeyF w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26208,7 +26208,7 @@ func encodeUsersCreatePublicSSHKeyForAuthenticatedResponse(response UsersCreateP w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26227,7 +26227,7 @@ func encodeUsersCreatePublicSSHKeyForAuthenticatedResponse(response UsersCreateP w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26240,7 +26240,7 @@ func encodeUsersCreatePublicSSHKeyForAuthenticatedResponse(response UsersCreateP w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26253,7 +26253,7 @@ func encodeUsersCreatePublicSSHKeyForAuthenticatedResponse(response UsersCreateP w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26266,7 +26266,7 @@ func encodeUsersCreatePublicSSHKeyForAuthenticatedResponse(response UsersCreateP w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26298,7 +26298,7 @@ func encodeUsersDeleteEmailForAuthenticatedResponse(response UsersDeleteEmailFor w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26311,7 +26311,7 @@ func encodeUsersDeleteEmailForAuthenticatedResponse(response UsersDeleteEmailFor w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26324,7 +26324,7 @@ func encodeUsersDeleteEmailForAuthenticatedResponse(response UsersDeleteEmailFor w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26337,7 +26337,7 @@ func encodeUsersDeleteEmailForAuthenticatedResponse(response UsersDeleteEmailFor w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26369,7 +26369,7 @@ func encodeUsersDeleteGpgKeyForAuthenticatedResponse(response UsersDeleteGpgKeyF w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26382,7 +26382,7 @@ func encodeUsersDeleteGpgKeyForAuthenticatedResponse(response UsersDeleteGpgKeyF w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26395,7 +26395,7 @@ func encodeUsersDeleteGpgKeyForAuthenticatedResponse(response UsersDeleteGpgKeyF w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26408,7 +26408,7 @@ func encodeUsersDeleteGpgKeyForAuthenticatedResponse(response UsersDeleteGpgKeyF w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26440,7 +26440,7 @@ func encodeUsersDeletePublicSSHKeyForAuthenticatedResponse(response UsersDeleteP w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26453,7 +26453,7 @@ func encodeUsersDeletePublicSSHKeyForAuthenticatedResponse(response UsersDeleteP w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26466,7 +26466,7 @@ func encodeUsersDeletePublicSSHKeyForAuthenticatedResponse(response UsersDeleteP w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26498,7 +26498,7 @@ func encodeUsersFollowResponse(response UsersFollowRes, w http.ResponseWriter, s w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26511,7 +26511,7 @@ func encodeUsersFollowResponse(response UsersFollowRes, w http.ResponseWriter, s w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26524,7 +26524,7 @@ func encodeUsersFollowResponse(response UsersFollowRes, w http.ResponseWriter, s w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26544,7 +26544,7 @@ func encodeUsersGetAuthenticatedResponse(response UsersGetAuthenticatedRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26563,7 +26563,7 @@ func encodeUsersGetAuthenticatedResponse(response UsersGetAuthenticatedRes, w ht w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26576,7 +26576,7 @@ func encodeUsersGetAuthenticatedResponse(response UsersGetAuthenticatedRes, w ht w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26596,7 +26596,7 @@ func encodeUsersGetByUsernameResponse(response UsersGetByUsernameRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26609,7 +26609,7 @@ func encodeUsersGetByUsernameResponse(response UsersGetByUsernameRes, w http.Res w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26622,7 +26622,7 @@ func encodeUsersGetByUsernameResponse(response UsersGetByUsernameRes, w http.Res w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26642,7 +26642,7 @@ func encodeUsersGetContextForUserResponse(response UsersGetContextForUserRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26655,7 +26655,7 @@ func encodeUsersGetContextForUserResponse(response UsersGetContextForUserRes, w w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26668,7 +26668,7 @@ func encodeUsersGetContextForUserResponse(response UsersGetContextForUserRes, w w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26688,7 +26688,7 @@ func encodeUsersGetGpgKeyForAuthenticatedResponse(response UsersGetGpgKeyForAuth w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26707,7 +26707,7 @@ func encodeUsersGetGpgKeyForAuthenticatedResponse(response UsersGetGpgKeyForAuth w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26720,7 +26720,7 @@ func encodeUsersGetGpgKeyForAuthenticatedResponse(response UsersGetGpgKeyForAuth w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26733,7 +26733,7 @@ func encodeUsersGetGpgKeyForAuthenticatedResponse(response UsersGetGpgKeyForAuth w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26753,7 +26753,7 @@ func encodeUsersGetPublicSSHKeyForAuthenticatedResponse(response UsersGetPublicS w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26772,7 +26772,7 @@ func encodeUsersGetPublicSSHKeyForAuthenticatedResponse(response UsersGetPublicS w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26785,7 +26785,7 @@ func encodeUsersGetPublicSSHKeyForAuthenticatedResponse(response UsersGetPublicS w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26798,7 +26798,7 @@ func encodeUsersGetPublicSSHKeyForAuthenticatedResponse(response UsersGetPublicS w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26837,7 +26837,7 @@ func encodeUsersListResponse(response UsersListRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -26867,7 +26867,7 @@ func encodeUsersListBlockedByAuthenticatedResponse(response UsersListBlockedByAu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26886,7 +26886,7 @@ func encodeUsersListBlockedByAuthenticatedResponse(response UsersListBlockedByAu w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26899,7 +26899,7 @@ func encodeUsersListBlockedByAuthenticatedResponse(response UsersListBlockedByAu w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26912,7 +26912,7 @@ func encodeUsersListBlockedByAuthenticatedResponse(response UsersListBlockedByAu w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26925,7 +26925,7 @@ func encodeUsersListBlockedByAuthenticatedResponse(response UsersListBlockedByAu w.WriteHeader(415) span.SetStatus(codes.Error, http.StatusText(415)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -26964,7 +26964,7 @@ func encodeUsersListEmailsForAuthenticatedResponse(response UsersListEmailsForAu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -26987,7 +26987,7 @@ func encodeUsersListEmailsForAuthenticatedResponse(response UsersListEmailsForAu w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27000,7 +27000,7 @@ func encodeUsersListEmailsForAuthenticatedResponse(response UsersListEmailsForAu w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27013,7 +27013,7 @@ func encodeUsersListEmailsForAuthenticatedResponse(response UsersListEmailsForAu w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27052,7 +27052,7 @@ func encodeUsersListFollowedByAuthenticatedResponse(response UsersListFollowedBy w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27075,7 +27075,7 @@ func encodeUsersListFollowedByAuthenticatedResponse(response UsersListFollowedBy w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27088,7 +27088,7 @@ func encodeUsersListFollowedByAuthenticatedResponse(response UsersListFollowedBy w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27127,7 +27127,7 @@ func encodeUsersListFollowersForAuthenticatedUserResponse(response UsersListFoll w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27150,7 +27150,7 @@ func encodeUsersListFollowersForAuthenticatedUserResponse(response UsersListFoll w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27163,7 +27163,7 @@ func encodeUsersListFollowersForAuthenticatedUserResponse(response UsersListFoll w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27200,7 +27200,7 @@ func encodeUsersListFollowersForUserResponse(response *UsersListFollowersForUser w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27237,7 +27237,7 @@ func encodeUsersListFollowingForUserResponse(response *UsersListFollowingForUser w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27276,7 +27276,7 @@ func encodeUsersListGpgKeysForAuthenticatedResponse(response UsersListGpgKeysFor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27299,7 +27299,7 @@ func encodeUsersListGpgKeysForAuthenticatedResponse(response UsersListGpgKeysFor w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27312,7 +27312,7 @@ func encodeUsersListGpgKeysForAuthenticatedResponse(response UsersListGpgKeysFor w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27325,7 +27325,7 @@ func encodeUsersListGpgKeysForAuthenticatedResponse(response UsersListGpgKeysFor w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27362,7 +27362,7 @@ func encodeUsersListGpgKeysForUserResponse(response *UsersListGpgKeysForUserOKHe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27401,7 +27401,7 @@ func encodeUsersListPublicEmailsForAuthenticatedResponse(response UsersListPubli w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27424,7 +27424,7 @@ func encodeUsersListPublicEmailsForAuthenticatedResponse(response UsersListPubli w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27437,7 +27437,7 @@ func encodeUsersListPublicEmailsForAuthenticatedResponse(response UsersListPubli w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27450,7 +27450,7 @@ func encodeUsersListPublicEmailsForAuthenticatedResponse(response UsersListPubli w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27487,7 +27487,7 @@ func encodeUsersListPublicKeysForUserResponse(response *UsersListPublicKeysForUs w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27526,7 +27526,7 @@ func encodeUsersListPublicSSHKeysForAuthenticatedResponse(response UsersListPubl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { elem.Encode(e) @@ -27549,7 +27549,7 @@ func encodeUsersListPublicSSHKeysForAuthenticatedResponse(response UsersListPubl w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27562,7 +27562,7 @@ func encodeUsersListPublicSSHKeysForAuthenticatedResponse(response UsersListPubl w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27575,7 +27575,7 @@ func encodeUsersListPublicSSHKeysForAuthenticatedResponse(response UsersListPubl w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27595,7 +27595,7 @@ func encodeUsersSetPrimaryEmailVisibilityForAuthenticatedResponse(response Users w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27614,7 +27614,7 @@ func encodeUsersSetPrimaryEmailVisibilityForAuthenticatedResponse(response Users w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27627,7 +27627,7 @@ func encodeUsersSetPrimaryEmailVisibilityForAuthenticatedResponse(response Users w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27640,7 +27640,7 @@ func encodeUsersSetPrimaryEmailVisibilityForAuthenticatedResponse(response Users w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27653,7 +27653,7 @@ func encodeUsersSetPrimaryEmailVisibilityForAuthenticatedResponse(response Users w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27685,7 +27685,7 @@ func encodeUsersUnblockResponse(response UsersUnblockRes, w http.ResponseWriter, w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27698,7 +27698,7 @@ func encodeUsersUnblockResponse(response UsersUnblockRes, w http.ResponseWriter, w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27711,7 +27711,7 @@ func encodeUsersUnblockResponse(response UsersUnblockRes, w http.ResponseWriter, w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27743,7 +27743,7 @@ func encodeUsersUnfollowResponse(response UsersUnfollowRes, w http.ResponseWrite w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27756,7 +27756,7 @@ func encodeUsersUnfollowResponse(response UsersUnfollowRes, w http.ResponseWrite w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27769,7 +27769,7 @@ func encodeUsersUnfollowResponse(response UsersUnfollowRes, w http.ResponseWrite w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27789,7 +27789,7 @@ func encodeUsersUpdateAuthenticatedResponse(response UsersUpdateAuthenticatedRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27808,7 +27808,7 @@ func encodeUsersUpdateAuthenticatedResponse(response UsersUpdateAuthenticatedRes w.WriteHeader(401) span.SetStatus(codes.Error, http.StatusText(401)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27821,7 +27821,7 @@ func encodeUsersUpdateAuthenticatedResponse(response UsersUpdateAuthenticatedRes w.WriteHeader(403) span.SetStatus(codes.Error, http.StatusText(403)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27834,7 +27834,7 @@ func encodeUsersUpdateAuthenticatedResponse(response UsersUpdateAuthenticatedRes w.WriteHeader(404) span.SetStatus(codes.Error, http.StatusText(404)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -27847,7 +27847,7 @@ func encodeUsersUpdateAuthenticatedResponse(response UsersUpdateAuthenticatedRes w.WriteHeader(422) span.SetStatus(codes.Error, http.StatusText(422)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_gotd/oas_request_encoders_gen.go b/examples/ex_gotd/oas_request_encoders_gen.go index 05fdc9342..c56252320 100644 --- a/examples/ex_gotd/oas_request_encoders_gen.go +++ b/examples/ex_gotd/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeAddStickerToSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -30,7 +30,7 @@ func encodeAnswerCallbackQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -44,7 +44,7 @@ func encodeAnswerInlineQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -58,7 +58,7 @@ func encodeAnswerPreCheckoutQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -72,7 +72,7 @@ func encodeAnswerShippingQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -86,7 +86,7 @@ func encodeAnswerWebAppQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -100,7 +100,7 @@ func encodeApproveChatJoinRequestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -114,7 +114,7 @@ func encodeBanChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -128,7 +128,7 @@ func encodeBanChatSenderChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -142,7 +142,7 @@ func encodeCopyMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -156,7 +156,7 @@ func encodeCreateChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -170,7 +170,7 @@ func encodeCreateNewStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -184,7 +184,7 @@ func encodeDeclineChatJoinRequestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -198,7 +198,7 @@ func encodeDeleteChatPhotoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -212,7 +212,7 @@ func encodeDeleteChatStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -226,7 +226,7 @@ func encodeDeleteMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -244,7 +244,7 @@ func encodeDeleteMyCommandsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -260,7 +260,7 @@ func encodeDeleteStickerFromSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -278,7 +278,7 @@ func encodeDeleteWebhookRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -294,7 +294,7 @@ func encodeEditChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -308,7 +308,7 @@ func encodeEditMessageCaptionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -322,7 +322,7 @@ func encodeEditMessageLiveLocationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -336,7 +336,7 @@ func encodeEditMessageMediaRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -350,7 +350,7 @@ func encodeEditMessageReplyMarkupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -364,7 +364,7 @@ func encodeEditMessageTextRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -378,7 +378,7 @@ func encodeExportChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -392,7 +392,7 @@ func encodeForwardMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -406,7 +406,7 @@ func encodeGetChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -420,7 +420,7 @@ func encodeGetChatAdministratorsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -434,7 +434,7 @@ func encodeGetChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -448,7 +448,7 @@ func encodeGetChatMemberCountRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -466,7 +466,7 @@ func encodeGetChatMenuButtonRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -482,7 +482,7 @@ func encodeGetFileRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -496,7 +496,7 @@ func encodeGetGameHighScoresRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -514,7 +514,7 @@ func encodeGetMyCommandsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -534,7 +534,7 @@ func encodeGetMyDefaultAdministratorRightsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -550,7 +550,7 @@ func encodeGetStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -568,7 +568,7 @@ func encodeGetUpdatesRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -584,7 +584,7 @@ func encodeGetUserProfilePhotosRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -598,7 +598,7 @@ func encodeLeaveChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -612,7 +612,7 @@ func encodePinChatMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -626,7 +626,7 @@ func encodePromoteChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -640,7 +640,7 @@ func encodeRestrictChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -654,7 +654,7 @@ func encodeRevokeChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -668,7 +668,7 @@ func encodeSendAnimationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -682,7 +682,7 @@ func encodeSendAudioRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -696,7 +696,7 @@ func encodeSendChatActionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -710,7 +710,7 @@ func encodeSendContactRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -724,7 +724,7 @@ func encodeSendDiceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -738,7 +738,7 @@ func encodeSendDocumentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -752,7 +752,7 @@ func encodeSendGameRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -766,7 +766,7 @@ func encodeSendInvoiceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -780,7 +780,7 @@ func encodeSendLocationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -794,7 +794,7 @@ func encodeSendMediaGroupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -808,7 +808,7 @@ func encodeSendMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -822,7 +822,7 @@ func encodeSendPhotoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -836,7 +836,7 @@ func encodeSendPollRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -850,7 +850,7 @@ func encodeSendStickerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -864,7 +864,7 @@ func encodeSendVenueRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -878,7 +878,7 @@ func encodeSendVideoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -892,7 +892,7 @@ func encodeSendVideoNoteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -906,7 +906,7 @@ func encodeSendVoiceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -920,7 +920,7 @@ func encodeSetChatAdministratorCustomTitleRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -934,7 +934,7 @@ func encodeSetChatDescriptionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -952,7 +952,7 @@ func encodeSetChatMenuButtonRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -968,7 +968,7 @@ func encodeSetChatPermissionsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -982,7 +982,7 @@ func encodeSetChatPhotoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -996,7 +996,7 @@ func encodeSetChatStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1010,7 +1010,7 @@ func encodeSetChatTitleRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1024,7 +1024,7 @@ func encodeSetGameScoreRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1038,7 +1038,7 @@ func encodeSetMyCommandsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1056,7 +1056,7 @@ func encodeSetMyDefaultAdministratorRightsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1072,7 +1072,7 @@ func encodeSetPassportDataErrorsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1086,7 +1086,7 @@ func encodeSetStickerPositionInSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1100,7 +1100,7 @@ func encodeSetStickerSetThumbRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1114,7 +1114,7 @@ func encodeSetWebhookRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1128,7 +1128,7 @@ func encodeStopMessageLiveLocationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1142,7 +1142,7 @@ func encodeStopPollRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1156,7 +1156,7 @@ func encodeUnbanChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1170,7 +1170,7 @@ func encodeUnbanChatSenderChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1184,7 +1184,7 @@ func encodeUnpinAllChatMessagesRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1198,7 +1198,7 @@ func encodeUnpinChatMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1212,7 +1212,7 @@ func encodeUploadStickerFileRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_gotd/oas_response_encoders_gen.go b/examples/ex_gotd/oas_response_encoders_gen.go index d08ec351c..cf27aac43 100644 --- a/examples/ex_gotd/oas_response_encoders_gen.go +++ b/examples/ex_gotd/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeAddStickerToSetResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -32,7 +32,7 @@ func encodeAnswerCallbackQueryResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -46,7 +46,7 @@ func encodeAnswerInlineQueryResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -60,7 +60,7 @@ func encodeAnswerPreCheckoutQueryResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -74,7 +74,7 @@ func encodeAnswerShippingQueryResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -88,7 +88,7 @@ func encodeAnswerWebAppQueryResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -102,7 +102,7 @@ func encodeApproveChatJoinRequestResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -116,7 +116,7 @@ func encodeBanChatMemberResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -130,7 +130,7 @@ func encodeBanChatSenderChatResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -144,7 +144,7 @@ func encodeCloseResponse(response *Result, w http.ResponseWriter, span trace.Spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -158,7 +158,7 @@ func encodeCopyMessageResponse(response *ResultMessageId, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -172,7 +172,7 @@ func encodeCreateChatInviteLinkResponse(response *ResultChatInviteLink, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -186,7 +186,7 @@ func encodeCreateNewStickerSetResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -200,7 +200,7 @@ func encodeDeclineChatJoinRequestResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -214,7 +214,7 @@ func encodeDeleteChatPhotoResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -228,7 +228,7 @@ func encodeDeleteChatStickerSetResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -242,7 +242,7 @@ func encodeDeleteMessageResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -256,7 +256,7 @@ func encodeDeleteMyCommandsResponse(response *Result, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -270,7 +270,7 @@ func encodeDeleteStickerFromSetResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -284,7 +284,7 @@ func encodeDeleteWebhookResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -298,7 +298,7 @@ func encodeEditChatInviteLinkResponse(response *ResultChatInviteLink, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -312,7 +312,7 @@ func encodeEditMessageCaptionResponse(response *ResultMessageOrBoolean, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -326,7 +326,7 @@ func encodeEditMessageLiveLocationResponse(response *ResultMessageOrBoolean, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -340,7 +340,7 @@ func encodeEditMessageMediaResponse(response *ResultMessageOrBoolean, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -354,7 +354,7 @@ func encodeEditMessageReplyMarkupResponse(response *ResultMessageOrBoolean, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -368,7 +368,7 @@ func encodeEditMessageTextResponse(response *ResultMessageOrBoolean, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -382,7 +382,7 @@ func encodeExportChatInviteLinkResponse(response *ResultString, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -396,7 +396,7 @@ func encodeForwardMessageResponse(response *ResultMessage, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -410,7 +410,7 @@ func encodeGetChatResponse(response *ResultChat, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -424,7 +424,7 @@ func encodeGetChatAdministratorsResponse(response *ResultArrayOfChatMember, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -438,7 +438,7 @@ func encodeGetChatMemberResponse(response *ResultChatMember, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -452,7 +452,7 @@ func encodeGetChatMemberCountResponse(response *ResultInt, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -466,7 +466,7 @@ func encodeGetChatMenuButtonResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -480,7 +480,7 @@ func encodeGetFileResponse(response *ResultFile, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -494,7 +494,7 @@ func encodeGetGameHighScoresResponse(response *ResultArrayOfGameHighScore, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -508,7 +508,7 @@ func encodeGetMeResponse(response *ResultUser, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -522,7 +522,7 @@ func encodeGetMyCommandsResponse(response *ResultArrayOfBotCommand, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -536,7 +536,7 @@ func encodeGetMyDefaultAdministratorRightsResponse(response *Result, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -550,7 +550,7 @@ func encodeGetStickerSetResponse(response *ResultStickerSet, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -564,7 +564,7 @@ func encodeGetUpdatesResponse(response *ResultArrayOfUpdate, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -578,7 +578,7 @@ func encodeGetUserProfilePhotosResponse(response *ResultUserProfilePhotos, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -592,7 +592,7 @@ func encodeGetWebhookInfoResponse(response *ResultWebhookInfo, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -606,7 +606,7 @@ func encodeLeaveChatResponse(response *Result, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -620,7 +620,7 @@ func encodeLogOutResponse(response *Result, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -634,7 +634,7 @@ func encodePinChatMessageResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -648,7 +648,7 @@ func encodePromoteChatMemberResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -662,7 +662,7 @@ func encodeRestrictChatMemberResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -676,7 +676,7 @@ func encodeRevokeChatInviteLinkResponse(response *ResultChatInviteLink, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -690,7 +690,7 @@ func encodeSendAnimationResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -704,7 +704,7 @@ func encodeSendAudioResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -718,7 +718,7 @@ func encodeSendChatActionResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -732,7 +732,7 @@ func encodeSendContactResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -746,7 +746,7 @@ func encodeSendDiceResponse(response *ResultMessage, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -760,7 +760,7 @@ func encodeSendDocumentResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -774,7 +774,7 @@ func encodeSendGameResponse(response *ResultMessage, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -788,7 +788,7 @@ func encodeSendInvoiceResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -802,7 +802,7 @@ func encodeSendLocationResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -816,7 +816,7 @@ func encodeSendMediaGroupResponse(response *ResultArrayOfMessage, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -830,7 +830,7 @@ func encodeSendMessageResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -844,7 +844,7 @@ func encodeSendPhotoResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -858,7 +858,7 @@ func encodeSendPollResponse(response *ResultMessage, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -872,7 +872,7 @@ func encodeSendStickerResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -886,7 +886,7 @@ func encodeSendVenueResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -900,7 +900,7 @@ func encodeSendVideoResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -914,7 +914,7 @@ func encodeSendVideoNoteResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -928,7 +928,7 @@ func encodeSendVoiceResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -942,7 +942,7 @@ func encodeSetChatAdministratorCustomTitleResponse(response *Result, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -956,7 +956,7 @@ func encodeSetChatDescriptionResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -970,7 +970,7 @@ func encodeSetChatMenuButtonResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -984,7 +984,7 @@ func encodeSetChatPermissionsResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -998,7 +998,7 @@ func encodeSetChatPhotoResponse(response *Result, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1012,7 +1012,7 @@ func encodeSetChatStickerSetResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1026,7 +1026,7 @@ func encodeSetChatTitleResponse(response *Result, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1040,7 +1040,7 @@ func encodeSetGameScoreResponse(response *Result, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1054,7 +1054,7 @@ func encodeSetMyCommandsResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1068,7 +1068,7 @@ func encodeSetMyDefaultAdministratorRightsResponse(response *Result, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1082,7 +1082,7 @@ func encodeSetPassportDataErrorsResponse(response *Result, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1096,7 +1096,7 @@ func encodeSetStickerPositionInSetResponse(response *Result, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1110,7 +1110,7 @@ func encodeSetStickerSetThumbResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1124,7 +1124,7 @@ func encodeSetWebhookResponse(response *Result, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1138,7 +1138,7 @@ func encodeStopMessageLiveLocationResponse(response *ResultMessageOrBoolean, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1152,7 +1152,7 @@ func encodeStopPollResponse(response *ResultPoll, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1166,7 +1166,7 @@ func encodeUnbanChatMemberResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1180,7 +1180,7 @@ func encodeUnbanChatSenderChatResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1194,7 +1194,7 @@ func encodeUnpinAllChatMessagesResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1208,7 +1208,7 @@ func encodeUnpinChatMessageResponse(response *Result, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1222,7 +1222,7 @@ func encodeUploadStickerFileResponse(response *ResultFile, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1246,7 +1246,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_k8s/oas_response_encoders_gen.go b/examples/ex_k8s/oas_response_encoders_gen.go index a1d64c1b1..1d92d0b41 100644 --- a/examples/ex_k8s/oas_response_encoders_gen.go +++ b/examples/ex_k8s/oas_response_encoders_gen.go @@ -1171,7 +1171,7 @@ func encodeGetAPIVersionsResponse(response GetAPIVersionsRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1197,7 +1197,7 @@ func encodeGetAdmissionregistrationAPIGroupResponse(response GetAdmissionregistr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1223,7 +1223,7 @@ func encodeGetAdmissionregistrationV1APIResourcesResponse(response GetAdmissionr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1249,7 +1249,7 @@ func encodeGetApiextensionsAPIGroupResponse(response GetApiextensionsAPIGroupRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1275,7 +1275,7 @@ func encodeGetApiextensionsV1APIResourcesResponse(response GetApiextensionsV1API w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1301,7 +1301,7 @@ func encodeGetApiregistrationAPIGroupResponse(response GetApiregistrationAPIGrou w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1327,7 +1327,7 @@ func encodeGetApiregistrationV1APIResourcesResponse(response GetApiregistrationV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1353,7 +1353,7 @@ func encodeGetAppsAPIGroupResponse(response GetAppsAPIGroupRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1379,7 +1379,7 @@ func encodeGetAppsV1APIResourcesResponse(response GetAppsV1APIResourcesRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1405,7 +1405,7 @@ func encodeGetAuthenticationAPIGroupResponse(response GetAuthenticationAPIGroupR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1431,7 +1431,7 @@ func encodeGetAuthenticationV1APIResourcesResponse(response GetAuthenticationV1A w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1457,7 +1457,7 @@ func encodeGetAuthorizationAPIGroupResponse(response GetAuthorizationAPIGroupRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1483,7 +1483,7 @@ func encodeGetAuthorizationV1APIResourcesResponse(response GetAuthorizationV1API w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1509,7 +1509,7 @@ func encodeGetAutoscalingAPIGroupResponse(response GetAutoscalingAPIGroupRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1535,7 +1535,7 @@ func encodeGetAutoscalingV1APIResourcesResponse(response GetAutoscalingV1APIReso w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1561,7 +1561,7 @@ func encodeGetAutoscalingV2beta1APIResourcesResponse(response GetAutoscalingV2be w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1587,7 +1587,7 @@ func encodeGetAutoscalingV2beta2APIResourcesResponse(response GetAutoscalingV2be w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1613,7 +1613,7 @@ func encodeGetBatchAPIGroupResponse(response GetBatchAPIGroupRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1639,7 +1639,7 @@ func encodeGetBatchV1APIResourcesResponse(response GetBatchV1APIResourcesRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1665,7 +1665,7 @@ func encodeGetBatchV1beta1APIResourcesResponse(response GetBatchV1beta1APIResour w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1691,7 +1691,7 @@ func encodeGetCertificatesAPIGroupResponse(response GetCertificatesAPIGroupRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1717,7 +1717,7 @@ func encodeGetCertificatesV1APIResourcesResponse(response GetCertificatesV1APIRe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1743,7 +1743,7 @@ func encodeGetCodeVersionResponse(response GetCodeVersionRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1769,7 +1769,7 @@ func encodeGetCoordinationAPIGroupResponse(response GetCoordinationAPIGroupRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1795,7 +1795,7 @@ func encodeGetCoordinationV1APIResourcesResponse(response GetCoordinationV1APIRe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1821,7 +1821,7 @@ func encodeGetCoreAPIVersionsResponse(response GetCoreAPIVersionsRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1847,7 +1847,7 @@ func encodeGetCoreV1APIResourcesResponse(response GetCoreV1APIResourcesRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1873,7 +1873,7 @@ func encodeGetDiscoveryAPIGroupResponse(response GetDiscoveryAPIGroupRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1899,7 +1899,7 @@ func encodeGetDiscoveryV1APIResourcesResponse(response GetDiscoveryV1APIResource w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1925,7 +1925,7 @@ func encodeGetDiscoveryV1beta1APIResourcesResponse(response GetDiscoveryV1beta1A w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1951,7 +1951,7 @@ func encodeGetEventsAPIGroupResponse(response GetEventsAPIGroupRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1977,7 +1977,7 @@ func encodeGetEventsV1APIResourcesResponse(response GetEventsV1APIResourcesRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2003,7 +2003,7 @@ func encodeGetEventsV1beta1APIResourcesResponse(response GetEventsV1beta1APIReso w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2029,7 +2029,7 @@ func encodeGetFlowcontrolApiserverAPIGroupResponse(response GetFlowcontrolApiser w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2055,7 +2055,7 @@ func encodeGetFlowcontrolApiserverV1beta1APIResourcesResponse(response GetFlowco w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2081,7 +2081,7 @@ func encodeGetFlowcontrolApiserverV1beta2APIResourcesResponse(response GetFlowco w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2107,7 +2107,7 @@ func encodeGetInternalApiserverAPIGroupResponse(response GetInternalApiserverAPI w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2133,7 +2133,7 @@ func encodeGetInternalApiserverV1alpha1APIResourcesResponse(response GetInternal w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2159,7 +2159,7 @@ func encodeGetNetworkingAPIGroupResponse(response GetNetworkingAPIGroupRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2185,7 +2185,7 @@ func encodeGetNetworkingV1APIResourcesResponse(response GetNetworkingV1APIResour w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2211,7 +2211,7 @@ func encodeGetNodeAPIGroupResponse(response GetNodeAPIGroupRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2237,7 +2237,7 @@ func encodeGetNodeV1APIResourcesResponse(response GetNodeV1APIResourcesRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2263,7 +2263,7 @@ func encodeGetNodeV1alpha1APIResourcesResponse(response GetNodeV1alpha1APIResour w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2289,7 +2289,7 @@ func encodeGetNodeV1beta1APIResourcesResponse(response GetNodeV1beta1APIResource w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2315,7 +2315,7 @@ func encodeGetPolicyAPIGroupResponse(response GetPolicyAPIGroupRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2341,7 +2341,7 @@ func encodeGetPolicyV1APIResourcesResponse(response GetPolicyV1APIResourcesRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2367,7 +2367,7 @@ func encodeGetPolicyV1beta1APIResourcesResponse(response GetPolicyV1beta1APIReso w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2393,7 +2393,7 @@ func encodeGetRbacAuthorizationAPIGroupResponse(response GetRbacAuthorizationAPI w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2419,7 +2419,7 @@ func encodeGetRbacAuthorizationV1APIResourcesResponse(response GetRbacAuthorizat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2445,7 +2445,7 @@ func encodeGetSchedulingAPIGroupResponse(response GetSchedulingAPIGroupRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2471,7 +2471,7 @@ func encodeGetSchedulingV1APIResourcesResponse(response GetSchedulingV1APIResour w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2497,7 +2497,7 @@ func encodeGetServiceAccountIssuerOpenIDConfigurationResponse(response GetServic w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2548,7 +2548,7 @@ func encodeGetStorageAPIGroupResponse(response GetStorageAPIGroupRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2574,7 +2574,7 @@ func encodeGetStorageV1APIResourcesResponse(response GetStorageV1APIResourcesRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2600,7 +2600,7 @@ func encodeGetStorageV1alpha1APIResourcesResponse(response GetStorageV1alpha1API w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2626,7 +2626,7 @@ func encodeGetStorageV1beta1APIResourcesResponse(response GetStorageV1beta1APIRe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2652,7 +2652,7 @@ func encodeListAdmissionregistrationV1MutatingWebhookConfigurationResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2678,7 +2678,7 @@ func encodeListAdmissionregistrationV1ValidatingWebhookConfigurationResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2704,7 +2704,7 @@ func encodeListApiextensionsV1CustomResourceDefinitionResponse(response ListApie w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2730,7 +2730,7 @@ func encodeListApiregistrationV1APIServiceResponse(response ListApiregistrationV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2756,7 +2756,7 @@ func encodeListAppsV1ControllerRevisionForAllNamespacesResponse(response ListApp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2782,7 +2782,7 @@ func encodeListAppsV1DaemonSetForAllNamespacesResponse(response ListAppsV1Daemon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2808,7 +2808,7 @@ func encodeListAppsV1DeploymentForAllNamespacesResponse(response ListAppsV1Deplo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2834,7 +2834,7 @@ func encodeListAppsV1NamespacedControllerRevisionResponse(response ListAppsV1Nam w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2860,7 +2860,7 @@ func encodeListAppsV1NamespacedDaemonSetResponse(response ListAppsV1NamespacedDa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2886,7 +2886,7 @@ func encodeListAppsV1NamespacedDeploymentResponse(response ListAppsV1NamespacedD w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2912,7 +2912,7 @@ func encodeListAppsV1NamespacedReplicaSetResponse(response ListAppsV1NamespacedR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2938,7 +2938,7 @@ func encodeListAppsV1NamespacedStatefulSetResponse(response ListAppsV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2964,7 +2964,7 @@ func encodeListAppsV1ReplicaSetForAllNamespacesResponse(response ListAppsV1Repli w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2990,7 +2990,7 @@ func encodeListAppsV1StatefulSetForAllNamespacesResponse(response ListAppsV1Stat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3016,7 +3016,7 @@ func encodeListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesResponse(resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3042,7 +3042,7 @@ func encodeListAutoscalingV1NamespacedHorizontalPodAutoscalerResponse(response L w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3068,7 +3068,7 @@ func encodeListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespacesResponse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3094,7 +3094,7 @@ func encodeListAutoscalingV2beta1NamespacedHorizontalPodAutoscalerResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3120,7 +3120,7 @@ func encodeListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesResponse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3146,7 +3146,7 @@ func encodeListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3172,7 +3172,7 @@ func encodeListBatchV1CronJobForAllNamespacesResponse(response ListBatchV1CronJo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3198,7 +3198,7 @@ func encodeListBatchV1JobForAllNamespacesResponse(response ListBatchV1JobForAllN w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3224,7 +3224,7 @@ func encodeListBatchV1NamespacedCronJobResponse(response ListBatchV1NamespacedCr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3250,7 +3250,7 @@ func encodeListBatchV1NamespacedJobResponse(response ListBatchV1NamespacedJobRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3276,7 +3276,7 @@ func encodeListBatchV1beta1CronJobForAllNamespacesResponse(response ListBatchV1b w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3302,7 +3302,7 @@ func encodeListBatchV1beta1NamespacedCronJobResponse(response ListBatchV1beta1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3328,7 +3328,7 @@ func encodeListCertificatesV1CertificateSigningRequestResponse(response ListCert w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3354,7 +3354,7 @@ func encodeListCoordinationV1LeaseForAllNamespacesResponse(response ListCoordina w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3380,7 +3380,7 @@ func encodeListCoordinationV1NamespacedLeaseResponse(response ListCoordinationV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3406,7 +3406,7 @@ func encodeListCoreV1ComponentStatusResponse(response ListCoreV1ComponentStatusR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3432,7 +3432,7 @@ func encodeListCoreV1ConfigMapForAllNamespacesResponse(response ListCoreV1Config w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3458,7 +3458,7 @@ func encodeListCoreV1EndpointsForAllNamespacesResponse(response ListCoreV1Endpoi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3484,7 +3484,7 @@ func encodeListCoreV1EventForAllNamespacesResponse(response ListCoreV1EventForAl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3510,7 +3510,7 @@ func encodeListCoreV1LimitRangeForAllNamespacesResponse(response ListCoreV1Limit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3536,7 +3536,7 @@ func encodeListCoreV1NamespaceResponse(response ListCoreV1NamespaceRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3562,7 +3562,7 @@ func encodeListCoreV1NamespacedConfigMapResponse(response ListCoreV1NamespacedCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3588,7 +3588,7 @@ func encodeListCoreV1NamespacedEndpointsResponse(response ListCoreV1NamespacedEn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3614,7 +3614,7 @@ func encodeListCoreV1NamespacedEventResponse(response ListCoreV1NamespacedEventR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3640,7 +3640,7 @@ func encodeListCoreV1NamespacedLimitRangeResponse(response ListCoreV1NamespacedL w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3666,7 +3666,7 @@ func encodeListCoreV1NamespacedPersistentVolumeClaimResponse(response ListCoreV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3692,7 +3692,7 @@ func encodeListCoreV1NamespacedPodResponse(response ListCoreV1NamespacedPodRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3718,7 +3718,7 @@ func encodeListCoreV1NamespacedPodTemplateResponse(response ListCoreV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3744,7 +3744,7 @@ func encodeListCoreV1NamespacedReplicationControllerResponse(response ListCoreV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3770,7 +3770,7 @@ func encodeListCoreV1NamespacedResourceQuotaResponse(response ListCoreV1Namespac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3796,7 +3796,7 @@ func encodeListCoreV1NamespacedSecretResponse(response ListCoreV1NamespacedSecre w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3822,7 +3822,7 @@ func encodeListCoreV1NamespacedServiceResponse(response ListCoreV1NamespacedServ w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3848,7 +3848,7 @@ func encodeListCoreV1NamespacedServiceAccountResponse(response ListCoreV1Namespa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3874,7 +3874,7 @@ func encodeListCoreV1NodeResponse(response ListCoreV1NodeRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3900,7 +3900,7 @@ func encodeListCoreV1PersistentVolumeResponse(response ListCoreV1PersistentVolum w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3926,7 +3926,7 @@ func encodeListCoreV1PersistentVolumeClaimForAllNamespacesResponse(response List w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3952,7 +3952,7 @@ func encodeListCoreV1PodForAllNamespacesResponse(response ListCoreV1PodForAllNam w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3978,7 +3978,7 @@ func encodeListCoreV1PodTemplateForAllNamespacesResponse(response ListCoreV1PodT w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4004,7 +4004,7 @@ func encodeListCoreV1ReplicationControllerForAllNamespacesResponse(response List w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4030,7 +4030,7 @@ func encodeListCoreV1ResourceQuotaForAllNamespacesResponse(response ListCoreV1Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4056,7 +4056,7 @@ func encodeListCoreV1SecretForAllNamespacesResponse(response ListCoreV1SecretFor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4082,7 +4082,7 @@ func encodeListCoreV1ServiceAccountForAllNamespacesResponse(response ListCoreV1S w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4108,7 +4108,7 @@ func encodeListCoreV1ServiceForAllNamespacesResponse(response ListCoreV1ServiceF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4134,7 +4134,7 @@ func encodeListDiscoveryV1EndpointSliceForAllNamespacesResponse(response ListDis w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4160,7 +4160,7 @@ func encodeListDiscoveryV1NamespacedEndpointSliceResponse(response ListDiscovery w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4186,7 +4186,7 @@ func encodeListDiscoveryV1beta1EndpointSliceForAllNamespacesResponse(response Li w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4212,7 +4212,7 @@ func encodeListDiscoveryV1beta1NamespacedEndpointSliceResponse(response ListDisc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4238,7 +4238,7 @@ func encodeListEventsV1EventForAllNamespacesResponse(response ListEventsV1EventF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4264,7 +4264,7 @@ func encodeListEventsV1NamespacedEventResponse(response ListEventsV1NamespacedEv w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4290,7 +4290,7 @@ func encodeListEventsV1beta1EventForAllNamespacesResponse(response ListEventsV1b w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4316,7 +4316,7 @@ func encodeListEventsV1beta1NamespacedEventResponse(response ListEventsV1beta1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4342,7 +4342,7 @@ func encodeListFlowcontrolApiserverV1beta1FlowSchemaResponse(response ListFlowco w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4368,7 +4368,7 @@ func encodeListFlowcontrolApiserverV1beta1PriorityLevelConfigurationResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4394,7 +4394,7 @@ func encodeListFlowcontrolApiserverV1beta2FlowSchemaResponse(response ListFlowco w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4420,7 +4420,7 @@ func encodeListFlowcontrolApiserverV1beta2PriorityLevelConfigurationResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4446,7 +4446,7 @@ func encodeListInternalApiserverV1alpha1StorageVersionResponse(response ListInte w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4472,7 +4472,7 @@ func encodeListNetworkingV1IngressClassResponse(response ListNetworkingV1Ingress w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4498,7 +4498,7 @@ func encodeListNetworkingV1IngressForAllNamespacesResponse(response ListNetworki w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4524,7 +4524,7 @@ func encodeListNetworkingV1NamespacedIngressResponse(response ListNetworkingV1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4550,7 +4550,7 @@ func encodeListNetworkingV1NamespacedNetworkPolicyResponse(response ListNetworki w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4576,7 +4576,7 @@ func encodeListNetworkingV1NetworkPolicyForAllNamespacesResponse(response ListNe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4602,7 +4602,7 @@ func encodeListNodeV1RuntimeClassResponse(response ListNodeV1RuntimeClassRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4628,7 +4628,7 @@ func encodeListNodeV1alpha1RuntimeClassResponse(response ListNodeV1alpha1Runtime w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4654,7 +4654,7 @@ func encodeListNodeV1beta1RuntimeClassResponse(response ListNodeV1beta1RuntimeCl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4680,7 +4680,7 @@ func encodeListPolicyV1NamespacedPodDisruptionBudgetResponse(response ListPolicy w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4706,7 +4706,7 @@ func encodeListPolicyV1PodDisruptionBudgetForAllNamespacesResponse(response List w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4732,7 +4732,7 @@ func encodeListPolicyV1beta1NamespacedPodDisruptionBudgetResponse(response ListP w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4758,7 +4758,7 @@ func encodeListPolicyV1beta1PodDisruptionBudgetForAllNamespacesResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4784,7 +4784,7 @@ func encodeListPolicyV1beta1PodSecurityPolicyResponse(response ListPolicyV1beta1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4810,7 +4810,7 @@ func encodeListRbacAuthorizationV1ClusterRoleResponse(response ListRbacAuthoriza w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4836,7 +4836,7 @@ func encodeListRbacAuthorizationV1ClusterRoleBindingResponse(response ListRbacAu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4862,7 +4862,7 @@ func encodeListRbacAuthorizationV1NamespacedRoleResponse(response ListRbacAuthor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4888,7 +4888,7 @@ func encodeListRbacAuthorizationV1NamespacedRoleBindingResponse(response ListRba w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4914,7 +4914,7 @@ func encodeListRbacAuthorizationV1RoleBindingForAllNamespacesResponse(response L w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4940,7 +4940,7 @@ func encodeListRbacAuthorizationV1RoleForAllNamespacesResponse(response ListRbac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4966,7 +4966,7 @@ func encodeListSchedulingV1PriorityClassResponse(response ListSchedulingV1Priori w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4992,7 +4992,7 @@ func encodeListStorageV1CSIDriverResponse(response ListStorageV1CSIDriverRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5018,7 +5018,7 @@ func encodeListStorageV1CSINodeResponse(response ListStorageV1CSINodeRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5044,7 +5044,7 @@ func encodeListStorageV1StorageClassResponse(response ListStorageV1StorageClassR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5070,7 +5070,7 @@ func encodeListStorageV1VolumeAttachmentResponse(response ListStorageV1VolumeAtt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5096,7 +5096,7 @@ func encodeListStorageV1alpha1CSIStorageCapacityForAllNamespacesResponse(respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5122,7 +5122,7 @@ func encodeListStorageV1alpha1NamespacedCSIStorageCapacityResponse(response List w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5148,7 +5148,7 @@ func encodeListStorageV1beta1CSIStorageCapacityForAllNamespacesResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5174,7 +5174,7 @@ func encodeListStorageV1beta1NamespacedCSIStorageCapacityResponse(response ListS w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5214,7 +5214,7 @@ func encodeReadAdmissionregistrationV1MutatingWebhookConfigurationResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5240,7 +5240,7 @@ func encodeReadAdmissionregistrationV1ValidatingWebhookConfigurationResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5266,7 +5266,7 @@ func encodeReadApiextensionsV1CustomResourceDefinitionResponse(response ReadApie w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5292,7 +5292,7 @@ func encodeReadApiextensionsV1CustomResourceDefinitionStatusResponse(response Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5318,7 +5318,7 @@ func encodeReadApiregistrationV1APIServiceResponse(response ReadApiregistrationV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5344,7 +5344,7 @@ func encodeReadApiregistrationV1APIServiceStatusResponse(response ReadApiregistr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5370,7 +5370,7 @@ func encodeReadAppsV1NamespacedControllerRevisionResponse(response ReadAppsV1Nam w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5396,7 +5396,7 @@ func encodeReadAppsV1NamespacedDaemonSetResponse(response ReadAppsV1NamespacedDa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5422,7 +5422,7 @@ func encodeReadAppsV1NamespacedDaemonSetStatusResponse(response ReadAppsV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5448,7 +5448,7 @@ func encodeReadAppsV1NamespacedDeploymentResponse(response ReadAppsV1NamespacedD w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5474,7 +5474,7 @@ func encodeReadAppsV1NamespacedDeploymentScaleResponse(response ReadAppsV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5500,7 +5500,7 @@ func encodeReadAppsV1NamespacedDeploymentStatusResponse(response ReadAppsV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5526,7 +5526,7 @@ func encodeReadAppsV1NamespacedReplicaSetResponse(response ReadAppsV1NamespacedR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5552,7 +5552,7 @@ func encodeReadAppsV1NamespacedReplicaSetScaleResponse(response ReadAppsV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5578,7 +5578,7 @@ func encodeReadAppsV1NamespacedReplicaSetStatusResponse(response ReadAppsV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5604,7 +5604,7 @@ func encodeReadAppsV1NamespacedStatefulSetResponse(response ReadAppsV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5630,7 +5630,7 @@ func encodeReadAppsV1NamespacedStatefulSetScaleResponse(response ReadAppsV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5656,7 +5656,7 @@ func encodeReadAppsV1NamespacedStatefulSetStatusResponse(response ReadAppsV1Name w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5682,7 +5682,7 @@ func encodeReadAutoscalingV1NamespacedHorizontalPodAutoscalerResponse(response R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5708,7 +5708,7 @@ func encodeReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusResponse(resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5734,7 +5734,7 @@ func encodeReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5760,7 +5760,7 @@ func encodeReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusResponse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5786,7 +5786,7 @@ func encodeReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5812,7 +5812,7 @@ func encodeReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusResponse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5838,7 +5838,7 @@ func encodeReadBatchV1NamespacedCronJobResponse(response ReadBatchV1NamespacedCr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5864,7 +5864,7 @@ func encodeReadBatchV1NamespacedCronJobStatusResponse(response ReadBatchV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5890,7 +5890,7 @@ func encodeReadBatchV1NamespacedJobResponse(response ReadBatchV1NamespacedJobRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5916,7 +5916,7 @@ func encodeReadBatchV1NamespacedJobStatusResponse(response ReadBatchV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5942,7 +5942,7 @@ func encodeReadBatchV1beta1NamespacedCronJobResponse(response ReadBatchV1beta1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5968,7 +5968,7 @@ func encodeReadBatchV1beta1NamespacedCronJobStatusResponse(response ReadBatchV1b w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5994,7 +5994,7 @@ func encodeReadCertificatesV1CertificateSigningRequestResponse(response ReadCert w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6020,7 +6020,7 @@ func encodeReadCertificatesV1CertificateSigningRequestApprovalResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6046,7 +6046,7 @@ func encodeReadCertificatesV1CertificateSigningRequestStatusResponse(response Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6072,7 +6072,7 @@ func encodeReadCoordinationV1NamespacedLeaseResponse(response ReadCoordinationV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6098,7 +6098,7 @@ func encodeReadCoreV1ComponentStatusResponse(response ReadCoreV1ComponentStatusR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6124,7 +6124,7 @@ func encodeReadCoreV1NamespaceResponse(response ReadCoreV1NamespaceRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6150,7 +6150,7 @@ func encodeReadCoreV1NamespaceStatusResponse(response ReadCoreV1NamespaceStatusR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6176,7 +6176,7 @@ func encodeReadCoreV1NamespacedConfigMapResponse(response ReadCoreV1NamespacedCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6202,7 +6202,7 @@ func encodeReadCoreV1NamespacedEndpointsResponse(response ReadCoreV1NamespacedEn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6228,7 +6228,7 @@ func encodeReadCoreV1NamespacedEventResponse(response ReadCoreV1NamespacedEventR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6254,7 +6254,7 @@ func encodeReadCoreV1NamespacedLimitRangeResponse(response ReadCoreV1NamespacedL w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6280,7 +6280,7 @@ func encodeReadCoreV1NamespacedPersistentVolumeClaimResponse(response ReadCoreV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6306,7 +6306,7 @@ func encodeReadCoreV1NamespacedPersistentVolumeClaimStatusResponse(response Read w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6332,7 +6332,7 @@ func encodeReadCoreV1NamespacedPodResponse(response ReadCoreV1NamespacedPodRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6358,7 +6358,7 @@ func encodeReadCoreV1NamespacedPodEphemeralcontainersResponse(response ReadCoreV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6384,7 +6384,7 @@ func encodeReadCoreV1NamespacedPodLogResponse(response ReadCoreV1NamespacedPodLo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6446,7 +6446,7 @@ func encodeReadCoreV1NamespacedPodStatusResponse(response ReadCoreV1NamespacedPo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6472,7 +6472,7 @@ func encodeReadCoreV1NamespacedPodTemplateResponse(response ReadCoreV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6498,7 +6498,7 @@ func encodeReadCoreV1NamespacedReplicationControllerResponse(response ReadCoreV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6524,7 +6524,7 @@ func encodeReadCoreV1NamespacedReplicationControllerScaleResponse(response ReadC w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6550,7 +6550,7 @@ func encodeReadCoreV1NamespacedReplicationControllerStatusResponse(response Read w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6576,7 +6576,7 @@ func encodeReadCoreV1NamespacedResourceQuotaResponse(response ReadCoreV1Namespac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6602,7 +6602,7 @@ func encodeReadCoreV1NamespacedResourceQuotaStatusResponse(response ReadCoreV1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6628,7 +6628,7 @@ func encodeReadCoreV1NamespacedSecretResponse(response ReadCoreV1NamespacedSecre w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6654,7 +6654,7 @@ func encodeReadCoreV1NamespacedServiceResponse(response ReadCoreV1NamespacedServ w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6680,7 +6680,7 @@ func encodeReadCoreV1NamespacedServiceAccountResponse(response ReadCoreV1Namespa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6706,7 +6706,7 @@ func encodeReadCoreV1NamespacedServiceStatusResponse(response ReadCoreV1Namespac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6732,7 +6732,7 @@ func encodeReadCoreV1NodeResponse(response ReadCoreV1NodeRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6758,7 +6758,7 @@ func encodeReadCoreV1NodeStatusResponse(response ReadCoreV1NodeStatusRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6784,7 +6784,7 @@ func encodeReadCoreV1PersistentVolumeResponse(response ReadCoreV1PersistentVolum w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6810,7 +6810,7 @@ func encodeReadCoreV1PersistentVolumeStatusResponse(response ReadCoreV1Persisten w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6836,7 +6836,7 @@ func encodeReadDiscoveryV1NamespacedEndpointSliceResponse(response ReadDiscovery w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6862,7 +6862,7 @@ func encodeReadDiscoveryV1beta1NamespacedEndpointSliceResponse(response ReadDisc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6888,7 +6888,7 @@ func encodeReadEventsV1NamespacedEventResponse(response ReadEventsV1NamespacedEv w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6914,7 +6914,7 @@ func encodeReadEventsV1beta1NamespacedEventResponse(response ReadEventsV1beta1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6940,7 +6940,7 @@ func encodeReadFlowcontrolApiserverV1beta1FlowSchemaResponse(response ReadFlowco w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6966,7 +6966,7 @@ func encodeReadFlowcontrolApiserverV1beta1FlowSchemaStatusResponse(response Read w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6992,7 +6992,7 @@ func encodeReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7018,7 +7018,7 @@ func encodeReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRespon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7044,7 +7044,7 @@ func encodeReadFlowcontrolApiserverV1beta2FlowSchemaResponse(response ReadFlowco w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7070,7 +7070,7 @@ func encodeReadFlowcontrolApiserverV1beta2FlowSchemaStatusResponse(response Read w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7096,7 +7096,7 @@ func encodeReadFlowcontrolApiserverV1beta2PriorityLevelConfigurationResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7122,7 +7122,7 @@ func encodeReadFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatusRespon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7148,7 +7148,7 @@ func encodeReadInternalApiserverV1alpha1StorageVersionResponse(response ReadInte w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7174,7 +7174,7 @@ func encodeReadInternalApiserverV1alpha1StorageVersionStatusResponse(response Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7200,7 +7200,7 @@ func encodeReadNetworkingV1IngressClassResponse(response ReadNetworkingV1Ingress w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7226,7 +7226,7 @@ func encodeReadNetworkingV1NamespacedIngressResponse(response ReadNetworkingV1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7252,7 +7252,7 @@ func encodeReadNetworkingV1NamespacedIngressStatusResponse(response ReadNetworki w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7278,7 +7278,7 @@ func encodeReadNetworkingV1NamespacedNetworkPolicyResponse(response ReadNetworki w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7304,7 +7304,7 @@ func encodeReadNodeV1RuntimeClassResponse(response ReadNodeV1RuntimeClassRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7330,7 +7330,7 @@ func encodeReadNodeV1alpha1RuntimeClassResponse(response ReadNodeV1alpha1Runtime w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7356,7 +7356,7 @@ func encodeReadNodeV1beta1RuntimeClassResponse(response ReadNodeV1beta1RuntimeCl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7382,7 +7382,7 @@ func encodeReadPolicyV1NamespacedPodDisruptionBudgetResponse(response ReadPolicy w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7408,7 +7408,7 @@ func encodeReadPolicyV1NamespacedPodDisruptionBudgetStatusResponse(response Read w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7434,7 +7434,7 @@ func encodeReadPolicyV1beta1NamespacedPodDisruptionBudgetResponse(response ReadP w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7460,7 +7460,7 @@ func encodeReadPolicyV1beta1NamespacedPodDisruptionBudgetStatusResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7486,7 +7486,7 @@ func encodeReadPolicyV1beta1PodSecurityPolicyResponse(response ReadPolicyV1beta1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7512,7 +7512,7 @@ func encodeReadRbacAuthorizationV1ClusterRoleResponse(response ReadRbacAuthoriza w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7538,7 +7538,7 @@ func encodeReadRbacAuthorizationV1ClusterRoleBindingResponse(response ReadRbacAu w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7564,7 +7564,7 @@ func encodeReadRbacAuthorizationV1NamespacedRoleResponse(response ReadRbacAuthor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7590,7 +7590,7 @@ func encodeReadRbacAuthorizationV1NamespacedRoleBindingResponse(response ReadRba w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7616,7 +7616,7 @@ func encodeReadSchedulingV1PriorityClassResponse(response ReadSchedulingV1Priori w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7642,7 +7642,7 @@ func encodeReadStorageV1CSIDriverResponse(response ReadStorageV1CSIDriverRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7668,7 +7668,7 @@ func encodeReadStorageV1CSINodeResponse(response ReadStorageV1CSINodeRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7694,7 +7694,7 @@ func encodeReadStorageV1StorageClassResponse(response ReadStorageV1StorageClassR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7720,7 +7720,7 @@ func encodeReadStorageV1VolumeAttachmentResponse(response ReadStorageV1VolumeAtt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7746,7 +7746,7 @@ func encodeReadStorageV1VolumeAttachmentStatusResponse(response ReadStorageV1Vol w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7772,7 +7772,7 @@ func encodeReadStorageV1alpha1NamespacedCSIStorageCapacityResponse(response Read w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7798,7 +7798,7 @@ func encodeReadStorageV1beta1NamespacedCSIStorageCapacityResponse(response ReadS w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7824,7 +7824,7 @@ func encodeWatchAdmissionregistrationV1MutatingWebhookConfigurationResponse(resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7850,7 +7850,7 @@ func encodeWatchAdmissionregistrationV1MutatingWebhookConfigurationListResponse( w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7876,7 +7876,7 @@ func encodeWatchAdmissionregistrationV1ValidatingWebhookConfigurationResponse(re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7902,7 +7902,7 @@ func encodeWatchAdmissionregistrationV1ValidatingWebhookConfigurationListRespons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7928,7 +7928,7 @@ func encodeWatchApiextensionsV1CustomResourceDefinitionResponse(response WatchAp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7954,7 +7954,7 @@ func encodeWatchApiextensionsV1CustomResourceDefinitionListResponse(response Wat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7980,7 +7980,7 @@ func encodeWatchApiregistrationV1APIServiceResponse(response WatchApiregistratio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8006,7 +8006,7 @@ func encodeWatchApiregistrationV1APIServiceListResponse(response WatchApiregistr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8032,7 +8032,7 @@ func encodeWatchAppsV1ControllerRevisionListForAllNamespacesResponse(response Wa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8058,7 +8058,7 @@ func encodeWatchAppsV1DaemonSetListForAllNamespacesResponse(response WatchAppsV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8084,7 +8084,7 @@ func encodeWatchAppsV1DeploymentListForAllNamespacesResponse(response WatchAppsV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8110,7 +8110,7 @@ func encodeWatchAppsV1NamespacedControllerRevisionResponse(response WatchAppsV1N w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8136,7 +8136,7 @@ func encodeWatchAppsV1NamespacedControllerRevisionListResponse(response WatchApp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8162,7 +8162,7 @@ func encodeWatchAppsV1NamespacedDaemonSetResponse(response WatchAppsV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8188,7 +8188,7 @@ func encodeWatchAppsV1NamespacedDaemonSetListResponse(response WatchAppsV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8214,7 +8214,7 @@ func encodeWatchAppsV1NamespacedDeploymentResponse(response WatchAppsV1Namespace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8240,7 +8240,7 @@ func encodeWatchAppsV1NamespacedDeploymentListResponse(response WatchAppsV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8266,7 +8266,7 @@ func encodeWatchAppsV1NamespacedReplicaSetResponse(response WatchAppsV1Namespace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8292,7 +8292,7 @@ func encodeWatchAppsV1NamespacedReplicaSetListResponse(response WatchAppsV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8318,7 +8318,7 @@ func encodeWatchAppsV1NamespacedStatefulSetResponse(response WatchAppsV1Namespac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8344,7 +8344,7 @@ func encodeWatchAppsV1NamespacedStatefulSetListResponse(response WatchAppsV1Name w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8370,7 +8370,7 @@ func encodeWatchAppsV1ReplicaSetListForAllNamespacesResponse(response WatchAppsV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8396,7 +8396,7 @@ func encodeWatchAppsV1StatefulSetListForAllNamespacesResponse(response WatchApps w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8422,7 +8422,7 @@ func encodeWatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesResponse w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8448,7 +8448,7 @@ func encodeWatchAutoscalingV1NamespacedHorizontalPodAutoscalerResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8474,7 +8474,7 @@ func encodeWatchAutoscalingV1NamespacedHorizontalPodAutoscalerListResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8500,7 +8500,7 @@ func encodeWatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespacesRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8526,7 +8526,7 @@ func encodeWatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerResponse(resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8552,7 +8552,7 @@ func encodeWatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerListResponse( w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8578,7 +8578,7 @@ func encodeWatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8604,7 +8604,7 @@ func encodeWatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerResponse(resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8630,7 +8630,7 @@ func encodeWatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListResponse( w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8656,7 +8656,7 @@ func encodeWatchBatchV1CronJobListForAllNamespacesResponse(response WatchBatchV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8682,7 +8682,7 @@ func encodeWatchBatchV1JobListForAllNamespacesResponse(response WatchBatchV1JobL w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8708,7 +8708,7 @@ func encodeWatchBatchV1NamespacedCronJobResponse(response WatchBatchV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8734,7 +8734,7 @@ func encodeWatchBatchV1NamespacedCronJobListResponse(response WatchBatchV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8760,7 +8760,7 @@ func encodeWatchBatchV1NamespacedJobResponse(response WatchBatchV1NamespacedJobR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8786,7 +8786,7 @@ func encodeWatchBatchV1NamespacedJobListResponse(response WatchBatchV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8812,7 +8812,7 @@ func encodeWatchBatchV1beta1CronJobListForAllNamespacesResponse(response WatchBa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8838,7 +8838,7 @@ func encodeWatchBatchV1beta1NamespacedCronJobResponse(response WatchBatchV1beta1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8864,7 +8864,7 @@ func encodeWatchBatchV1beta1NamespacedCronJobListResponse(response WatchBatchV1b w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8890,7 +8890,7 @@ func encodeWatchCertificatesV1CertificateSigningRequestResponse(response WatchCe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8916,7 +8916,7 @@ func encodeWatchCertificatesV1CertificateSigningRequestListResponse(response Wat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8942,7 +8942,7 @@ func encodeWatchCoordinationV1LeaseListForAllNamespacesResponse(response WatchCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8968,7 +8968,7 @@ func encodeWatchCoordinationV1NamespacedLeaseResponse(response WatchCoordination w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8994,7 +8994,7 @@ func encodeWatchCoordinationV1NamespacedLeaseListResponse(response WatchCoordina w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9020,7 +9020,7 @@ func encodeWatchCoreV1ConfigMapListForAllNamespacesResponse(response WatchCoreV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9046,7 +9046,7 @@ func encodeWatchCoreV1EndpointsListForAllNamespacesResponse(response WatchCoreV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9072,7 +9072,7 @@ func encodeWatchCoreV1EventListForAllNamespacesResponse(response WatchCoreV1Even w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9098,7 +9098,7 @@ func encodeWatchCoreV1LimitRangeListForAllNamespacesResponse(response WatchCoreV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9124,7 +9124,7 @@ func encodeWatchCoreV1NamespaceResponse(response WatchCoreV1NamespaceRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9150,7 +9150,7 @@ func encodeWatchCoreV1NamespaceListResponse(response WatchCoreV1NamespaceListRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9176,7 +9176,7 @@ func encodeWatchCoreV1NamespacedConfigMapResponse(response WatchCoreV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9202,7 +9202,7 @@ func encodeWatchCoreV1NamespacedConfigMapListResponse(response WatchCoreV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9228,7 +9228,7 @@ func encodeWatchCoreV1NamespacedEndpointsResponse(response WatchCoreV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9254,7 +9254,7 @@ func encodeWatchCoreV1NamespacedEndpointsListResponse(response WatchCoreV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9280,7 +9280,7 @@ func encodeWatchCoreV1NamespacedEventResponse(response WatchCoreV1NamespacedEven w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9306,7 +9306,7 @@ func encodeWatchCoreV1NamespacedEventListResponse(response WatchCoreV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9332,7 +9332,7 @@ func encodeWatchCoreV1NamespacedLimitRangeResponse(response WatchCoreV1Namespace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9358,7 +9358,7 @@ func encodeWatchCoreV1NamespacedLimitRangeListResponse(response WatchCoreV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9384,7 +9384,7 @@ func encodeWatchCoreV1NamespacedPersistentVolumeClaimResponse(response WatchCore w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9410,7 +9410,7 @@ func encodeWatchCoreV1NamespacedPersistentVolumeClaimListResponse(response Watch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9436,7 +9436,7 @@ func encodeWatchCoreV1NamespacedPodResponse(response WatchCoreV1NamespacedPodRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9462,7 +9462,7 @@ func encodeWatchCoreV1NamespacedPodListResponse(response WatchCoreV1NamespacedPo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9488,7 +9488,7 @@ func encodeWatchCoreV1NamespacedPodTemplateResponse(response WatchCoreV1Namespac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9514,7 +9514,7 @@ func encodeWatchCoreV1NamespacedPodTemplateListResponse(response WatchCoreV1Name w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9540,7 +9540,7 @@ func encodeWatchCoreV1NamespacedReplicationControllerResponse(response WatchCore w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9566,7 +9566,7 @@ func encodeWatchCoreV1NamespacedReplicationControllerListResponse(response Watch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9592,7 +9592,7 @@ func encodeWatchCoreV1NamespacedResourceQuotaResponse(response WatchCoreV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9618,7 +9618,7 @@ func encodeWatchCoreV1NamespacedResourceQuotaListResponse(response WatchCoreV1Na w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9644,7 +9644,7 @@ func encodeWatchCoreV1NamespacedSecretResponse(response WatchCoreV1NamespacedSec w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9670,7 +9670,7 @@ func encodeWatchCoreV1NamespacedSecretListResponse(response WatchCoreV1Namespace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9696,7 +9696,7 @@ func encodeWatchCoreV1NamespacedServiceResponse(response WatchCoreV1NamespacedSe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9722,7 +9722,7 @@ func encodeWatchCoreV1NamespacedServiceAccountResponse(response WatchCoreV1Names w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9748,7 +9748,7 @@ func encodeWatchCoreV1NamespacedServiceAccountListResponse(response WatchCoreV1N w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9774,7 +9774,7 @@ func encodeWatchCoreV1NamespacedServiceListResponse(response WatchCoreV1Namespac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9800,7 +9800,7 @@ func encodeWatchCoreV1NodeResponse(response WatchCoreV1NodeRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9826,7 +9826,7 @@ func encodeWatchCoreV1NodeListResponse(response WatchCoreV1NodeListRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9852,7 +9852,7 @@ func encodeWatchCoreV1PersistentVolumeResponse(response WatchCoreV1PersistentVol w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9878,7 +9878,7 @@ func encodeWatchCoreV1PersistentVolumeClaimListForAllNamespacesResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9904,7 +9904,7 @@ func encodeWatchCoreV1PersistentVolumeListResponse(response WatchCoreV1Persisten w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9930,7 +9930,7 @@ func encodeWatchCoreV1PodListForAllNamespacesResponse(response WatchCoreV1PodLis w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9956,7 +9956,7 @@ func encodeWatchCoreV1PodTemplateListForAllNamespacesResponse(response WatchCore w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9982,7 +9982,7 @@ func encodeWatchCoreV1ReplicationControllerListForAllNamespacesResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10008,7 +10008,7 @@ func encodeWatchCoreV1ResourceQuotaListForAllNamespacesResponse(response WatchCo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10034,7 +10034,7 @@ func encodeWatchCoreV1SecretListForAllNamespacesResponse(response WatchCoreV1Sec w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10060,7 +10060,7 @@ func encodeWatchCoreV1ServiceAccountListForAllNamespacesResponse(response WatchC w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10086,7 +10086,7 @@ func encodeWatchCoreV1ServiceListForAllNamespacesResponse(response WatchCoreV1Se w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10112,7 +10112,7 @@ func encodeWatchDiscoveryV1EndpointSliceListForAllNamespacesResponse(response Wa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10138,7 +10138,7 @@ func encodeWatchDiscoveryV1NamespacedEndpointSliceResponse(response WatchDiscove w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10164,7 +10164,7 @@ func encodeWatchDiscoveryV1NamespacedEndpointSliceListResponse(response WatchDis w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10190,7 +10190,7 @@ func encodeWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesResponse(respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10216,7 +10216,7 @@ func encodeWatchDiscoveryV1beta1NamespacedEndpointSliceResponse(response WatchDi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10242,7 +10242,7 @@ func encodeWatchDiscoveryV1beta1NamespacedEndpointSliceListResponse(response Wat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10268,7 +10268,7 @@ func encodeWatchEventsV1EventListForAllNamespacesResponse(response WatchEventsV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10294,7 +10294,7 @@ func encodeWatchEventsV1NamespacedEventResponse(response WatchEventsV1Namespaced w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10320,7 +10320,7 @@ func encodeWatchEventsV1NamespacedEventListResponse(response WatchEventsV1Namesp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10346,7 +10346,7 @@ func encodeWatchEventsV1beta1EventListForAllNamespacesResponse(response WatchEve w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10372,7 +10372,7 @@ func encodeWatchEventsV1beta1NamespacedEventResponse(response WatchEventsV1beta1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10398,7 +10398,7 @@ func encodeWatchEventsV1beta1NamespacedEventListResponse(response WatchEventsV1b w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10424,7 +10424,7 @@ func encodeWatchFlowcontrolApiserverV1beta1FlowSchemaResponse(response WatchFlow w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10450,7 +10450,7 @@ func encodeWatchFlowcontrolApiserverV1beta1FlowSchemaListResponse(response Watch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10476,7 +10476,7 @@ func encodeWatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationResponse(re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10502,7 +10502,7 @@ func encodeWatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationListRespons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10528,7 +10528,7 @@ func encodeWatchFlowcontrolApiserverV1beta2FlowSchemaResponse(response WatchFlow w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10554,7 +10554,7 @@ func encodeWatchFlowcontrolApiserverV1beta2FlowSchemaListResponse(response Watch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10580,7 +10580,7 @@ func encodeWatchFlowcontrolApiserverV1beta2PriorityLevelConfigurationResponse(re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10606,7 +10606,7 @@ func encodeWatchFlowcontrolApiserverV1beta2PriorityLevelConfigurationListRespons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10632,7 +10632,7 @@ func encodeWatchInternalApiserverV1alpha1StorageVersionResponse(response WatchIn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10658,7 +10658,7 @@ func encodeWatchInternalApiserverV1alpha1StorageVersionListResponse(response Wat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10684,7 +10684,7 @@ func encodeWatchNetworkingV1IngressClassResponse(response WatchNetworkingV1Ingre w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10710,7 +10710,7 @@ func encodeWatchNetworkingV1IngressClassListResponse(response WatchNetworkingV1I w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10736,7 +10736,7 @@ func encodeWatchNetworkingV1IngressListForAllNamespacesResponse(response WatchNe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10762,7 +10762,7 @@ func encodeWatchNetworkingV1NamespacedIngressResponse(response WatchNetworkingV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10788,7 +10788,7 @@ func encodeWatchNetworkingV1NamespacedIngressListResponse(response WatchNetworki w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10814,7 +10814,7 @@ func encodeWatchNetworkingV1NamespacedNetworkPolicyResponse(response WatchNetwor w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10840,7 +10840,7 @@ func encodeWatchNetworkingV1NamespacedNetworkPolicyListResponse(response WatchNe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10866,7 +10866,7 @@ func encodeWatchNetworkingV1NetworkPolicyListForAllNamespacesResponse(response W w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10892,7 +10892,7 @@ func encodeWatchNodeV1RuntimeClassResponse(response WatchNodeV1RuntimeClassRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10918,7 +10918,7 @@ func encodeWatchNodeV1RuntimeClassListResponse(response WatchNodeV1RuntimeClassL w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10944,7 +10944,7 @@ func encodeWatchNodeV1alpha1RuntimeClassResponse(response WatchNodeV1alpha1Runti w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10970,7 +10970,7 @@ func encodeWatchNodeV1alpha1RuntimeClassListResponse(response WatchNodeV1alpha1R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10996,7 +10996,7 @@ func encodeWatchNodeV1beta1RuntimeClassResponse(response WatchNodeV1beta1Runtime w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11022,7 +11022,7 @@ func encodeWatchNodeV1beta1RuntimeClassListResponse(response WatchNodeV1beta1Run w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11048,7 +11048,7 @@ func encodeWatchPolicyV1NamespacedPodDisruptionBudgetResponse(response WatchPoli w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11074,7 +11074,7 @@ func encodeWatchPolicyV1NamespacedPodDisruptionBudgetListResponse(response Watch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11100,7 +11100,7 @@ func encodeWatchPolicyV1PodDisruptionBudgetListForAllNamespacesResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11126,7 +11126,7 @@ func encodeWatchPolicyV1beta1NamespacedPodDisruptionBudgetResponse(response Watc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11152,7 +11152,7 @@ func encodeWatchPolicyV1beta1NamespacedPodDisruptionBudgetListResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11178,7 +11178,7 @@ func encodeWatchPolicyV1beta1PodDisruptionBudgetListForAllNamespacesResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11204,7 +11204,7 @@ func encodeWatchPolicyV1beta1PodSecurityPolicyResponse(response WatchPolicyV1bet w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11230,7 +11230,7 @@ func encodeWatchPolicyV1beta1PodSecurityPolicyListResponse(response WatchPolicyV w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11256,7 +11256,7 @@ func encodeWatchRbacAuthorizationV1ClusterRoleResponse(response WatchRbacAuthori w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11282,7 +11282,7 @@ func encodeWatchRbacAuthorizationV1ClusterRoleBindingResponse(response WatchRbac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11308,7 +11308,7 @@ func encodeWatchRbacAuthorizationV1ClusterRoleBindingListResponse(response Watch w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11334,7 +11334,7 @@ func encodeWatchRbacAuthorizationV1ClusterRoleListResponse(response WatchRbacAut w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11360,7 +11360,7 @@ func encodeWatchRbacAuthorizationV1NamespacedRoleResponse(response WatchRbacAuth w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11386,7 +11386,7 @@ func encodeWatchRbacAuthorizationV1NamespacedRoleBindingResponse(response WatchR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11412,7 +11412,7 @@ func encodeWatchRbacAuthorizationV1NamespacedRoleBindingListResponse(response Wa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11438,7 +11438,7 @@ func encodeWatchRbacAuthorizationV1NamespacedRoleListResponse(response WatchRbac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11464,7 +11464,7 @@ func encodeWatchRbacAuthorizationV1RoleBindingListForAllNamespacesResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11490,7 +11490,7 @@ func encodeWatchRbacAuthorizationV1RoleListForAllNamespacesResponse(response Wat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11516,7 +11516,7 @@ func encodeWatchSchedulingV1PriorityClassResponse(response WatchSchedulingV1Prio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11542,7 +11542,7 @@ func encodeWatchSchedulingV1PriorityClassListResponse(response WatchSchedulingV1 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11568,7 +11568,7 @@ func encodeWatchStorageV1CSIDriverResponse(response WatchStorageV1CSIDriverRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11594,7 +11594,7 @@ func encodeWatchStorageV1CSIDriverListResponse(response WatchStorageV1CSIDriverL w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11620,7 +11620,7 @@ func encodeWatchStorageV1CSINodeResponse(response WatchStorageV1CSINodeRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11646,7 +11646,7 @@ func encodeWatchStorageV1CSINodeListResponse(response WatchStorageV1CSINodeListR w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11672,7 +11672,7 @@ func encodeWatchStorageV1StorageClassResponse(response WatchStorageV1StorageClas w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11698,7 +11698,7 @@ func encodeWatchStorageV1StorageClassListResponse(response WatchStorageV1Storage w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11724,7 +11724,7 @@ func encodeWatchStorageV1VolumeAttachmentResponse(response WatchStorageV1VolumeA w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11750,7 +11750,7 @@ func encodeWatchStorageV1VolumeAttachmentListResponse(response WatchStorageV1Vol w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11776,7 +11776,7 @@ func encodeWatchStorageV1alpha1CSIStorageCapacityListForAllNamespacesResponse(re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11802,7 +11802,7 @@ func encodeWatchStorageV1alpha1NamespacedCSIStorageCapacityResponse(response Wat w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11828,7 +11828,7 @@ func encodeWatchStorageV1alpha1NamespacedCSIStorageCapacityListResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11854,7 +11854,7 @@ func encodeWatchStorageV1beta1CSIStorageCapacityListForAllNamespacesResponse(res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11880,7 +11880,7 @@ func encodeWatchStorageV1beta1NamespacedCSIStorageCapacityResponse(response Watc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11906,7 +11906,7 @@ func encodeWatchStorageV1beta1NamespacedCSIStorageCapacityListResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_manga/oas_response_encoders_gen.go b/examples/ex_manga/oas_response_encoders_gen.go index fbe0a82a3..85c8ed6cc 100644 --- a/examples/ex_manga/oas_response_encoders_gen.go +++ b/examples/ex_manga/oas_response_encoders_gen.go @@ -19,7 +19,7 @@ func encodeGetBookResponse(response GetBookRes, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -117,7 +117,7 @@ func encodeSearchResponse(response SearchRes, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -143,7 +143,7 @@ func encodeSearchByTagIDResponse(response SearchByTagIDRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_oauth2/oas_request_encoders_gen.go b/examples/ex_oauth2/oas_request_encoders_gen.go index 8e22409a1..18ed44a3f 100644 --- a/examples/ex_oauth2/oas_request_encoders_gen.go +++ b/examples/ex_oauth2/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeAddPetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_oauth2/oas_response_encoders_gen.go b/examples/ex_oauth2/oas_response_encoders_gen.go index 0d80b2700..efaf62745 100644 --- a/examples/ex_oauth2/oas_response_encoders_gen.go +++ b/examples/ex_oauth2/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeAddPetResponse(response *Pet, w http.ResponseWriter, span trace.Span) w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -39,7 +39,7 @@ func encodeFindPetByIDResponse(response *Pet, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -53,7 +53,7 @@ func encodeFindPetsResponse(response []Pet, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -81,7 +81,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_openai/oas_request_encoders_gen.go b/examples/ex_openai/oas_request_encoders_gen.go index 05bc42c04..70946b150 100644 --- a/examples/ex_openai/oas_request_encoders_gen.go +++ b/examples/ex_openai/oas_request_encoders_gen.go @@ -21,7 +21,7 @@ func encodeCreateAnswerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -35,7 +35,7 @@ func encodeCreateChatCompletionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -49,7 +49,7 @@ func encodeCreateClassificationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -63,7 +63,7 @@ func encodeCreateCompletionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -77,7 +77,7 @@ func encodeCreateEditRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -91,7 +91,7 @@ func encodeCreateEmbeddingRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -139,7 +139,7 @@ func encodeCreateFineTuneRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -153,7 +153,7 @@ func encodeCreateImageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -355,7 +355,7 @@ func encodeCreateModerationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -369,7 +369,7 @@ func encodeCreateSearchRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_openai/oas_response_encoders_gen.go b/examples/ex_openai/oas_response_encoders_gen.go index a7e0ef388..6fcc99cb7 100644 --- a/examples/ex_openai/oas_response_encoders_gen.go +++ b/examples/ex_openai/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeCancelFineTuneResponse(response FineTune, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -30,7 +30,7 @@ func encodeCreateAnswerResponse(response *CreateAnswerResponse, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -44,7 +44,7 @@ func encodeCreateChatCompletionResponse(response *CreateChatCompletionResponse, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -58,7 +58,7 @@ func encodeCreateClassificationResponse(response *CreateClassificationResponse, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -72,7 +72,7 @@ func encodeCreateCompletionResponse(response *CreateCompletionResponse, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -86,7 +86,7 @@ func encodeCreateEditResponse(response *CreateEditResponse, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -100,7 +100,7 @@ func encodeCreateEmbeddingResponse(response *CreateEmbeddingResponse, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -114,7 +114,7 @@ func encodeCreateFileResponse(response OpenAIFile, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -128,7 +128,7 @@ func encodeCreateFineTuneResponse(response FineTune, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -142,7 +142,7 @@ func encodeCreateImageResponse(response ImagesResponse, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -156,7 +156,7 @@ func encodeCreateImageEditResponse(response ImagesResponse, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -170,7 +170,7 @@ func encodeCreateImageVariationResponse(response ImagesResponse, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -184,7 +184,7 @@ func encodeCreateModerationResponse(response *CreateModerationResponse, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -198,7 +198,7 @@ func encodeCreateSearchResponse(response *CreateSearchResponse, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -212,7 +212,7 @@ func encodeCreateTranscriptionResponse(response *CreateTranscriptionResponse, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -226,7 +226,7 @@ func encodeCreateTranslationResponse(response *CreateTranslationResponse, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -240,7 +240,7 @@ func encodeDeleteFileResponse(response *DeleteFileResponse, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -254,7 +254,7 @@ func encodeDeleteModelResponse(response *DeleteModelResponse, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -268,7 +268,7 @@ func encodeDownloadFileResponse(response string, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -282,7 +282,7 @@ func encodeListEnginesResponse(response *ListEnginesResponse, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -296,7 +296,7 @@ func encodeListFilesResponse(response *ListFilesResponse, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -310,7 +310,7 @@ func encodeListFineTuneEventsResponse(response *ListFineTuneEventsResponse, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -324,7 +324,7 @@ func encodeListFineTunesResponse(response *ListFineTunesResponse, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -338,7 +338,7 @@ func encodeListModelsResponse(response *ListModelsResponse, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -352,7 +352,7 @@ func encodeRetrieveEngineResponse(response Engine, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -366,7 +366,7 @@ func encodeRetrieveFileResponse(response OpenAIFile, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -380,7 +380,7 @@ func encodeRetrieveFineTuneResponse(response FineTune, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -394,7 +394,7 @@ func encodeRetrieveModelResponse(response Model, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_petstore/oas_response_encoders_gen.go b/examples/ex_petstore/oas_response_encoders_gen.go index 1daf7f632..2c3030aa5 100644 --- a/examples/ex_petstore/oas_response_encoders_gen.go +++ b/examples/ex_petstore/oas_response_encoders_gen.go @@ -46,7 +46,7 @@ func encodeListPetsResponse(response *PetsHeaders, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -60,7 +60,7 @@ func encodeShowPetByIdResponse(response *Pet, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -84,7 +84,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_petstore_expanded/oas_request_encoders_gen.go b/examples/ex_petstore_expanded/oas_request_encoders_gen.go index 8e22409a1..18ed44a3f 100644 --- a/examples/ex_petstore_expanded/oas_request_encoders_gen.go +++ b/examples/ex_petstore_expanded/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeAddPetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_petstore_expanded/oas_response_encoders_gen.go b/examples/ex_petstore_expanded/oas_response_encoders_gen.go index 0d80b2700..efaf62745 100644 --- a/examples/ex_petstore_expanded/oas_response_encoders_gen.go +++ b/examples/ex_petstore_expanded/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeAddPetResponse(response *Pet, w http.ResponseWriter, span trace.Span) w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -39,7 +39,7 @@ func encodeFindPetByIDResponse(response *Pet, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -53,7 +53,7 @@ func encodeFindPetsResponse(response []Pet, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -81,7 +81,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_route_params/oas_response_encoders_gen.go b/examples/ex_route_params/oas_response_encoders_gen.go index d6a8f16de..104f967bc 100644 --- a/examples/ex_route_params/oas_response_encoders_gen.go +++ b/examples/ex_route_params/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeDataGetResponse(response string, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -30,7 +30,7 @@ func encodeDataGetAnyResponse(response string, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -44,7 +44,7 @@ func encodeDataGetIDResponse(response string, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_telegram/oas_request_encoders_gen.go b/examples/ex_telegram/oas_request_encoders_gen.go index 71a37b652..0f28e7f46 100644 --- a/examples/ex_telegram/oas_request_encoders_gen.go +++ b/examples/ex_telegram/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeAddStickerToSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -30,7 +30,7 @@ func encodeAnswerCallbackQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -44,7 +44,7 @@ func encodeAnswerInlineQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -58,7 +58,7 @@ func encodeAnswerPreCheckoutQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -72,7 +72,7 @@ func encodeAnswerShippingQueryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -86,7 +86,7 @@ func encodeApproveChatJoinRequestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -100,7 +100,7 @@ func encodeBanChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -114,7 +114,7 @@ func encodeBanChatSenderChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -128,7 +128,7 @@ func encodeCopyMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -142,7 +142,7 @@ func encodeCreateChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -156,7 +156,7 @@ func encodeCreateNewStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -170,7 +170,7 @@ func encodeDeclineChatJoinRequestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -184,7 +184,7 @@ func encodeDeleteChatPhotoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -198,7 +198,7 @@ func encodeDeleteChatStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -212,7 +212,7 @@ func encodeDeleteMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -230,7 +230,7 @@ func encodeDeleteMyCommandsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -246,7 +246,7 @@ func encodeDeleteStickerFromSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -264,7 +264,7 @@ func encodeDeleteWebhookRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -280,7 +280,7 @@ func encodeEditChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -294,7 +294,7 @@ func encodeEditMessageCaptionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -308,7 +308,7 @@ func encodeEditMessageLiveLocationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -322,7 +322,7 @@ func encodeEditMessageMediaRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -336,7 +336,7 @@ func encodeEditMessageReplyMarkupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -350,7 +350,7 @@ func encodeEditMessageTextRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -364,7 +364,7 @@ func encodeExportChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -378,7 +378,7 @@ func encodeForwardMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -392,7 +392,7 @@ func encodeGetChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -406,7 +406,7 @@ func encodeGetChatAdministratorsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -420,7 +420,7 @@ func encodeGetChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -434,7 +434,7 @@ func encodeGetChatMemberCountRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -448,7 +448,7 @@ func encodeGetFileRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -462,7 +462,7 @@ func encodeGetGameHighScoresRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -480,7 +480,7 @@ func encodeGetMyCommandsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -496,7 +496,7 @@ func encodeGetStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -514,7 +514,7 @@ func encodeGetUpdatesRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -530,7 +530,7 @@ func encodeGetUserProfilePhotosRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -544,7 +544,7 @@ func encodeLeaveChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -558,7 +558,7 @@ func encodePinChatMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -572,7 +572,7 @@ func encodePromoteChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -586,7 +586,7 @@ func encodeRestrictChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -600,7 +600,7 @@ func encodeRevokeChatInviteLinkRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -614,7 +614,7 @@ func encodeSendAnimationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -628,7 +628,7 @@ func encodeSendAudioRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -642,7 +642,7 @@ func encodeSendChatActionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -656,7 +656,7 @@ func encodeSendContactRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -670,7 +670,7 @@ func encodeSendDiceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -684,7 +684,7 @@ func encodeSendDocumentRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -698,7 +698,7 @@ func encodeSendGameRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -712,7 +712,7 @@ func encodeSendInvoiceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -726,7 +726,7 @@ func encodeSendLocationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -740,7 +740,7 @@ func encodeSendMediaGroupRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -754,7 +754,7 @@ func encodeSendMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -768,7 +768,7 @@ func encodeSendPhotoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -782,7 +782,7 @@ func encodeSendPollRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -796,7 +796,7 @@ func encodeSendStickerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -810,7 +810,7 @@ func encodeSendVenueRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -824,7 +824,7 @@ func encodeSendVideoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -838,7 +838,7 @@ func encodeSendVideoNoteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -852,7 +852,7 @@ func encodeSendVoiceRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -866,7 +866,7 @@ func encodeSetChatAdministratorCustomTitleRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -880,7 +880,7 @@ func encodeSetChatDescriptionRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -894,7 +894,7 @@ func encodeSetChatPermissionsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -908,7 +908,7 @@ func encodeSetChatPhotoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -922,7 +922,7 @@ func encodeSetChatStickerSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -936,7 +936,7 @@ func encodeSetChatTitleRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -950,7 +950,7 @@ func encodeSetGameScoreRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -964,7 +964,7 @@ func encodeSetMyCommandsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -978,7 +978,7 @@ func encodeSetPassportDataErrorsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -992,7 +992,7 @@ func encodeSetStickerPositionInSetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1006,7 +1006,7 @@ func encodeSetStickerSetThumbRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1020,7 +1020,7 @@ func encodeSetWebhookRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1034,7 +1034,7 @@ func encodeStopMessageLiveLocationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1048,7 +1048,7 @@ func encodeStopPollRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1062,7 +1062,7 @@ func encodeUnbanChatMemberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1076,7 +1076,7 @@ func encodeUnbanChatSenderChatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1090,7 +1090,7 @@ func encodeUnpinAllChatMessagesRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1104,7 +1104,7 @@ func encodeUnpinChatMessageRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -1118,7 +1118,7 @@ func encodeUploadStickerFileRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/examples/ex_telegram/oas_response_encoders_gen.go b/examples/ex_telegram/oas_response_encoders_gen.go index cbd399ae0..54303d679 100644 --- a/examples/ex_telegram/oas_response_encoders_gen.go +++ b/examples/ex_telegram/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeAddStickerToSetResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -32,7 +32,7 @@ func encodeAnswerCallbackQueryResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -46,7 +46,7 @@ func encodeAnswerInlineQueryResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -60,7 +60,7 @@ func encodeAnswerPreCheckoutQueryResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -74,7 +74,7 @@ func encodeAnswerShippingQueryResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -88,7 +88,7 @@ func encodeApproveChatJoinRequestResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -102,7 +102,7 @@ func encodeBanChatMemberResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -116,7 +116,7 @@ func encodeBanChatSenderChatResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -130,7 +130,7 @@ func encodeCloseResponse(response *Result, w http.ResponseWriter, span trace.Spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -144,7 +144,7 @@ func encodeCopyMessageResponse(response *ResultMessageId, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -158,7 +158,7 @@ func encodeCreateChatInviteLinkResponse(response *ResultChatInviteLink, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -172,7 +172,7 @@ func encodeCreateNewStickerSetResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -186,7 +186,7 @@ func encodeDeclineChatJoinRequestResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -200,7 +200,7 @@ func encodeDeleteChatPhotoResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -214,7 +214,7 @@ func encodeDeleteChatStickerSetResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -228,7 +228,7 @@ func encodeDeleteMessageResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -242,7 +242,7 @@ func encodeDeleteMyCommandsResponse(response *Result, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -256,7 +256,7 @@ func encodeDeleteStickerFromSetResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -270,7 +270,7 @@ func encodeDeleteWebhookResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -284,7 +284,7 @@ func encodeEditChatInviteLinkResponse(response *ResultChatInviteLink, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -298,7 +298,7 @@ func encodeEditMessageCaptionResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -312,7 +312,7 @@ func encodeEditMessageLiveLocationResponse(response *Result, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -326,7 +326,7 @@ func encodeEditMessageMediaResponse(response *Result, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -340,7 +340,7 @@ func encodeEditMessageReplyMarkupResponse(response *Result, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -354,7 +354,7 @@ func encodeEditMessageTextResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -368,7 +368,7 @@ func encodeExportChatInviteLinkResponse(response *ResultString, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -382,7 +382,7 @@ func encodeForwardMessageResponse(response *ResultMessage, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -396,7 +396,7 @@ func encodeGetChatResponse(response *ResultChat, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -410,7 +410,7 @@ func encodeGetChatAdministratorsResponse(response *ResultArrayOfChatMember, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -424,7 +424,7 @@ func encodeGetChatMemberResponse(response *ResultChatMember, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -438,7 +438,7 @@ func encodeGetChatMemberCountResponse(response *ResultInt, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -452,7 +452,7 @@ func encodeGetFileResponse(response *Result, w http.ResponseWriter, span trace.S w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -466,7 +466,7 @@ func encodeGetGameHighScoresResponse(response *ResultArrayOfGameHighScore, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -480,7 +480,7 @@ func encodeGetMeResponse(response *ResultUser, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -494,7 +494,7 @@ func encodeGetMyCommandsResponse(response *ResultArrayOfBotCommand, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -508,7 +508,7 @@ func encodeGetStickerSetResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -522,7 +522,7 @@ func encodeGetUpdatesResponse(response *ResultArrayOfUpdate, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -536,7 +536,7 @@ func encodeGetUserProfilePhotosResponse(response *ResultUserProfilePhotos, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -550,7 +550,7 @@ func encodeGetWebhookInfoResponse(response *ResultWebhookInfo, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -564,7 +564,7 @@ func encodeLeaveChatResponse(response *Result, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -578,7 +578,7 @@ func encodeLogOutResponse(response *Result, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -592,7 +592,7 @@ func encodePinChatMessageResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -606,7 +606,7 @@ func encodePromoteChatMemberResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -620,7 +620,7 @@ func encodeRestrictChatMemberResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -634,7 +634,7 @@ func encodeRevokeChatInviteLinkResponse(response *ResultChatInviteLink, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -648,7 +648,7 @@ func encodeSendAnimationResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -662,7 +662,7 @@ func encodeSendAudioResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -676,7 +676,7 @@ func encodeSendChatActionResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -690,7 +690,7 @@ func encodeSendContactResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -704,7 +704,7 @@ func encodeSendDiceResponse(response *ResultMessage, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -718,7 +718,7 @@ func encodeSendDocumentResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -732,7 +732,7 @@ func encodeSendGameResponse(response *ResultMessage, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -746,7 +746,7 @@ func encodeSendInvoiceResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -760,7 +760,7 @@ func encodeSendLocationResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -774,7 +774,7 @@ func encodeSendMediaGroupResponse(response *ResultArrayOfMessage, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -788,7 +788,7 @@ func encodeSendMessageResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -802,7 +802,7 @@ func encodeSendPhotoResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -816,7 +816,7 @@ func encodeSendPollResponse(response *ResultMessage, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -830,7 +830,7 @@ func encodeSendStickerResponse(response *ResultMessage, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -844,7 +844,7 @@ func encodeSendVenueResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -858,7 +858,7 @@ func encodeSendVideoResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -872,7 +872,7 @@ func encodeSendVideoNoteResponse(response *ResultMessage, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -886,7 +886,7 @@ func encodeSendVoiceResponse(response *ResultMessage, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -900,7 +900,7 @@ func encodeSetChatAdministratorCustomTitleResponse(response *Result, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -914,7 +914,7 @@ func encodeSetChatDescriptionResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -928,7 +928,7 @@ func encodeSetChatPermissionsResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -942,7 +942,7 @@ func encodeSetChatPhotoResponse(response *Result, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -956,7 +956,7 @@ func encodeSetChatStickerSetResponse(response *Result, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -970,7 +970,7 @@ func encodeSetChatTitleResponse(response *Result, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -984,7 +984,7 @@ func encodeSetGameScoreResponse(response *Result, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -998,7 +998,7 @@ func encodeSetMyCommandsResponse(response *Result, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1012,7 +1012,7 @@ func encodeSetPassportDataErrorsResponse(response *Result, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1026,7 +1026,7 @@ func encodeSetStickerPositionInSetResponse(response *Result, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1040,7 +1040,7 @@ func encodeSetStickerSetThumbResponse(response *Result, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1054,7 +1054,7 @@ func encodeSetWebhookResponse(response *Result, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1068,7 +1068,7 @@ func encodeStopMessageLiveLocationResponse(response *Result, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1082,7 +1082,7 @@ func encodeStopPollResponse(response *ResultPoll, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1096,7 +1096,7 @@ func encodeUnbanChatMemberResponse(response *Result, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1110,7 +1110,7 @@ func encodeUnbanChatSenderChatResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1124,7 +1124,7 @@ func encodeUnpinAllChatMessagesResponse(response *Result, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1138,7 +1138,7 @@ func encodeUnpinChatMessageResponse(response *Result, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1152,7 +1152,7 @@ func encodeUploadStickerFileResponse(response *ResultFile, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1176,7 +1176,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/examples/ex_test_format/oas_request_encoders_gen.go b/examples/ex_test_format/oas_request_encoders_gen.go index 19b892282..39f04ddaf 100644 --- a/examples/ex_test_format/oas_request_encoders_gen.go +++ b/examples/ex_test_format/oas_request_encoders_gen.go @@ -21,7 +21,7 @@ func encodeTestQueryParameterRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -35,7 +35,7 @@ func encodeTestRequestAnyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if len(req) != 0 { e.Raw(req) @@ -55,7 +55,7 @@ func encodeTestRequestBooleanRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -71,7 +71,7 @@ func encodeTestRequestBooleanArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -91,7 +91,7 @@ func encodeTestRequestBooleanArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -119,7 +119,7 @@ func encodeTestRequestBooleanNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -135,7 +135,7 @@ func encodeTestRequestBooleanNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -155,7 +155,7 @@ func encodeTestRequestBooleanNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -179,7 +179,7 @@ func encodeTestRequestEmptyStructRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { req.Encode(e) @@ -199,7 +199,7 @@ func encodeTestRequestFormatTestRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -219,7 +219,7 @@ func encodeTestRequestIntegerRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -235,7 +235,7 @@ func encodeTestRequestIntegerArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -255,7 +255,7 @@ func encodeTestRequestIntegerArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -283,7 +283,7 @@ func encodeTestRequestIntegerInt16Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -299,7 +299,7 @@ func encodeTestRequestIntegerInt16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -319,7 +319,7 @@ func encodeTestRequestIntegerInt16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -347,7 +347,7 @@ func encodeTestRequestIntegerInt16NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -363,7 +363,7 @@ func encodeTestRequestIntegerInt16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -383,7 +383,7 @@ func encodeTestRequestIntegerInt16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -411,7 +411,7 @@ func encodeTestRequestIntegerInt32Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -427,7 +427,7 @@ func encodeTestRequestIntegerInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -447,7 +447,7 @@ func encodeTestRequestIntegerInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -475,7 +475,7 @@ func encodeTestRequestIntegerInt32NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -491,7 +491,7 @@ func encodeTestRequestIntegerInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -511,7 +511,7 @@ func encodeTestRequestIntegerInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -539,7 +539,7 @@ func encodeTestRequestIntegerInt64Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -555,7 +555,7 @@ func encodeTestRequestIntegerInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -575,7 +575,7 @@ func encodeTestRequestIntegerInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -603,7 +603,7 @@ func encodeTestRequestIntegerInt64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -619,7 +619,7 @@ func encodeTestRequestIntegerInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -639,7 +639,7 @@ func encodeTestRequestIntegerInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -667,7 +667,7 @@ func encodeTestRequestIntegerInt8Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -683,7 +683,7 @@ func encodeTestRequestIntegerInt8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -703,7 +703,7 @@ func encodeTestRequestIntegerInt8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -731,7 +731,7 @@ func encodeTestRequestIntegerInt8NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -747,7 +747,7 @@ func encodeTestRequestIntegerInt8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -767,7 +767,7 @@ func encodeTestRequestIntegerInt8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -795,7 +795,7 @@ func encodeTestRequestIntegerNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -811,7 +811,7 @@ func encodeTestRequestIntegerNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -831,7 +831,7 @@ func encodeTestRequestIntegerNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -859,7 +859,7 @@ func encodeTestRequestIntegerUintRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -879,7 +879,7 @@ func encodeTestRequestIntegerUint16Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -895,7 +895,7 @@ func encodeTestRequestIntegerUint16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -915,7 +915,7 @@ func encodeTestRequestIntegerUint16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -943,7 +943,7 @@ func encodeTestRequestIntegerUint16NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -959,7 +959,7 @@ func encodeTestRequestIntegerUint16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -979,7 +979,7 @@ func encodeTestRequestIntegerUint16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1007,7 +1007,7 @@ func encodeTestRequestIntegerUint32Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1023,7 +1023,7 @@ func encodeTestRequestIntegerUint32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1043,7 +1043,7 @@ func encodeTestRequestIntegerUint32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1071,7 +1071,7 @@ func encodeTestRequestIntegerUint32NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1087,7 +1087,7 @@ func encodeTestRequestIntegerUint32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1107,7 +1107,7 @@ func encodeTestRequestIntegerUint32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1135,7 +1135,7 @@ func encodeTestRequestIntegerUint64Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1151,7 +1151,7 @@ func encodeTestRequestIntegerUint64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1171,7 +1171,7 @@ func encodeTestRequestIntegerUint64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1199,7 +1199,7 @@ func encodeTestRequestIntegerUint64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1215,7 +1215,7 @@ func encodeTestRequestIntegerUint64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1235,7 +1235,7 @@ func encodeTestRequestIntegerUint64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1263,7 +1263,7 @@ func encodeTestRequestIntegerUint8Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1279,7 +1279,7 @@ func encodeTestRequestIntegerUint8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1299,7 +1299,7 @@ func encodeTestRequestIntegerUint8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1327,7 +1327,7 @@ func encodeTestRequestIntegerUint8NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1343,7 +1343,7 @@ func encodeTestRequestIntegerUint8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1363,7 +1363,7 @@ func encodeTestRequestIntegerUint8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1387,7 +1387,7 @@ func encodeTestRequestIntegerUintArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1407,7 +1407,7 @@ func encodeTestRequestIntegerUintArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1435,7 +1435,7 @@ func encodeTestRequestIntegerUintNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -1451,7 +1451,7 @@ func encodeTestRequestIntegerUintNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1471,7 +1471,7 @@ func encodeTestRequestIntegerUintNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1499,7 +1499,7 @@ func encodeTestRequestIntegerUnixRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixSeconds) @@ -1515,7 +1515,7 @@ func encodeTestRequestIntegerUnixArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1535,7 +1535,7 @@ func encodeTestRequestIntegerUnixArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1563,7 +1563,7 @@ func encodeTestRequestIntegerUnixMicroRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixMicro) @@ -1579,7 +1579,7 @@ func encodeTestRequestIntegerUnixMicroArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1599,7 +1599,7 @@ func encodeTestRequestIntegerUnixMicroArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1627,7 +1627,7 @@ func encodeTestRequestIntegerUnixMicroNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixMicro) @@ -1643,7 +1643,7 @@ func encodeTestRequestIntegerUnixMicroNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1663,7 +1663,7 @@ func encodeTestRequestIntegerUnixMicroNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1691,7 +1691,7 @@ func encodeTestRequestIntegerUnixMilliRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixMilli) @@ -1707,7 +1707,7 @@ func encodeTestRequestIntegerUnixMilliArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1727,7 +1727,7 @@ func encodeTestRequestIntegerUnixMilliArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1755,7 +1755,7 @@ func encodeTestRequestIntegerUnixMilliNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixMilli) @@ -1771,7 +1771,7 @@ func encodeTestRequestIntegerUnixMilliNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1791,7 +1791,7 @@ func encodeTestRequestIntegerUnixMilliNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1819,7 +1819,7 @@ func encodeTestRequestIntegerUnixNanoRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixNano) @@ -1835,7 +1835,7 @@ func encodeTestRequestIntegerUnixNanoArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1855,7 +1855,7 @@ func encodeTestRequestIntegerUnixNanoArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1883,7 +1883,7 @@ func encodeTestRequestIntegerUnixNanoNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixNano) @@ -1899,7 +1899,7 @@ func encodeTestRequestIntegerUnixNanoNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1919,7 +1919,7 @@ func encodeTestRequestIntegerUnixNanoNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1947,7 +1947,7 @@ func encodeTestRequestIntegerUnixNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixSeconds) @@ -1963,7 +1963,7 @@ func encodeTestRequestIntegerUnixNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -1983,7 +1983,7 @@ func encodeTestRequestIntegerUnixNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2011,7 +2011,7 @@ func encodeTestRequestIntegerUnixSecondsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixSeconds) @@ -2027,7 +2027,7 @@ func encodeTestRequestIntegerUnixSecondsArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2047,7 +2047,7 @@ func encodeTestRequestIntegerUnixSecondsArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2075,7 +2075,7 @@ func encodeTestRequestIntegerUnixSecondsNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeUnixSeconds) @@ -2091,7 +2091,7 @@ func encodeTestRequestIntegerUnixSecondsNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2111,7 +2111,7 @@ func encodeTestRequestIntegerUnixSecondsNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2139,7 +2139,7 @@ func encodeTestRequestNullRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2155,7 +2155,7 @@ func encodeTestRequestNullArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2176,7 +2176,7 @@ func encodeTestRequestNullArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2205,7 +2205,7 @@ func encodeTestRequestNullNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2221,7 +2221,7 @@ func encodeTestRequestNullNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2242,7 +2242,7 @@ func encodeTestRequestNullNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2271,7 +2271,7 @@ func encodeTestRequestNumberRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2287,7 +2287,7 @@ func encodeTestRequestNumberArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2307,7 +2307,7 @@ func encodeTestRequestNumberArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2335,7 +2335,7 @@ func encodeTestRequestNumberDoubleRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2351,7 +2351,7 @@ func encodeTestRequestNumberDoubleArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2371,7 +2371,7 @@ func encodeTestRequestNumberDoubleArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2399,7 +2399,7 @@ func encodeTestRequestNumberDoubleNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2415,7 +2415,7 @@ func encodeTestRequestNumberDoubleNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2435,7 +2435,7 @@ func encodeTestRequestNumberDoubleNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2463,7 +2463,7 @@ func encodeTestRequestNumberFloatRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2479,7 +2479,7 @@ func encodeTestRequestNumberFloatArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2499,7 +2499,7 @@ func encodeTestRequestNumberFloatArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2527,7 +2527,7 @@ func encodeTestRequestNumberFloatNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2543,7 +2543,7 @@ func encodeTestRequestNumberFloatNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2563,7 +2563,7 @@ func encodeTestRequestNumberFloatNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2591,7 +2591,7 @@ func encodeTestRequestNumberInt32Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2607,7 +2607,7 @@ func encodeTestRequestNumberInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2627,7 +2627,7 @@ func encodeTestRequestNumberInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2655,7 +2655,7 @@ func encodeTestRequestNumberInt32NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2671,7 +2671,7 @@ func encodeTestRequestNumberInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2691,7 +2691,7 @@ func encodeTestRequestNumberInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2719,7 +2719,7 @@ func encodeTestRequestNumberInt64Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2735,7 +2735,7 @@ func encodeTestRequestNumberInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2755,7 +2755,7 @@ func encodeTestRequestNumberInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2783,7 +2783,7 @@ func encodeTestRequestNumberInt64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2799,7 +2799,7 @@ func encodeTestRequestNumberInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2819,7 +2819,7 @@ func encodeTestRequestNumberInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2847,7 +2847,7 @@ func encodeTestRequestNumberNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -2863,7 +2863,7 @@ func encodeTestRequestNumberNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2883,7 +2883,7 @@ func encodeTestRequestNumberNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -2907,7 +2907,7 @@ func encodeTestRequestRequiredAnyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if len(req) != 0 { e.Raw(req) @@ -2923,7 +2923,7 @@ func encodeTestRequestRequiredBooleanRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Bool(req) } @@ -2937,7 +2937,7 @@ func encodeTestRequestRequiredBooleanArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -2955,7 +2955,7 @@ func encodeTestRequestRequiredBooleanArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -2977,7 +2977,7 @@ func encodeTestRequestRequiredBooleanNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -2991,7 +2991,7 @@ func encodeTestRequestRequiredBooleanNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3009,7 +3009,7 @@ func encodeTestRequestRequiredBooleanNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3031,7 +3031,7 @@ func encodeTestRequestRequiredEmptyStructRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3045,7 +3045,7 @@ func encodeTestRequestRequiredFormatTestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3059,7 +3059,7 @@ func encodeTestRequestRequiredIntegerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int(req) } @@ -3073,7 +3073,7 @@ func encodeTestRequestRequiredIntegerArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3091,7 +3091,7 @@ func encodeTestRequestRequiredIntegerArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3113,7 +3113,7 @@ func encodeTestRequestRequiredIntegerInt16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int16(req) } @@ -3127,7 +3127,7 @@ func encodeTestRequestRequiredIntegerInt16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3145,7 +3145,7 @@ func encodeTestRequestRequiredIntegerInt16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3167,7 +3167,7 @@ func encodeTestRequestRequiredIntegerInt16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3181,7 +3181,7 @@ func encodeTestRequestRequiredIntegerInt16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3199,7 +3199,7 @@ func encodeTestRequestRequiredIntegerInt16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3221,7 +3221,7 @@ func encodeTestRequestRequiredIntegerInt32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int32(req) } @@ -3235,7 +3235,7 @@ func encodeTestRequestRequiredIntegerInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3253,7 +3253,7 @@ func encodeTestRequestRequiredIntegerInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3275,7 +3275,7 @@ func encodeTestRequestRequiredIntegerInt32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3289,7 +3289,7 @@ func encodeTestRequestRequiredIntegerInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3307,7 +3307,7 @@ func encodeTestRequestRequiredIntegerInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3329,7 +3329,7 @@ func encodeTestRequestRequiredIntegerInt64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int64(req) } @@ -3343,7 +3343,7 @@ func encodeTestRequestRequiredIntegerInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3361,7 +3361,7 @@ func encodeTestRequestRequiredIntegerInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3383,7 +3383,7 @@ func encodeTestRequestRequiredIntegerInt64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3397,7 +3397,7 @@ func encodeTestRequestRequiredIntegerInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3415,7 +3415,7 @@ func encodeTestRequestRequiredIntegerInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3437,7 +3437,7 @@ func encodeTestRequestRequiredIntegerInt8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int8(req) } @@ -3451,7 +3451,7 @@ func encodeTestRequestRequiredIntegerInt8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3469,7 +3469,7 @@ func encodeTestRequestRequiredIntegerInt8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3491,7 +3491,7 @@ func encodeTestRequestRequiredIntegerInt8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3505,7 +3505,7 @@ func encodeTestRequestRequiredIntegerInt8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3523,7 +3523,7 @@ func encodeTestRequestRequiredIntegerInt8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3545,7 +3545,7 @@ func encodeTestRequestRequiredIntegerNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3559,7 +3559,7 @@ func encodeTestRequestRequiredIntegerNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3577,7 +3577,7 @@ func encodeTestRequestRequiredIntegerNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3599,7 +3599,7 @@ func encodeTestRequestRequiredIntegerUintRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.UInt(req) } @@ -3613,7 +3613,7 @@ func encodeTestRequestRequiredIntegerUint16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.UInt16(req) } @@ -3627,7 +3627,7 @@ func encodeTestRequestRequiredIntegerUint16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3645,7 +3645,7 @@ func encodeTestRequestRequiredIntegerUint16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3667,7 +3667,7 @@ func encodeTestRequestRequiredIntegerUint16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3681,7 +3681,7 @@ func encodeTestRequestRequiredIntegerUint16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3699,7 +3699,7 @@ func encodeTestRequestRequiredIntegerUint16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3721,7 +3721,7 @@ func encodeTestRequestRequiredIntegerUint32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.UInt32(req) } @@ -3735,7 +3735,7 @@ func encodeTestRequestRequiredIntegerUint32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3753,7 +3753,7 @@ func encodeTestRequestRequiredIntegerUint32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3775,7 +3775,7 @@ func encodeTestRequestRequiredIntegerUint32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3789,7 +3789,7 @@ func encodeTestRequestRequiredIntegerUint32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3807,7 +3807,7 @@ func encodeTestRequestRequiredIntegerUint32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3829,7 +3829,7 @@ func encodeTestRequestRequiredIntegerUint64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.UInt64(req) } @@ -3843,7 +3843,7 @@ func encodeTestRequestRequiredIntegerUint64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3861,7 +3861,7 @@ func encodeTestRequestRequiredIntegerUint64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3883,7 +3883,7 @@ func encodeTestRequestRequiredIntegerUint64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -3897,7 +3897,7 @@ func encodeTestRequestRequiredIntegerUint64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3915,7 +3915,7 @@ func encodeTestRequestRequiredIntegerUint64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3937,7 +3937,7 @@ func encodeTestRequestRequiredIntegerUint8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.UInt8(req) } @@ -3951,7 +3951,7 @@ func encodeTestRequestRequiredIntegerUint8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3969,7 +3969,7 @@ func encodeTestRequestRequiredIntegerUint8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -3991,7 +3991,7 @@ func encodeTestRequestRequiredIntegerUint8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -4005,7 +4005,7 @@ func encodeTestRequestRequiredIntegerUint8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4023,7 +4023,7 @@ func encodeTestRequestRequiredIntegerUint8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4045,7 +4045,7 @@ func encodeTestRequestRequiredIntegerUintArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4063,7 +4063,7 @@ func encodeTestRequestRequiredIntegerUintArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4085,7 +4085,7 @@ func encodeTestRequestRequiredIntegerUintNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -4099,7 +4099,7 @@ func encodeTestRequestRequiredIntegerUintNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4117,7 +4117,7 @@ func encodeTestRequestRequiredIntegerUintNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4139,7 +4139,7 @@ func encodeTestRequestRequiredIntegerUnixRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeUnixSeconds(e, req) } @@ -4153,7 +4153,7 @@ func encodeTestRequestRequiredIntegerUnixArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4171,7 +4171,7 @@ func encodeTestRequestRequiredIntegerUnixArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4193,7 +4193,7 @@ func encodeTestRequestRequiredIntegerUnixMicroRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeUnixMicro(e, req) } @@ -4207,7 +4207,7 @@ func encodeTestRequestRequiredIntegerUnixMicroArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4225,7 +4225,7 @@ func encodeTestRequestRequiredIntegerUnixMicroArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4247,7 +4247,7 @@ func encodeTestRequestRequiredIntegerUnixMicroNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeUnixMicro) } @@ -4261,7 +4261,7 @@ func encodeTestRequestRequiredIntegerUnixMicroNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4279,7 +4279,7 @@ func encodeTestRequestRequiredIntegerUnixMicroNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4301,7 +4301,7 @@ func encodeTestRequestRequiredIntegerUnixMilliRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeUnixMilli(e, req) } @@ -4315,7 +4315,7 @@ func encodeTestRequestRequiredIntegerUnixMilliArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4333,7 +4333,7 @@ func encodeTestRequestRequiredIntegerUnixMilliArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4355,7 +4355,7 @@ func encodeTestRequestRequiredIntegerUnixMilliNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeUnixMilli) } @@ -4369,7 +4369,7 @@ func encodeTestRequestRequiredIntegerUnixMilliNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4387,7 +4387,7 @@ func encodeTestRequestRequiredIntegerUnixMilliNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4409,7 +4409,7 @@ func encodeTestRequestRequiredIntegerUnixNanoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeUnixNano(e, req) } @@ -4423,7 +4423,7 @@ func encodeTestRequestRequiredIntegerUnixNanoArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4441,7 +4441,7 @@ func encodeTestRequestRequiredIntegerUnixNanoArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4463,7 +4463,7 @@ func encodeTestRequestRequiredIntegerUnixNanoNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeUnixNano) } @@ -4477,7 +4477,7 @@ func encodeTestRequestRequiredIntegerUnixNanoNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4495,7 +4495,7 @@ func encodeTestRequestRequiredIntegerUnixNanoNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4517,7 +4517,7 @@ func encodeTestRequestRequiredIntegerUnixNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeUnixSeconds) } @@ -4531,7 +4531,7 @@ func encodeTestRequestRequiredIntegerUnixNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4549,7 +4549,7 @@ func encodeTestRequestRequiredIntegerUnixNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4571,7 +4571,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeUnixSeconds(e, req) } @@ -4585,7 +4585,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4603,7 +4603,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4625,7 +4625,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeUnixSeconds) } @@ -4639,7 +4639,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4657,7 +4657,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4679,7 +4679,7 @@ func encodeTestRequestRequiredNullRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { _ = req e.Null() @@ -4694,7 +4694,7 @@ func encodeTestRequestRequiredNullArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4713,7 +4713,7 @@ func encodeTestRequestRequiredNullArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4736,7 +4736,7 @@ func encodeTestRequestRequiredNullNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { _ = req e.Null() @@ -4751,7 +4751,7 @@ func encodeTestRequestRequiredNullNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4770,7 +4770,7 @@ func encodeTestRequestRequiredNullNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4793,7 +4793,7 @@ func encodeTestRequestRequiredNumberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Float64(req) } @@ -4807,7 +4807,7 @@ func encodeTestRequestRequiredNumberArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4825,7 +4825,7 @@ func encodeTestRequestRequiredNumberArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4847,7 +4847,7 @@ func encodeTestRequestRequiredNumberDoubleRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Float64(req) } @@ -4861,7 +4861,7 @@ func encodeTestRequestRequiredNumberDoubleArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4879,7 +4879,7 @@ func encodeTestRequestRequiredNumberDoubleArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4901,7 +4901,7 @@ func encodeTestRequestRequiredNumberDoubleNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -4915,7 +4915,7 @@ func encodeTestRequestRequiredNumberDoubleNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4933,7 +4933,7 @@ func encodeTestRequestRequiredNumberDoubleNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4955,7 +4955,7 @@ func encodeTestRequestRequiredNumberFloatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Float32(req) } @@ -4969,7 +4969,7 @@ func encodeTestRequestRequiredNumberFloatArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -4987,7 +4987,7 @@ func encodeTestRequestRequiredNumberFloatArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5009,7 +5009,7 @@ func encodeTestRequestRequiredNumberFloatNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -5023,7 +5023,7 @@ func encodeTestRequestRequiredNumberFloatNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5041,7 +5041,7 @@ func encodeTestRequestRequiredNumberFloatNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5063,7 +5063,7 @@ func encodeTestRequestRequiredNumberInt32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int32(req) } @@ -5077,7 +5077,7 @@ func encodeTestRequestRequiredNumberInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5095,7 +5095,7 @@ func encodeTestRequestRequiredNumberInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5117,7 +5117,7 @@ func encodeTestRequestRequiredNumberInt32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -5131,7 +5131,7 @@ func encodeTestRequestRequiredNumberInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5149,7 +5149,7 @@ func encodeTestRequestRequiredNumberInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5171,7 +5171,7 @@ func encodeTestRequestRequiredNumberInt64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int64(req) } @@ -5185,7 +5185,7 @@ func encodeTestRequestRequiredNumberInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5203,7 +5203,7 @@ func encodeTestRequestRequiredNumberInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5225,7 +5225,7 @@ func encodeTestRequestRequiredNumberInt64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -5239,7 +5239,7 @@ func encodeTestRequestRequiredNumberInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5257,7 +5257,7 @@ func encodeTestRequestRequiredNumberInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5279,7 +5279,7 @@ func encodeTestRequestRequiredNumberNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -5293,7 +5293,7 @@ func encodeTestRequestRequiredNumberNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5311,7 +5311,7 @@ func encodeTestRequestRequiredNumberNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5333,7 +5333,7 @@ func encodeTestRequestRequiredStringRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -5347,7 +5347,7 @@ func encodeTestRequestRequiredStringArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5365,7 +5365,7 @@ func encodeTestRequestRequiredStringArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5387,7 +5387,7 @@ func encodeTestRequestRequiredStringBase64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Base64(req) } @@ -5401,7 +5401,7 @@ func encodeTestRequestRequiredStringBase64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5419,7 +5419,7 @@ func encodeTestRequestRequiredStringBase64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5441,7 +5441,7 @@ func encodeTestRequestRequiredStringBase64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Base64(req) } @@ -5455,7 +5455,7 @@ func encodeTestRequestRequiredStringBase64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5473,7 +5473,7 @@ func encodeTestRequestRequiredStringBase64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5495,7 +5495,7 @@ func encodeTestRequestRequiredStringBinaryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -5509,7 +5509,7 @@ func encodeTestRequestRequiredStringBinaryArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5527,7 +5527,7 @@ func encodeTestRequestRequiredStringBinaryArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5549,7 +5549,7 @@ func encodeTestRequestRequiredStringBinaryNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -5563,7 +5563,7 @@ func encodeTestRequestRequiredStringBinaryNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5581,7 +5581,7 @@ func encodeTestRequestRequiredStringBinaryNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5603,7 +5603,7 @@ func encodeTestRequestRequiredStringByteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Base64(req) } @@ -5617,7 +5617,7 @@ func encodeTestRequestRequiredStringByteArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5635,7 +5635,7 @@ func encodeTestRequestRequiredStringByteArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5657,7 +5657,7 @@ func encodeTestRequestRequiredStringByteNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Base64(req) } @@ -5671,7 +5671,7 @@ func encodeTestRequestRequiredStringByteNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5689,7 +5689,7 @@ func encodeTestRequestRequiredStringByteNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5711,7 +5711,7 @@ func encodeTestRequestRequiredStringDateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeDate(e, req) } @@ -5725,7 +5725,7 @@ func encodeTestRequestRequiredStringDateArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5743,7 +5743,7 @@ func encodeTestRequestRequiredStringDateArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5765,7 +5765,7 @@ func encodeTestRequestRequiredStringDateNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeDate) } @@ -5779,7 +5779,7 @@ func encodeTestRequestRequiredStringDateNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5797,7 +5797,7 @@ func encodeTestRequestRequiredStringDateNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5819,7 +5819,7 @@ func encodeTestRequestRequiredStringDateTimeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeDateTime(e, req) } @@ -5833,7 +5833,7 @@ func encodeTestRequestRequiredStringDateTimeArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5851,7 +5851,7 @@ func encodeTestRequestRequiredStringDateTimeArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5873,7 +5873,7 @@ func encodeTestRequestRequiredStringDateTimeNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeDateTime) } @@ -5887,7 +5887,7 @@ func encodeTestRequestRequiredStringDateTimeNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5905,7 +5905,7 @@ func encodeTestRequestRequiredStringDateTimeNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5927,7 +5927,7 @@ func encodeTestRequestRequiredStringDurationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeDuration(e, req) } @@ -5941,7 +5941,7 @@ func encodeTestRequestRequiredStringDurationArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5959,7 +5959,7 @@ func encodeTestRequestRequiredStringDurationArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -5981,7 +5981,7 @@ func encodeTestRequestRequiredStringDurationNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -5995,7 +5995,7 @@ func encodeTestRequestRequiredStringDurationNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6013,7 +6013,7 @@ func encodeTestRequestRequiredStringDurationNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6035,7 +6035,7 @@ func encodeTestRequestRequiredStringEmailRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -6049,7 +6049,7 @@ func encodeTestRequestRequiredStringEmailArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6067,7 +6067,7 @@ func encodeTestRequestRequiredStringEmailArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6089,7 +6089,7 @@ func encodeTestRequestRequiredStringEmailNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6103,7 +6103,7 @@ func encodeTestRequestRequiredStringEmailNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6121,7 +6121,7 @@ func encodeTestRequestRequiredStringEmailNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6143,7 +6143,7 @@ func encodeTestRequestRequiredStringFloat32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringFloat32(e, req) } @@ -6157,7 +6157,7 @@ func encodeTestRequestRequiredStringFloat32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6175,7 +6175,7 @@ func encodeTestRequestRequiredStringFloat32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6197,7 +6197,7 @@ func encodeTestRequestRequiredStringFloat32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6211,7 +6211,7 @@ func encodeTestRequestRequiredStringFloat32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6229,7 +6229,7 @@ func encodeTestRequestRequiredStringFloat32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6251,7 +6251,7 @@ func encodeTestRequestRequiredStringFloat64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringFloat64(e, req) } @@ -6265,7 +6265,7 @@ func encodeTestRequestRequiredStringFloat64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6283,7 +6283,7 @@ func encodeTestRequestRequiredStringFloat64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6305,7 +6305,7 @@ func encodeTestRequestRequiredStringFloat64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6319,7 +6319,7 @@ func encodeTestRequestRequiredStringFloat64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6337,7 +6337,7 @@ func encodeTestRequestRequiredStringFloat64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6359,7 +6359,7 @@ func encodeTestRequestRequiredStringHostnameRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -6373,7 +6373,7 @@ func encodeTestRequestRequiredStringHostnameArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6391,7 +6391,7 @@ func encodeTestRequestRequiredStringHostnameArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6413,7 +6413,7 @@ func encodeTestRequestRequiredStringHostnameNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6427,7 +6427,7 @@ func encodeTestRequestRequiredStringHostnameNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6445,7 +6445,7 @@ func encodeTestRequestRequiredStringHostnameNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6467,7 +6467,7 @@ func encodeTestRequestRequiredStringIPRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeIP(e, req) } @@ -6481,7 +6481,7 @@ func encodeTestRequestRequiredStringIPArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6499,7 +6499,7 @@ func encodeTestRequestRequiredStringIPArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6521,7 +6521,7 @@ func encodeTestRequestRequiredStringIPNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6535,7 +6535,7 @@ func encodeTestRequestRequiredStringIPNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6553,7 +6553,7 @@ func encodeTestRequestRequiredStringIPNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6575,7 +6575,7 @@ func encodeTestRequestRequiredStringIntRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringInt(e, req) } @@ -6589,7 +6589,7 @@ func encodeTestRequestRequiredStringInt16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringInt16(e, req) } @@ -6603,7 +6603,7 @@ func encodeTestRequestRequiredStringInt16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6621,7 +6621,7 @@ func encodeTestRequestRequiredStringInt16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6643,7 +6643,7 @@ func encodeTestRequestRequiredStringInt16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6657,7 +6657,7 @@ func encodeTestRequestRequiredStringInt16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6675,7 +6675,7 @@ func encodeTestRequestRequiredStringInt16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6697,7 +6697,7 @@ func encodeTestRequestRequiredStringInt32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringInt32(e, req) } @@ -6711,7 +6711,7 @@ func encodeTestRequestRequiredStringInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6729,7 +6729,7 @@ func encodeTestRequestRequiredStringInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6751,7 +6751,7 @@ func encodeTestRequestRequiredStringInt32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6765,7 +6765,7 @@ func encodeTestRequestRequiredStringInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6783,7 +6783,7 @@ func encodeTestRequestRequiredStringInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6805,7 +6805,7 @@ func encodeTestRequestRequiredStringInt64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringInt64(e, req) } @@ -6819,7 +6819,7 @@ func encodeTestRequestRequiredStringInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6837,7 +6837,7 @@ func encodeTestRequestRequiredStringInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6859,7 +6859,7 @@ func encodeTestRequestRequiredStringInt64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6873,7 +6873,7 @@ func encodeTestRequestRequiredStringInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6891,7 +6891,7 @@ func encodeTestRequestRequiredStringInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6913,7 +6913,7 @@ func encodeTestRequestRequiredStringInt8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringInt8(e, req) } @@ -6927,7 +6927,7 @@ func encodeTestRequestRequiredStringInt8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6945,7 +6945,7 @@ func encodeTestRequestRequiredStringInt8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6967,7 +6967,7 @@ func encodeTestRequestRequiredStringInt8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -6981,7 +6981,7 @@ func encodeTestRequestRequiredStringInt8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -6999,7 +6999,7 @@ func encodeTestRequestRequiredStringInt8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7021,7 +7021,7 @@ func encodeTestRequestRequiredStringIntArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7039,7 +7039,7 @@ func encodeTestRequestRequiredStringIntArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7061,7 +7061,7 @@ func encodeTestRequestRequiredStringIntNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7075,7 +7075,7 @@ func encodeTestRequestRequiredStringIntNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7093,7 +7093,7 @@ func encodeTestRequestRequiredStringIntNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7115,7 +7115,7 @@ func encodeTestRequestRequiredStringIpv4Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeIPv4(e, req) } @@ -7129,7 +7129,7 @@ func encodeTestRequestRequiredStringIpv4ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7147,7 +7147,7 @@ func encodeTestRequestRequiredStringIpv4ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7169,7 +7169,7 @@ func encodeTestRequestRequiredStringIpv4NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7183,7 +7183,7 @@ func encodeTestRequestRequiredStringIpv4NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7201,7 +7201,7 @@ func encodeTestRequestRequiredStringIpv4NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7223,7 +7223,7 @@ func encodeTestRequestRequiredStringIpv6Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeIPv6(e, req) } @@ -7237,7 +7237,7 @@ func encodeTestRequestRequiredStringIpv6ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7255,7 +7255,7 @@ func encodeTestRequestRequiredStringIpv6ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7277,7 +7277,7 @@ func encodeTestRequestRequiredStringIpv6NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7291,7 +7291,7 @@ func encodeTestRequestRequiredStringIpv6NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7309,7 +7309,7 @@ func encodeTestRequestRequiredStringIpv6NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7331,7 +7331,7 @@ func encodeTestRequestRequiredStringNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7345,7 +7345,7 @@ func encodeTestRequestRequiredStringNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7363,7 +7363,7 @@ func encodeTestRequestRequiredStringNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7385,7 +7385,7 @@ func encodeTestRequestRequiredStringPasswordRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -7399,7 +7399,7 @@ func encodeTestRequestRequiredStringPasswordArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7417,7 +7417,7 @@ func encodeTestRequestRequiredStringPasswordArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7439,7 +7439,7 @@ func encodeTestRequestRequiredStringPasswordNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7453,7 +7453,7 @@ func encodeTestRequestRequiredStringPasswordNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7471,7 +7471,7 @@ func encodeTestRequestRequiredStringPasswordNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7493,7 +7493,7 @@ func encodeTestRequestRequiredStringTimeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeTime(e, req) } @@ -7507,7 +7507,7 @@ func encodeTestRequestRequiredStringTimeArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7525,7 +7525,7 @@ func encodeTestRequestRequiredStringTimeArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7547,7 +7547,7 @@ func encodeTestRequestRequiredStringTimeNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeTime) } @@ -7561,7 +7561,7 @@ func encodeTestRequestRequiredStringTimeNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7579,7 +7579,7 @@ func encodeTestRequestRequiredStringTimeNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7601,7 +7601,7 @@ func encodeTestRequestRequiredStringURIRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeURI(e, req) } @@ -7615,7 +7615,7 @@ func encodeTestRequestRequiredStringURIArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7633,7 +7633,7 @@ func encodeTestRequestRequiredStringURIArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7655,7 +7655,7 @@ func encodeTestRequestRequiredStringURINullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7669,7 +7669,7 @@ func encodeTestRequestRequiredStringURINullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7687,7 +7687,7 @@ func encodeTestRequestRequiredStringURINullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7709,7 +7709,7 @@ func encodeTestRequestRequiredStringUUIDRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeUUID(e, req) } @@ -7723,7 +7723,7 @@ func encodeTestRequestRequiredStringUUIDArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7741,7 +7741,7 @@ func encodeTestRequestRequiredStringUUIDArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7763,7 +7763,7 @@ func encodeTestRequestRequiredStringUUIDNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7777,7 +7777,7 @@ func encodeTestRequestRequiredStringUUIDNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7795,7 +7795,7 @@ func encodeTestRequestRequiredStringUUIDNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7817,7 +7817,7 @@ func encodeTestRequestRequiredStringUintRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUint(e, req) } @@ -7831,7 +7831,7 @@ func encodeTestRequestRequiredStringUint16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUint16(e, req) } @@ -7845,7 +7845,7 @@ func encodeTestRequestRequiredStringUint16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7863,7 +7863,7 @@ func encodeTestRequestRequiredStringUint16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7885,7 +7885,7 @@ func encodeTestRequestRequiredStringUint16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -7899,7 +7899,7 @@ func encodeTestRequestRequiredStringUint16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7917,7 +7917,7 @@ func encodeTestRequestRequiredStringUint16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7939,7 +7939,7 @@ func encodeTestRequestRequiredStringUint32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUint32(e, req) } @@ -7953,7 +7953,7 @@ func encodeTestRequestRequiredStringUint32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7971,7 +7971,7 @@ func encodeTestRequestRequiredStringUint32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -7993,7 +7993,7 @@ func encodeTestRequestRequiredStringUint32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -8007,7 +8007,7 @@ func encodeTestRequestRequiredStringUint32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8025,7 +8025,7 @@ func encodeTestRequestRequiredStringUint32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8047,7 +8047,7 @@ func encodeTestRequestRequiredStringUint64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUint64(e, req) } @@ -8061,7 +8061,7 @@ func encodeTestRequestRequiredStringUint64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8079,7 +8079,7 @@ func encodeTestRequestRequiredStringUint64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8101,7 +8101,7 @@ func encodeTestRequestRequiredStringUint64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -8115,7 +8115,7 @@ func encodeTestRequestRequiredStringUint64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8133,7 +8133,7 @@ func encodeTestRequestRequiredStringUint64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8155,7 +8155,7 @@ func encodeTestRequestRequiredStringUint8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUint8(e, req) } @@ -8169,7 +8169,7 @@ func encodeTestRequestRequiredStringUint8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8187,7 +8187,7 @@ func encodeTestRequestRequiredStringUint8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8209,7 +8209,7 @@ func encodeTestRequestRequiredStringUint8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -8223,7 +8223,7 @@ func encodeTestRequestRequiredStringUint8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8241,7 +8241,7 @@ func encodeTestRequestRequiredStringUint8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8263,7 +8263,7 @@ func encodeTestRequestRequiredStringUintArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8281,7 +8281,7 @@ func encodeTestRequestRequiredStringUintArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8303,7 +8303,7 @@ func encodeTestRequestRequiredStringUintNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -8317,7 +8317,7 @@ func encodeTestRequestRequiredStringUintNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8335,7 +8335,7 @@ func encodeTestRequestRequiredStringUintNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8357,7 +8357,7 @@ func encodeTestRequestRequiredStringUnixRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUnixSeconds(e, req) } @@ -8371,7 +8371,7 @@ func encodeTestRequestRequiredStringUnixArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8389,7 +8389,7 @@ func encodeTestRequestRequiredStringUnixArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8411,7 +8411,7 @@ func encodeTestRequestRequiredStringUnixMicroRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUnixMicro(e, req) } @@ -8425,7 +8425,7 @@ func encodeTestRequestRequiredStringUnixMicroArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8443,7 +8443,7 @@ func encodeTestRequestRequiredStringUnixMicroArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8465,7 +8465,7 @@ func encodeTestRequestRequiredStringUnixMicroNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeStringUnixMicro) } @@ -8479,7 +8479,7 @@ func encodeTestRequestRequiredStringUnixMicroNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8497,7 +8497,7 @@ func encodeTestRequestRequiredStringUnixMicroNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8519,7 +8519,7 @@ func encodeTestRequestRequiredStringUnixMilliRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUnixMilli(e, req) } @@ -8533,7 +8533,7 @@ func encodeTestRequestRequiredStringUnixMilliArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8551,7 +8551,7 @@ func encodeTestRequestRequiredStringUnixMilliArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8573,7 +8573,7 @@ func encodeTestRequestRequiredStringUnixMilliNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeStringUnixMilli) } @@ -8587,7 +8587,7 @@ func encodeTestRequestRequiredStringUnixMilliNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8605,7 +8605,7 @@ func encodeTestRequestRequiredStringUnixMilliNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8627,7 +8627,7 @@ func encodeTestRequestRequiredStringUnixNanoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUnixNano(e, req) } @@ -8641,7 +8641,7 @@ func encodeTestRequestRequiredStringUnixNanoArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8659,7 +8659,7 @@ func encodeTestRequestRequiredStringUnixNanoArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8681,7 +8681,7 @@ func encodeTestRequestRequiredStringUnixNanoNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeStringUnixNano) } @@ -8695,7 +8695,7 @@ func encodeTestRequestRequiredStringUnixNanoNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8713,7 +8713,7 @@ func encodeTestRequestRequiredStringUnixNanoNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8735,7 +8735,7 @@ func encodeTestRequestRequiredStringUnixNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeStringUnixSeconds) } @@ -8749,7 +8749,7 @@ func encodeTestRequestRequiredStringUnixNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8767,7 +8767,7 @@ func encodeTestRequestRequiredStringUnixNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8789,7 +8789,7 @@ func encodeTestRequestRequiredStringUnixSecondsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { json.EncodeStringUnixSeconds(e, req) } @@ -8803,7 +8803,7 @@ func encodeTestRequestRequiredStringUnixSecondsArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8821,7 +8821,7 @@ func encodeTestRequestRequiredStringUnixSecondsArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8843,7 +8843,7 @@ func encodeTestRequestRequiredStringUnixSecondsNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e, json.EncodeStringUnixSeconds) } @@ -8857,7 +8857,7 @@ func encodeTestRequestRequiredStringUnixSecondsNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8875,7 +8875,7 @@ func encodeTestRequestRequiredStringUnixSecondsNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.ArrStart() for _, elem := range req { @@ -8901,7 +8901,7 @@ func encodeTestRequestStringRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -8917,7 +8917,7 @@ func encodeTestRequestStringArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -8937,7 +8937,7 @@ func encodeTestRequestStringArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -8961,7 +8961,7 @@ func encodeTestRequestStringBase64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Base64(req) } @@ -8975,7 +8975,7 @@ func encodeTestRequestStringBase64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -8995,7 +8995,7 @@ func encodeTestRequestStringBase64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9023,7 +9023,7 @@ func encodeTestRequestStringBase64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9039,7 +9039,7 @@ func encodeTestRequestStringBase64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9059,7 +9059,7 @@ func encodeTestRequestStringBase64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9087,7 +9087,7 @@ func encodeTestRequestStringBinaryRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9103,7 +9103,7 @@ func encodeTestRequestStringBinaryArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9123,7 +9123,7 @@ func encodeTestRequestStringBinaryArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9151,7 +9151,7 @@ func encodeTestRequestStringBinaryNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9167,7 +9167,7 @@ func encodeTestRequestStringBinaryNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9187,7 +9187,7 @@ func encodeTestRequestStringBinaryNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9211,7 +9211,7 @@ func encodeTestRequestStringByteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Base64(req) } @@ -9225,7 +9225,7 @@ func encodeTestRequestStringByteArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9245,7 +9245,7 @@ func encodeTestRequestStringByteArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9273,7 +9273,7 @@ func encodeTestRequestStringByteNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9289,7 +9289,7 @@ func encodeTestRequestStringByteNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9309,7 +9309,7 @@ func encodeTestRequestStringByteNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9337,7 +9337,7 @@ func encodeTestRequestStringDateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeDate) @@ -9353,7 +9353,7 @@ func encodeTestRequestStringDateArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9373,7 +9373,7 @@ func encodeTestRequestStringDateArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9401,7 +9401,7 @@ func encodeTestRequestStringDateNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeDate) @@ -9417,7 +9417,7 @@ func encodeTestRequestStringDateNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9437,7 +9437,7 @@ func encodeTestRequestStringDateNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9465,7 +9465,7 @@ func encodeTestRequestStringDateTimeRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeDateTime) @@ -9481,7 +9481,7 @@ func encodeTestRequestStringDateTimeArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9501,7 +9501,7 @@ func encodeTestRequestStringDateTimeArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9529,7 +9529,7 @@ func encodeTestRequestStringDateTimeNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeDateTime) @@ -9545,7 +9545,7 @@ func encodeTestRequestStringDateTimeNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9565,7 +9565,7 @@ func encodeTestRequestStringDateTimeNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9593,7 +9593,7 @@ func encodeTestRequestStringDurationRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9609,7 +9609,7 @@ func encodeTestRequestStringDurationArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9629,7 +9629,7 @@ func encodeTestRequestStringDurationArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9657,7 +9657,7 @@ func encodeTestRequestStringDurationNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9673,7 +9673,7 @@ func encodeTestRequestStringDurationNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9693,7 +9693,7 @@ func encodeTestRequestStringDurationNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9721,7 +9721,7 @@ func encodeTestRequestStringEmailRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9737,7 +9737,7 @@ func encodeTestRequestStringEmailArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9757,7 +9757,7 @@ func encodeTestRequestStringEmailArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9785,7 +9785,7 @@ func encodeTestRequestStringEmailNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9801,7 +9801,7 @@ func encodeTestRequestStringEmailNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9821,7 +9821,7 @@ func encodeTestRequestStringEmailNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9849,7 +9849,7 @@ func encodeTestRequestStringFloat32Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9865,7 +9865,7 @@ func encodeTestRequestStringFloat32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9885,7 +9885,7 @@ func encodeTestRequestStringFloat32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9913,7 +9913,7 @@ func encodeTestRequestStringFloat32NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9929,7 +9929,7 @@ func encodeTestRequestStringFloat32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9949,7 +9949,7 @@ func encodeTestRequestStringFloat32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -9977,7 +9977,7 @@ func encodeTestRequestStringFloat64Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -9993,7 +9993,7 @@ func encodeTestRequestStringFloat64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10013,7 +10013,7 @@ func encodeTestRequestStringFloat64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10041,7 +10041,7 @@ func encodeTestRequestStringFloat64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10057,7 +10057,7 @@ func encodeTestRequestStringFloat64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10077,7 +10077,7 @@ func encodeTestRequestStringFloat64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10105,7 +10105,7 @@ func encodeTestRequestStringHostnameRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10121,7 +10121,7 @@ func encodeTestRequestStringHostnameArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10141,7 +10141,7 @@ func encodeTestRequestStringHostnameArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10169,7 +10169,7 @@ func encodeTestRequestStringHostnameNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10185,7 +10185,7 @@ func encodeTestRequestStringHostnameNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10205,7 +10205,7 @@ func encodeTestRequestStringHostnameNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10233,7 +10233,7 @@ func encodeTestRequestStringIPRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10249,7 +10249,7 @@ func encodeTestRequestStringIPArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10269,7 +10269,7 @@ func encodeTestRequestStringIPArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10297,7 +10297,7 @@ func encodeTestRequestStringIPNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10313,7 +10313,7 @@ func encodeTestRequestStringIPNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10333,7 +10333,7 @@ func encodeTestRequestStringIPNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10361,7 +10361,7 @@ func encodeTestRequestStringIntRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10381,7 +10381,7 @@ func encodeTestRequestStringInt16Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10397,7 +10397,7 @@ func encodeTestRequestStringInt16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10417,7 +10417,7 @@ func encodeTestRequestStringInt16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10445,7 +10445,7 @@ func encodeTestRequestStringInt16NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10461,7 +10461,7 @@ func encodeTestRequestStringInt16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10481,7 +10481,7 @@ func encodeTestRequestStringInt16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10509,7 +10509,7 @@ func encodeTestRequestStringInt32Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10525,7 +10525,7 @@ func encodeTestRequestStringInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10545,7 +10545,7 @@ func encodeTestRequestStringInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10573,7 +10573,7 @@ func encodeTestRequestStringInt32NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10589,7 +10589,7 @@ func encodeTestRequestStringInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10609,7 +10609,7 @@ func encodeTestRequestStringInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10637,7 +10637,7 @@ func encodeTestRequestStringInt64Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10653,7 +10653,7 @@ func encodeTestRequestStringInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10673,7 +10673,7 @@ func encodeTestRequestStringInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10701,7 +10701,7 @@ func encodeTestRequestStringInt64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10717,7 +10717,7 @@ func encodeTestRequestStringInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10737,7 +10737,7 @@ func encodeTestRequestStringInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10765,7 +10765,7 @@ func encodeTestRequestStringInt8Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10781,7 +10781,7 @@ func encodeTestRequestStringInt8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10801,7 +10801,7 @@ func encodeTestRequestStringInt8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10829,7 +10829,7 @@ func encodeTestRequestStringInt8NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10845,7 +10845,7 @@ func encodeTestRequestStringInt8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10865,7 +10865,7 @@ func encodeTestRequestStringInt8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10889,7 +10889,7 @@ func encodeTestRequestStringIntArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10909,7 +10909,7 @@ func encodeTestRequestStringIntArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10937,7 +10937,7 @@ func encodeTestRequestStringIntNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -10953,7 +10953,7 @@ func encodeTestRequestStringIntNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -10973,7 +10973,7 @@ func encodeTestRequestStringIntNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11001,7 +11001,7 @@ func encodeTestRequestStringIpv4Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11017,7 +11017,7 @@ func encodeTestRequestStringIpv4ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11037,7 +11037,7 @@ func encodeTestRequestStringIpv4ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11065,7 +11065,7 @@ func encodeTestRequestStringIpv4NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11081,7 +11081,7 @@ func encodeTestRequestStringIpv4NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11101,7 +11101,7 @@ func encodeTestRequestStringIpv4NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11129,7 +11129,7 @@ func encodeTestRequestStringIpv6Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11145,7 +11145,7 @@ func encodeTestRequestStringIpv6ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11165,7 +11165,7 @@ func encodeTestRequestStringIpv6ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11193,7 +11193,7 @@ func encodeTestRequestStringIpv6NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11209,7 +11209,7 @@ func encodeTestRequestStringIpv6NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11229,7 +11229,7 @@ func encodeTestRequestStringIpv6NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11257,7 +11257,7 @@ func encodeTestRequestStringNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11273,7 +11273,7 @@ func encodeTestRequestStringNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11293,7 +11293,7 @@ func encodeTestRequestStringNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11321,7 +11321,7 @@ func encodeTestRequestStringPasswordRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11337,7 +11337,7 @@ func encodeTestRequestStringPasswordArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11357,7 +11357,7 @@ func encodeTestRequestStringPasswordArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11385,7 +11385,7 @@ func encodeTestRequestStringPasswordNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11401,7 +11401,7 @@ func encodeTestRequestStringPasswordNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11421,7 +11421,7 @@ func encodeTestRequestStringPasswordNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11449,7 +11449,7 @@ func encodeTestRequestStringTimeRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeTime) @@ -11465,7 +11465,7 @@ func encodeTestRequestStringTimeArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11485,7 +11485,7 @@ func encodeTestRequestStringTimeArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11513,7 +11513,7 @@ func encodeTestRequestStringTimeNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeTime) @@ -11529,7 +11529,7 @@ func encodeTestRequestStringTimeNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11549,7 +11549,7 @@ func encodeTestRequestStringTimeNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11577,7 +11577,7 @@ func encodeTestRequestStringURIRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11593,7 +11593,7 @@ func encodeTestRequestStringURIArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11613,7 +11613,7 @@ func encodeTestRequestStringURIArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11641,7 +11641,7 @@ func encodeTestRequestStringURINullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11657,7 +11657,7 @@ func encodeTestRequestStringURINullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11677,7 +11677,7 @@ func encodeTestRequestStringURINullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11705,7 +11705,7 @@ func encodeTestRequestStringUUIDRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11721,7 +11721,7 @@ func encodeTestRequestStringUUIDArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11741,7 +11741,7 @@ func encodeTestRequestStringUUIDArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11769,7 +11769,7 @@ func encodeTestRequestStringUUIDNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11785,7 +11785,7 @@ func encodeTestRequestStringUUIDNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11805,7 +11805,7 @@ func encodeTestRequestStringUUIDNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11833,7 +11833,7 @@ func encodeTestRequestStringUintRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11853,7 +11853,7 @@ func encodeTestRequestStringUint16Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11869,7 +11869,7 @@ func encodeTestRequestStringUint16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11889,7 +11889,7 @@ func encodeTestRequestStringUint16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11917,7 +11917,7 @@ func encodeTestRequestStringUint16NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11933,7 +11933,7 @@ func encodeTestRequestStringUint16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11953,7 +11953,7 @@ func encodeTestRequestStringUint16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -11981,7 +11981,7 @@ func encodeTestRequestStringUint32Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -11997,7 +11997,7 @@ func encodeTestRequestStringUint32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12017,7 +12017,7 @@ func encodeTestRequestStringUint32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12045,7 +12045,7 @@ func encodeTestRequestStringUint32NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -12061,7 +12061,7 @@ func encodeTestRequestStringUint32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12081,7 +12081,7 @@ func encodeTestRequestStringUint32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12109,7 +12109,7 @@ func encodeTestRequestStringUint64Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -12125,7 +12125,7 @@ func encodeTestRequestStringUint64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12145,7 +12145,7 @@ func encodeTestRequestStringUint64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12173,7 +12173,7 @@ func encodeTestRequestStringUint64NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -12189,7 +12189,7 @@ func encodeTestRequestStringUint64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12209,7 +12209,7 @@ func encodeTestRequestStringUint64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12237,7 +12237,7 @@ func encodeTestRequestStringUint8Request( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -12253,7 +12253,7 @@ func encodeTestRequestStringUint8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12273,7 +12273,7 @@ func encodeTestRequestStringUint8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12301,7 +12301,7 @@ func encodeTestRequestStringUint8NullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -12317,7 +12317,7 @@ func encodeTestRequestStringUint8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12337,7 +12337,7 @@ func encodeTestRequestStringUint8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12361,7 +12361,7 @@ func encodeTestRequestStringUintArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12381,7 +12381,7 @@ func encodeTestRequestStringUintArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12409,7 +12409,7 @@ func encodeTestRequestStringUintNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -12425,7 +12425,7 @@ func encodeTestRequestStringUintNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12445,7 +12445,7 @@ func encodeTestRequestStringUintNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12473,7 +12473,7 @@ func encodeTestRequestStringUnixRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixSeconds) @@ -12489,7 +12489,7 @@ func encodeTestRequestStringUnixArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12509,7 +12509,7 @@ func encodeTestRequestStringUnixArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12537,7 +12537,7 @@ func encodeTestRequestStringUnixMicroRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixMicro) @@ -12553,7 +12553,7 @@ func encodeTestRequestStringUnixMicroArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12573,7 +12573,7 @@ func encodeTestRequestStringUnixMicroArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12601,7 +12601,7 @@ func encodeTestRequestStringUnixMicroNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixMicro) @@ -12617,7 +12617,7 @@ func encodeTestRequestStringUnixMicroNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12637,7 +12637,7 @@ func encodeTestRequestStringUnixMicroNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12665,7 +12665,7 @@ func encodeTestRequestStringUnixMilliRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixMilli) @@ -12681,7 +12681,7 @@ func encodeTestRequestStringUnixMilliArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12701,7 +12701,7 @@ func encodeTestRequestStringUnixMilliArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12729,7 +12729,7 @@ func encodeTestRequestStringUnixMilliNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixMilli) @@ -12745,7 +12745,7 @@ func encodeTestRequestStringUnixMilliNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12765,7 +12765,7 @@ func encodeTestRequestStringUnixMilliNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12793,7 +12793,7 @@ func encodeTestRequestStringUnixNanoRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixNano) @@ -12809,7 +12809,7 @@ func encodeTestRequestStringUnixNanoArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12829,7 +12829,7 @@ func encodeTestRequestStringUnixNanoArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12857,7 +12857,7 @@ func encodeTestRequestStringUnixNanoNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixNano) @@ -12873,7 +12873,7 @@ func encodeTestRequestStringUnixNanoNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12893,7 +12893,7 @@ func encodeTestRequestStringUnixNanoNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12921,7 +12921,7 @@ func encodeTestRequestStringUnixNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixSeconds) @@ -12937,7 +12937,7 @@ func encodeTestRequestStringUnixNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12957,7 +12957,7 @@ func encodeTestRequestStringUnixNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -12985,7 +12985,7 @@ func encodeTestRequestStringUnixSecondsRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixSeconds) @@ -13001,7 +13001,7 @@ func encodeTestRequestStringUnixSecondsArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -13021,7 +13021,7 @@ func encodeTestRequestStringUnixSecondsArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -13049,7 +13049,7 @@ func encodeTestRequestStringUnixSecondsNullableRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e, json.EncodeStringUnixSeconds) @@ -13065,7 +13065,7 @@ func encodeTestRequestStringUnixSecondsNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -13085,7 +13085,7 @@ func encodeTestRequestStringUnixSecondsNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { if req != nil { e.ArrStart() @@ -13109,7 +13109,7 @@ func encodeTestResponseAnyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13123,7 +13123,7 @@ func encodeTestResponseBooleanRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13137,7 +13137,7 @@ func encodeTestResponseBooleanArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13151,7 +13151,7 @@ func encodeTestResponseBooleanArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13165,7 +13165,7 @@ func encodeTestResponseBooleanNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13179,7 +13179,7 @@ func encodeTestResponseBooleanNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13193,7 +13193,7 @@ func encodeTestResponseBooleanNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13207,7 +13207,7 @@ func encodeTestResponseEmptyStructRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13221,7 +13221,7 @@ func encodeTestResponseFormatTestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13235,7 +13235,7 @@ func encodeTestResponseIntegerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13249,7 +13249,7 @@ func encodeTestResponseIntegerArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13263,7 +13263,7 @@ func encodeTestResponseIntegerArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13277,7 +13277,7 @@ func encodeTestResponseIntegerInt16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13291,7 +13291,7 @@ func encodeTestResponseIntegerInt16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13305,7 +13305,7 @@ func encodeTestResponseIntegerInt16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13319,7 +13319,7 @@ func encodeTestResponseIntegerInt16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13333,7 +13333,7 @@ func encodeTestResponseIntegerInt16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13347,7 +13347,7 @@ func encodeTestResponseIntegerInt16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13361,7 +13361,7 @@ func encodeTestResponseIntegerInt32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13375,7 +13375,7 @@ func encodeTestResponseIntegerInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13389,7 +13389,7 @@ func encodeTestResponseIntegerInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13403,7 +13403,7 @@ func encodeTestResponseIntegerInt32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13417,7 +13417,7 @@ func encodeTestResponseIntegerInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13431,7 +13431,7 @@ func encodeTestResponseIntegerInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13445,7 +13445,7 @@ func encodeTestResponseIntegerInt64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13459,7 +13459,7 @@ func encodeTestResponseIntegerInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13473,7 +13473,7 @@ func encodeTestResponseIntegerInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13487,7 +13487,7 @@ func encodeTestResponseIntegerInt64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13501,7 +13501,7 @@ func encodeTestResponseIntegerInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13515,7 +13515,7 @@ func encodeTestResponseIntegerInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13529,7 +13529,7 @@ func encodeTestResponseIntegerInt8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13543,7 +13543,7 @@ func encodeTestResponseIntegerInt8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13557,7 +13557,7 @@ func encodeTestResponseIntegerInt8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13571,7 +13571,7 @@ func encodeTestResponseIntegerInt8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13585,7 +13585,7 @@ func encodeTestResponseIntegerInt8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13599,7 +13599,7 @@ func encodeTestResponseIntegerInt8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13613,7 +13613,7 @@ func encodeTestResponseIntegerNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13627,7 +13627,7 @@ func encodeTestResponseIntegerNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13641,7 +13641,7 @@ func encodeTestResponseIntegerNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13655,7 +13655,7 @@ func encodeTestResponseIntegerUintRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13669,7 +13669,7 @@ func encodeTestResponseIntegerUint16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13683,7 +13683,7 @@ func encodeTestResponseIntegerUint16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13697,7 +13697,7 @@ func encodeTestResponseIntegerUint16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13711,7 +13711,7 @@ func encodeTestResponseIntegerUint16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13725,7 +13725,7 @@ func encodeTestResponseIntegerUint16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13739,7 +13739,7 @@ func encodeTestResponseIntegerUint16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13753,7 +13753,7 @@ func encodeTestResponseIntegerUint32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13767,7 +13767,7 @@ func encodeTestResponseIntegerUint32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13781,7 +13781,7 @@ func encodeTestResponseIntegerUint32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13795,7 +13795,7 @@ func encodeTestResponseIntegerUint32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13809,7 +13809,7 @@ func encodeTestResponseIntegerUint32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13823,7 +13823,7 @@ func encodeTestResponseIntegerUint32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13837,7 +13837,7 @@ func encodeTestResponseIntegerUint64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13851,7 +13851,7 @@ func encodeTestResponseIntegerUint64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13865,7 +13865,7 @@ func encodeTestResponseIntegerUint64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13879,7 +13879,7 @@ func encodeTestResponseIntegerUint64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13893,7 +13893,7 @@ func encodeTestResponseIntegerUint64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13907,7 +13907,7 @@ func encodeTestResponseIntegerUint64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13921,7 +13921,7 @@ func encodeTestResponseIntegerUint8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13935,7 +13935,7 @@ func encodeTestResponseIntegerUint8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13949,7 +13949,7 @@ func encodeTestResponseIntegerUint8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13963,7 +13963,7 @@ func encodeTestResponseIntegerUint8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13977,7 +13977,7 @@ func encodeTestResponseIntegerUint8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -13991,7 +13991,7 @@ func encodeTestResponseIntegerUint8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14005,7 +14005,7 @@ func encodeTestResponseIntegerUintArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14019,7 +14019,7 @@ func encodeTestResponseIntegerUintArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14033,7 +14033,7 @@ func encodeTestResponseIntegerUintNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14047,7 +14047,7 @@ func encodeTestResponseIntegerUintNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14061,7 +14061,7 @@ func encodeTestResponseIntegerUintNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14075,7 +14075,7 @@ func encodeTestResponseIntegerUnixRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14089,7 +14089,7 @@ func encodeTestResponseIntegerUnixArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14103,7 +14103,7 @@ func encodeTestResponseIntegerUnixArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14117,7 +14117,7 @@ func encodeTestResponseIntegerUnixMicroRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14131,7 +14131,7 @@ func encodeTestResponseIntegerUnixMicroArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14145,7 +14145,7 @@ func encodeTestResponseIntegerUnixMicroArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14159,7 +14159,7 @@ func encodeTestResponseIntegerUnixMicroNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14173,7 +14173,7 @@ func encodeTestResponseIntegerUnixMicroNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14187,7 +14187,7 @@ func encodeTestResponseIntegerUnixMicroNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14201,7 +14201,7 @@ func encodeTestResponseIntegerUnixMilliRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14215,7 +14215,7 @@ func encodeTestResponseIntegerUnixMilliArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14229,7 +14229,7 @@ func encodeTestResponseIntegerUnixMilliArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14243,7 +14243,7 @@ func encodeTestResponseIntegerUnixMilliNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14257,7 +14257,7 @@ func encodeTestResponseIntegerUnixMilliNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14271,7 +14271,7 @@ func encodeTestResponseIntegerUnixMilliNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14285,7 +14285,7 @@ func encodeTestResponseIntegerUnixNanoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14299,7 +14299,7 @@ func encodeTestResponseIntegerUnixNanoArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14313,7 +14313,7 @@ func encodeTestResponseIntegerUnixNanoArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14327,7 +14327,7 @@ func encodeTestResponseIntegerUnixNanoNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14341,7 +14341,7 @@ func encodeTestResponseIntegerUnixNanoNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14355,7 +14355,7 @@ func encodeTestResponseIntegerUnixNanoNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14369,7 +14369,7 @@ func encodeTestResponseIntegerUnixNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14383,7 +14383,7 @@ func encodeTestResponseIntegerUnixNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14397,7 +14397,7 @@ func encodeTestResponseIntegerUnixNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14411,7 +14411,7 @@ func encodeTestResponseIntegerUnixSecondsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14425,7 +14425,7 @@ func encodeTestResponseIntegerUnixSecondsArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14439,7 +14439,7 @@ func encodeTestResponseIntegerUnixSecondsArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14453,7 +14453,7 @@ func encodeTestResponseIntegerUnixSecondsNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14467,7 +14467,7 @@ func encodeTestResponseIntegerUnixSecondsNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14481,7 +14481,7 @@ func encodeTestResponseIntegerUnixSecondsNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14495,7 +14495,7 @@ func encodeTestResponseNullRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14509,7 +14509,7 @@ func encodeTestResponseNullArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14523,7 +14523,7 @@ func encodeTestResponseNullArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14537,7 +14537,7 @@ func encodeTestResponseNullNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14551,7 +14551,7 @@ func encodeTestResponseNullNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14565,7 +14565,7 @@ func encodeTestResponseNullNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14579,7 +14579,7 @@ func encodeTestResponseNumberRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14593,7 +14593,7 @@ func encodeTestResponseNumberArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14607,7 +14607,7 @@ func encodeTestResponseNumberArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14621,7 +14621,7 @@ func encodeTestResponseNumberDoubleRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14635,7 +14635,7 @@ func encodeTestResponseNumberDoubleArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14649,7 +14649,7 @@ func encodeTestResponseNumberDoubleArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14663,7 +14663,7 @@ func encodeTestResponseNumberDoubleNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14677,7 +14677,7 @@ func encodeTestResponseNumberDoubleNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14691,7 +14691,7 @@ func encodeTestResponseNumberDoubleNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14705,7 +14705,7 @@ func encodeTestResponseNumberFloatRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14719,7 +14719,7 @@ func encodeTestResponseNumberFloatArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14733,7 +14733,7 @@ func encodeTestResponseNumberFloatArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14747,7 +14747,7 @@ func encodeTestResponseNumberFloatNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14761,7 +14761,7 @@ func encodeTestResponseNumberFloatNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14775,7 +14775,7 @@ func encodeTestResponseNumberFloatNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14789,7 +14789,7 @@ func encodeTestResponseNumberInt32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14803,7 +14803,7 @@ func encodeTestResponseNumberInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14817,7 +14817,7 @@ func encodeTestResponseNumberInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14831,7 +14831,7 @@ func encodeTestResponseNumberInt32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14845,7 +14845,7 @@ func encodeTestResponseNumberInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14859,7 +14859,7 @@ func encodeTestResponseNumberInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14873,7 +14873,7 @@ func encodeTestResponseNumberInt64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14887,7 +14887,7 @@ func encodeTestResponseNumberInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14901,7 +14901,7 @@ func encodeTestResponseNumberInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14915,7 +14915,7 @@ func encodeTestResponseNumberInt64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14929,7 +14929,7 @@ func encodeTestResponseNumberInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14943,7 +14943,7 @@ func encodeTestResponseNumberInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14957,7 +14957,7 @@ func encodeTestResponseNumberNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14971,7 +14971,7 @@ func encodeTestResponseNumberNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14985,7 +14985,7 @@ func encodeTestResponseNumberNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -14999,7 +14999,7 @@ func encodeTestResponseStringRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15013,7 +15013,7 @@ func encodeTestResponseStringArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15027,7 +15027,7 @@ func encodeTestResponseStringArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15041,7 +15041,7 @@ func encodeTestResponseStringBase64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15055,7 +15055,7 @@ func encodeTestResponseStringBase64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15069,7 +15069,7 @@ func encodeTestResponseStringBase64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15083,7 +15083,7 @@ func encodeTestResponseStringBase64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15097,7 +15097,7 @@ func encodeTestResponseStringBase64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15111,7 +15111,7 @@ func encodeTestResponseStringBase64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15125,7 +15125,7 @@ func encodeTestResponseStringBinaryRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15139,7 +15139,7 @@ func encodeTestResponseStringBinaryArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15153,7 +15153,7 @@ func encodeTestResponseStringBinaryArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15167,7 +15167,7 @@ func encodeTestResponseStringBinaryNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15181,7 +15181,7 @@ func encodeTestResponseStringBinaryNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15195,7 +15195,7 @@ func encodeTestResponseStringBinaryNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15209,7 +15209,7 @@ func encodeTestResponseStringByteRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15223,7 +15223,7 @@ func encodeTestResponseStringByteArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15237,7 +15237,7 @@ func encodeTestResponseStringByteArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15251,7 +15251,7 @@ func encodeTestResponseStringByteNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15265,7 +15265,7 @@ func encodeTestResponseStringByteNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15279,7 +15279,7 @@ func encodeTestResponseStringByteNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15293,7 +15293,7 @@ func encodeTestResponseStringDateRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15307,7 +15307,7 @@ func encodeTestResponseStringDateArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15321,7 +15321,7 @@ func encodeTestResponseStringDateArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15335,7 +15335,7 @@ func encodeTestResponseStringDateNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15349,7 +15349,7 @@ func encodeTestResponseStringDateNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15363,7 +15363,7 @@ func encodeTestResponseStringDateNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15377,7 +15377,7 @@ func encodeTestResponseStringDateTimeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15391,7 +15391,7 @@ func encodeTestResponseStringDateTimeArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15405,7 +15405,7 @@ func encodeTestResponseStringDateTimeArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15419,7 +15419,7 @@ func encodeTestResponseStringDateTimeNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15433,7 +15433,7 @@ func encodeTestResponseStringDateTimeNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15447,7 +15447,7 @@ func encodeTestResponseStringDateTimeNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15461,7 +15461,7 @@ func encodeTestResponseStringDurationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15475,7 +15475,7 @@ func encodeTestResponseStringDurationArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15489,7 +15489,7 @@ func encodeTestResponseStringDurationArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15503,7 +15503,7 @@ func encodeTestResponseStringDurationNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15517,7 +15517,7 @@ func encodeTestResponseStringDurationNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15531,7 +15531,7 @@ func encodeTestResponseStringDurationNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15545,7 +15545,7 @@ func encodeTestResponseStringEmailRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15559,7 +15559,7 @@ func encodeTestResponseStringEmailArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15573,7 +15573,7 @@ func encodeTestResponseStringEmailArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15587,7 +15587,7 @@ func encodeTestResponseStringEmailNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15601,7 +15601,7 @@ func encodeTestResponseStringEmailNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15615,7 +15615,7 @@ func encodeTestResponseStringEmailNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15629,7 +15629,7 @@ func encodeTestResponseStringFloat32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15643,7 +15643,7 @@ func encodeTestResponseStringFloat32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15657,7 +15657,7 @@ func encodeTestResponseStringFloat32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15671,7 +15671,7 @@ func encodeTestResponseStringFloat32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15685,7 +15685,7 @@ func encodeTestResponseStringFloat32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15699,7 +15699,7 @@ func encodeTestResponseStringFloat32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15713,7 +15713,7 @@ func encodeTestResponseStringFloat64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15727,7 +15727,7 @@ func encodeTestResponseStringFloat64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15741,7 +15741,7 @@ func encodeTestResponseStringFloat64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15755,7 +15755,7 @@ func encodeTestResponseStringFloat64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15769,7 +15769,7 @@ func encodeTestResponseStringFloat64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15783,7 +15783,7 @@ func encodeTestResponseStringFloat64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15797,7 +15797,7 @@ func encodeTestResponseStringHostnameRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15811,7 +15811,7 @@ func encodeTestResponseStringHostnameArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15825,7 +15825,7 @@ func encodeTestResponseStringHostnameArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15839,7 +15839,7 @@ func encodeTestResponseStringHostnameNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15853,7 +15853,7 @@ func encodeTestResponseStringHostnameNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15867,7 +15867,7 @@ func encodeTestResponseStringHostnameNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15881,7 +15881,7 @@ func encodeTestResponseStringIPRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15895,7 +15895,7 @@ func encodeTestResponseStringIPArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15909,7 +15909,7 @@ func encodeTestResponseStringIPArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15923,7 +15923,7 @@ func encodeTestResponseStringIPNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15937,7 +15937,7 @@ func encodeTestResponseStringIPNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15951,7 +15951,7 @@ func encodeTestResponseStringIPNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15965,7 +15965,7 @@ func encodeTestResponseStringIntRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15979,7 +15979,7 @@ func encodeTestResponseStringInt16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -15993,7 +15993,7 @@ func encodeTestResponseStringInt16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16007,7 +16007,7 @@ func encodeTestResponseStringInt16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16021,7 +16021,7 @@ func encodeTestResponseStringInt16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16035,7 +16035,7 @@ func encodeTestResponseStringInt16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16049,7 +16049,7 @@ func encodeTestResponseStringInt16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16063,7 +16063,7 @@ func encodeTestResponseStringInt32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16077,7 +16077,7 @@ func encodeTestResponseStringInt32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16091,7 +16091,7 @@ func encodeTestResponseStringInt32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16105,7 +16105,7 @@ func encodeTestResponseStringInt32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16119,7 +16119,7 @@ func encodeTestResponseStringInt32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16133,7 +16133,7 @@ func encodeTestResponseStringInt32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16147,7 +16147,7 @@ func encodeTestResponseStringInt64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16161,7 +16161,7 @@ func encodeTestResponseStringInt64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16175,7 +16175,7 @@ func encodeTestResponseStringInt64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16189,7 +16189,7 @@ func encodeTestResponseStringInt64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16203,7 +16203,7 @@ func encodeTestResponseStringInt64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16217,7 +16217,7 @@ func encodeTestResponseStringInt64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16231,7 +16231,7 @@ func encodeTestResponseStringInt8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16245,7 +16245,7 @@ func encodeTestResponseStringInt8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16259,7 +16259,7 @@ func encodeTestResponseStringInt8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16273,7 +16273,7 @@ func encodeTestResponseStringInt8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16287,7 +16287,7 @@ func encodeTestResponseStringInt8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16301,7 +16301,7 @@ func encodeTestResponseStringInt8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16315,7 +16315,7 @@ func encodeTestResponseStringIntArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16329,7 +16329,7 @@ func encodeTestResponseStringIntArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16343,7 +16343,7 @@ func encodeTestResponseStringIntNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16357,7 +16357,7 @@ func encodeTestResponseStringIntNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16371,7 +16371,7 @@ func encodeTestResponseStringIntNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16385,7 +16385,7 @@ func encodeTestResponseStringIpv4Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16399,7 +16399,7 @@ func encodeTestResponseStringIpv4ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16413,7 +16413,7 @@ func encodeTestResponseStringIpv4ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16427,7 +16427,7 @@ func encodeTestResponseStringIpv4NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16441,7 +16441,7 @@ func encodeTestResponseStringIpv4NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16455,7 +16455,7 @@ func encodeTestResponseStringIpv4NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16469,7 +16469,7 @@ func encodeTestResponseStringIpv6Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16483,7 +16483,7 @@ func encodeTestResponseStringIpv6ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16497,7 +16497,7 @@ func encodeTestResponseStringIpv6ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16511,7 +16511,7 @@ func encodeTestResponseStringIpv6NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16525,7 +16525,7 @@ func encodeTestResponseStringIpv6NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16539,7 +16539,7 @@ func encodeTestResponseStringIpv6NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16553,7 +16553,7 @@ func encodeTestResponseStringNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16567,7 +16567,7 @@ func encodeTestResponseStringNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16581,7 +16581,7 @@ func encodeTestResponseStringNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16595,7 +16595,7 @@ func encodeTestResponseStringPasswordRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16609,7 +16609,7 @@ func encodeTestResponseStringPasswordArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16623,7 +16623,7 @@ func encodeTestResponseStringPasswordArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16637,7 +16637,7 @@ func encodeTestResponseStringPasswordNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16651,7 +16651,7 @@ func encodeTestResponseStringPasswordNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16665,7 +16665,7 @@ func encodeTestResponseStringPasswordNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16679,7 +16679,7 @@ func encodeTestResponseStringTimeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16693,7 +16693,7 @@ func encodeTestResponseStringTimeArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16707,7 +16707,7 @@ func encodeTestResponseStringTimeArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16721,7 +16721,7 @@ func encodeTestResponseStringTimeNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16735,7 +16735,7 @@ func encodeTestResponseStringTimeNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16749,7 +16749,7 @@ func encodeTestResponseStringTimeNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16763,7 +16763,7 @@ func encodeTestResponseStringURIRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16777,7 +16777,7 @@ func encodeTestResponseStringURIArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16791,7 +16791,7 @@ func encodeTestResponseStringURIArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16805,7 +16805,7 @@ func encodeTestResponseStringURINullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16819,7 +16819,7 @@ func encodeTestResponseStringURINullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16833,7 +16833,7 @@ func encodeTestResponseStringURINullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16847,7 +16847,7 @@ func encodeTestResponseStringUUIDRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16861,7 +16861,7 @@ func encodeTestResponseStringUUIDArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16875,7 +16875,7 @@ func encodeTestResponseStringUUIDArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16889,7 +16889,7 @@ func encodeTestResponseStringUUIDNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16903,7 +16903,7 @@ func encodeTestResponseStringUUIDNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16917,7 +16917,7 @@ func encodeTestResponseStringUUIDNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16931,7 +16931,7 @@ func encodeTestResponseStringUintRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16945,7 +16945,7 @@ func encodeTestResponseStringUint16Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16959,7 +16959,7 @@ func encodeTestResponseStringUint16ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16973,7 +16973,7 @@ func encodeTestResponseStringUint16ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -16987,7 +16987,7 @@ func encodeTestResponseStringUint16NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17001,7 +17001,7 @@ func encodeTestResponseStringUint16NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17015,7 +17015,7 @@ func encodeTestResponseStringUint16NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17029,7 +17029,7 @@ func encodeTestResponseStringUint32Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17043,7 +17043,7 @@ func encodeTestResponseStringUint32ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17057,7 +17057,7 @@ func encodeTestResponseStringUint32ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17071,7 +17071,7 @@ func encodeTestResponseStringUint32NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17085,7 +17085,7 @@ func encodeTestResponseStringUint32NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17099,7 +17099,7 @@ func encodeTestResponseStringUint32NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17113,7 +17113,7 @@ func encodeTestResponseStringUint64Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17127,7 +17127,7 @@ func encodeTestResponseStringUint64ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17141,7 +17141,7 @@ func encodeTestResponseStringUint64ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17155,7 +17155,7 @@ func encodeTestResponseStringUint64NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17169,7 +17169,7 @@ func encodeTestResponseStringUint64NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17183,7 +17183,7 @@ func encodeTestResponseStringUint64NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17197,7 +17197,7 @@ func encodeTestResponseStringUint8Request( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17211,7 +17211,7 @@ func encodeTestResponseStringUint8ArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17225,7 +17225,7 @@ func encodeTestResponseStringUint8ArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17239,7 +17239,7 @@ func encodeTestResponseStringUint8NullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17253,7 +17253,7 @@ func encodeTestResponseStringUint8NullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17267,7 +17267,7 @@ func encodeTestResponseStringUint8NullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17281,7 +17281,7 @@ func encodeTestResponseStringUintArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17295,7 +17295,7 @@ func encodeTestResponseStringUintArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17309,7 +17309,7 @@ func encodeTestResponseStringUintNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17323,7 +17323,7 @@ func encodeTestResponseStringUintNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17337,7 +17337,7 @@ func encodeTestResponseStringUintNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17351,7 +17351,7 @@ func encodeTestResponseStringUnixRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17365,7 +17365,7 @@ func encodeTestResponseStringUnixArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17379,7 +17379,7 @@ func encodeTestResponseStringUnixArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17393,7 +17393,7 @@ func encodeTestResponseStringUnixMicroRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17407,7 +17407,7 @@ func encodeTestResponseStringUnixMicroArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17421,7 +17421,7 @@ func encodeTestResponseStringUnixMicroArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17435,7 +17435,7 @@ func encodeTestResponseStringUnixMicroNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17449,7 +17449,7 @@ func encodeTestResponseStringUnixMicroNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17463,7 +17463,7 @@ func encodeTestResponseStringUnixMicroNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17477,7 +17477,7 @@ func encodeTestResponseStringUnixMilliRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17491,7 +17491,7 @@ func encodeTestResponseStringUnixMilliArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17505,7 +17505,7 @@ func encodeTestResponseStringUnixMilliArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17519,7 +17519,7 @@ func encodeTestResponseStringUnixMilliNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17533,7 +17533,7 @@ func encodeTestResponseStringUnixMilliNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17547,7 +17547,7 @@ func encodeTestResponseStringUnixMilliNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17561,7 +17561,7 @@ func encodeTestResponseStringUnixNanoRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17575,7 +17575,7 @@ func encodeTestResponseStringUnixNanoArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17589,7 +17589,7 @@ func encodeTestResponseStringUnixNanoArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17603,7 +17603,7 @@ func encodeTestResponseStringUnixNanoNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17617,7 +17617,7 @@ func encodeTestResponseStringUnixNanoNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17631,7 +17631,7 @@ func encodeTestResponseStringUnixNanoNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17645,7 +17645,7 @@ func encodeTestResponseStringUnixNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17659,7 +17659,7 @@ func encodeTestResponseStringUnixNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17673,7 +17673,7 @@ func encodeTestResponseStringUnixNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17687,7 +17687,7 @@ func encodeTestResponseStringUnixSecondsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17701,7 +17701,7 @@ func encodeTestResponseStringUnixSecondsArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17715,7 +17715,7 @@ func encodeTestResponseStringUnixSecondsArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17729,7 +17729,7 @@ func encodeTestResponseStringUnixSecondsNullableRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17743,7 +17743,7 @@ func encodeTestResponseStringUnixSecondsNullableArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } @@ -17757,7 +17757,7 @@ func encodeTestResponseStringUnixSecondsNullableArrayArrayRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Str(req) } diff --git a/examples/ex_test_format/oas_response_encoders_gen.go b/examples/ex_test_format/oas_response_encoders_gen.go index 9072acf65..668e8c0a8 100644 --- a/examples/ex_test_format/oas_response_encoders_gen.go +++ b/examples/ex_test_format/oas_response_encoders_gen.go @@ -22,7 +22,7 @@ func encodeTestQueryParameterResponse(response *Error, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -36,7 +36,7 @@ func encodeTestRequestAnyResponse(response *Error, w http.ResponseWriter, span t w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -50,7 +50,7 @@ func encodeTestRequestBooleanResponse(response *Error, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -64,7 +64,7 @@ func encodeTestRequestBooleanArrayResponse(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -78,7 +78,7 @@ func encodeTestRequestBooleanArrayArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -92,7 +92,7 @@ func encodeTestRequestBooleanNullableResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -106,7 +106,7 @@ func encodeTestRequestBooleanNullableArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -120,7 +120,7 @@ func encodeTestRequestBooleanNullableArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -134,7 +134,7 @@ func encodeTestRequestEmptyStructResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -148,7 +148,7 @@ func encodeTestRequestFormatTestResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -162,7 +162,7 @@ func encodeTestRequestIntegerResponse(response *Error, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -176,7 +176,7 @@ func encodeTestRequestIntegerArrayResponse(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -190,7 +190,7 @@ func encodeTestRequestIntegerArrayArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -204,7 +204,7 @@ func encodeTestRequestIntegerInt16Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -218,7 +218,7 @@ func encodeTestRequestIntegerInt16ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -232,7 +232,7 @@ func encodeTestRequestIntegerInt16ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -246,7 +246,7 @@ func encodeTestRequestIntegerInt16NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -260,7 +260,7 @@ func encodeTestRequestIntegerInt16NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -274,7 +274,7 @@ func encodeTestRequestIntegerInt16NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -288,7 +288,7 @@ func encodeTestRequestIntegerInt32Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -302,7 +302,7 @@ func encodeTestRequestIntegerInt32ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -316,7 +316,7 @@ func encodeTestRequestIntegerInt32ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -330,7 +330,7 @@ func encodeTestRequestIntegerInt32NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -344,7 +344,7 @@ func encodeTestRequestIntegerInt32NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -358,7 +358,7 @@ func encodeTestRequestIntegerInt32NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -372,7 +372,7 @@ func encodeTestRequestIntegerInt64Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -386,7 +386,7 @@ func encodeTestRequestIntegerInt64ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -400,7 +400,7 @@ func encodeTestRequestIntegerInt64ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -414,7 +414,7 @@ func encodeTestRequestIntegerInt64NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -428,7 +428,7 @@ func encodeTestRequestIntegerInt64NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -442,7 +442,7 @@ func encodeTestRequestIntegerInt64NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -456,7 +456,7 @@ func encodeTestRequestIntegerInt8Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -470,7 +470,7 @@ func encodeTestRequestIntegerInt8ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -484,7 +484,7 @@ func encodeTestRequestIntegerInt8ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -498,7 +498,7 @@ func encodeTestRequestIntegerInt8NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -512,7 +512,7 @@ func encodeTestRequestIntegerInt8NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -526,7 +526,7 @@ func encodeTestRequestIntegerInt8NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -540,7 +540,7 @@ func encodeTestRequestIntegerNullableResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -554,7 +554,7 @@ func encodeTestRequestIntegerNullableArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -568,7 +568,7 @@ func encodeTestRequestIntegerNullableArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -582,7 +582,7 @@ func encodeTestRequestIntegerUintResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -596,7 +596,7 @@ func encodeTestRequestIntegerUint16Response(response *Error, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -610,7 +610,7 @@ func encodeTestRequestIntegerUint16ArrayResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -624,7 +624,7 @@ func encodeTestRequestIntegerUint16ArrayArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -638,7 +638,7 @@ func encodeTestRequestIntegerUint16NullableResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -652,7 +652,7 @@ func encodeTestRequestIntegerUint16NullableArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -666,7 +666,7 @@ func encodeTestRequestIntegerUint16NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -680,7 +680,7 @@ func encodeTestRequestIntegerUint32Response(response *Error, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -694,7 +694,7 @@ func encodeTestRequestIntegerUint32ArrayResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -708,7 +708,7 @@ func encodeTestRequestIntegerUint32ArrayArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -722,7 +722,7 @@ func encodeTestRequestIntegerUint32NullableResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -736,7 +736,7 @@ func encodeTestRequestIntegerUint32NullableArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -750,7 +750,7 @@ func encodeTestRequestIntegerUint32NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -764,7 +764,7 @@ func encodeTestRequestIntegerUint64Response(response *Error, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -778,7 +778,7 @@ func encodeTestRequestIntegerUint64ArrayResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -792,7 +792,7 @@ func encodeTestRequestIntegerUint64ArrayArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -806,7 +806,7 @@ func encodeTestRequestIntegerUint64NullableResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -820,7 +820,7 @@ func encodeTestRequestIntegerUint64NullableArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -834,7 +834,7 @@ func encodeTestRequestIntegerUint64NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -848,7 +848,7 @@ func encodeTestRequestIntegerUint8Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -862,7 +862,7 @@ func encodeTestRequestIntegerUint8ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -876,7 +876,7 @@ func encodeTestRequestIntegerUint8ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -890,7 +890,7 @@ func encodeTestRequestIntegerUint8NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -904,7 +904,7 @@ func encodeTestRequestIntegerUint8NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -918,7 +918,7 @@ func encodeTestRequestIntegerUint8NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -932,7 +932,7 @@ func encodeTestRequestIntegerUintArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -946,7 +946,7 @@ func encodeTestRequestIntegerUintArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -960,7 +960,7 @@ func encodeTestRequestIntegerUintNullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -974,7 +974,7 @@ func encodeTestRequestIntegerUintNullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -988,7 +988,7 @@ func encodeTestRequestIntegerUintNullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1002,7 +1002,7 @@ func encodeTestRequestIntegerUnixResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1016,7 +1016,7 @@ func encodeTestRequestIntegerUnixArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1030,7 +1030,7 @@ func encodeTestRequestIntegerUnixArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1044,7 +1044,7 @@ func encodeTestRequestIntegerUnixMicroResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1058,7 +1058,7 @@ func encodeTestRequestIntegerUnixMicroArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1072,7 +1072,7 @@ func encodeTestRequestIntegerUnixMicroArrayArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1086,7 +1086,7 @@ func encodeTestRequestIntegerUnixMicroNullableResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1100,7 +1100,7 @@ func encodeTestRequestIntegerUnixMicroNullableArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1114,7 +1114,7 @@ func encodeTestRequestIntegerUnixMicroNullableArrayArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1128,7 +1128,7 @@ func encodeTestRequestIntegerUnixMilliResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1142,7 +1142,7 @@ func encodeTestRequestIntegerUnixMilliArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1156,7 +1156,7 @@ func encodeTestRequestIntegerUnixMilliArrayArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1170,7 +1170,7 @@ func encodeTestRequestIntegerUnixMilliNullableResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1184,7 +1184,7 @@ func encodeTestRequestIntegerUnixMilliNullableArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1198,7 +1198,7 @@ func encodeTestRequestIntegerUnixMilliNullableArrayArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1212,7 +1212,7 @@ func encodeTestRequestIntegerUnixNanoResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1226,7 +1226,7 @@ func encodeTestRequestIntegerUnixNanoArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1240,7 +1240,7 @@ func encodeTestRequestIntegerUnixNanoArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1254,7 +1254,7 @@ func encodeTestRequestIntegerUnixNanoNullableResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1268,7 +1268,7 @@ func encodeTestRequestIntegerUnixNanoNullableArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1282,7 +1282,7 @@ func encodeTestRequestIntegerUnixNanoNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1296,7 +1296,7 @@ func encodeTestRequestIntegerUnixNullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1310,7 +1310,7 @@ func encodeTestRequestIntegerUnixNullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1324,7 +1324,7 @@ func encodeTestRequestIntegerUnixNullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1338,7 +1338,7 @@ func encodeTestRequestIntegerUnixSecondsResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1352,7 +1352,7 @@ func encodeTestRequestIntegerUnixSecondsArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1366,7 +1366,7 @@ func encodeTestRequestIntegerUnixSecondsArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1380,7 +1380,7 @@ func encodeTestRequestIntegerUnixSecondsNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1394,7 +1394,7 @@ func encodeTestRequestIntegerUnixSecondsNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1408,7 +1408,7 @@ func encodeTestRequestIntegerUnixSecondsNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1422,7 +1422,7 @@ func encodeTestRequestNullResponse(response *Error, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1436,7 +1436,7 @@ func encodeTestRequestNullArrayResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1450,7 +1450,7 @@ func encodeTestRequestNullArrayArrayResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1464,7 +1464,7 @@ func encodeTestRequestNullNullableResponse(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1478,7 +1478,7 @@ func encodeTestRequestNullNullableArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1492,7 +1492,7 @@ func encodeTestRequestNullNullableArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1506,7 +1506,7 @@ func encodeTestRequestNumberResponse(response *Error, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1520,7 +1520,7 @@ func encodeTestRequestNumberArrayResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1534,7 +1534,7 @@ func encodeTestRequestNumberArrayArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1548,7 +1548,7 @@ func encodeTestRequestNumberDoubleResponse(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1562,7 +1562,7 @@ func encodeTestRequestNumberDoubleArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1576,7 +1576,7 @@ func encodeTestRequestNumberDoubleArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1590,7 +1590,7 @@ func encodeTestRequestNumberDoubleNullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1604,7 +1604,7 @@ func encodeTestRequestNumberDoubleNullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1618,7 +1618,7 @@ func encodeTestRequestNumberDoubleNullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1632,7 +1632,7 @@ func encodeTestRequestNumberFloatResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1646,7 +1646,7 @@ func encodeTestRequestNumberFloatArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1660,7 +1660,7 @@ func encodeTestRequestNumberFloatArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1674,7 +1674,7 @@ func encodeTestRequestNumberFloatNullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1688,7 +1688,7 @@ func encodeTestRequestNumberFloatNullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1702,7 +1702,7 @@ func encodeTestRequestNumberFloatNullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1716,7 +1716,7 @@ func encodeTestRequestNumberInt32Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1730,7 +1730,7 @@ func encodeTestRequestNumberInt32ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1744,7 +1744,7 @@ func encodeTestRequestNumberInt32ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1758,7 +1758,7 @@ func encodeTestRequestNumberInt32NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1772,7 +1772,7 @@ func encodeTestRequestNumberInt32NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1786,7 +1786,7 @@ func encodeTestRequestNumberInt32NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1800,7 +1800,7 @@ func encodeTestRequestNumberInt64Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1814,7 +1814,7 @@ func encodeTestRequestNumberInt64ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1828,7 +1828,7 @@ func encodeTestRequestNumberInt64ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1842,7 +1842,7 @@ func encodeTestRequestNumberInt64NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1856,7 +1856,7 @@ func encodeTestRequestNumberInt64NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1870,7 +1870,7 @@ func encodeTestRequestNumberInt64NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1884,7 +1884,7 @@ func encodeTestRequestNumberNullableResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1898,7 +1898,7 @@ func encodeTestRequestNumberNullableArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1912,7 +1912,7 @@ func encodeTestRequestNumberNullableArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1926,7 +1926,7 @@ func encodeTestRequestRequiredAnyResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1940,7 +1940,7 @@ func encodeTestRequestRequiredBooleanResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1954,7 +1954,7 @@ func encodeTestRequestRequiredBooleanArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1968,7 +1968,7 @@ func encodeTestRequestRequiredBooleanArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1982,7 +1982,7 @@ func encodeTestRequestRequiredBooleanNullableResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -1996,7 +1996,7 @@ func encodeTestRequestRequiredBooleanNullableArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2010,7 +2010,7 @@ func encodeTestRequestRequiredBooleanNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2024,7 +2024,7 @@ func encodeTestRequestRequiredEmptyStructResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2038,7 +2038,7 @@ func encodeTestRequestRequiredFormatTestResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2052,7 +2052,7 @@ func encodeTestRequestRequiredIntegerResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2066,7 +2066,7 @@ func encodeTestRequestRequiredIntegerArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2080,7 +2080,7 @@ func encodeTestRequestRequiredIntegerArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2094,7 +2094,7 @@ func encodeTestRequestRequiredIntegerInt16Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2108,7 +2108,7 @@ func encodeTestRequestRequiredIntegerInt16ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2122,7 +2122,7 @@ func encodeTestRequestRequiredIntegerInt16ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2136,7 +2136,7 @@ func encodeTestRequestRequiredIntegerInt16NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2150,7 +2150,7 @@ func encodeTestRequestRequiredIntegerInt16NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2164,7 +2164,7 @@ func encodeTestRequestRequiredIntegerInt16NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2178,7 +2178,7 @@ func encodeTestRequestRequiredIntegerInt32Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2192,7 +2192,7 @@ func encodeTestRequestRequiredIntegerInt32ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2206,7 +2206,7 @@ func encodeTestRequestRequiredIntegerInt32ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2220,7 +2220,7 @@ func encodeTestRequestRequiredIntegerInt32NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2234,7 +2234,7 @@ func encodeTestRequestRequiredIntegerInt32NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2248,7 +2248,7 @@ func encodeTestRequestRequiredIntegerInt32NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2262,7 +2262,7 @@ func encodeTestRequestRequiredIntegerInt64Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2276,7 +2276,7 @@ func encodeTestRequestRequiredIntegerInt64ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2290,7 +2290,7 @@ func encodeTestRequestRequiredIntegerInt64ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2304,7 +2304,7 @@ func encodeTestRequestRequiredIntegerInt64NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2318,7 +2318,7 @@ func encodeTestRequestRequiredIntegerInt64NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2332,7 +2332,7 @@ func encodeTestRequestRequiredIntegerInt64NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2346,7 +2346,7 @@ func encodeTestRequestRequiredIntegerInt8Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2360,7 +2360,7 @@ func encodeTestRequestRequiredIntegerInt8ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2374,7 +2374,7 @@ func encodeTestRequestRequiredIntegerInt8ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2388,7 +2388,7 @@ func encodeTestRequestRequiredIntegerInt8NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2402,7 +2402,7 @@ func encodeTestRequestRequiredIntegerInt8NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2416,7 +2416,7 @@ func encodeTestRequestRequiredIntegerInt8NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2430,7 +2430,7 @@ func encodeTestRequestRequiredIntegerNullableResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2444,7 +2444,7 @@ func encodeTestRequestRequiredIntegerNullableArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2458,7 +2458,7 @@ func encodeTestRequestRequiredIntegerNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2472,7 +2472,7 @@ func encodeTestRequestRequiredIntegerUintResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2486,7 +2486,7 @@ func encodeTestRequestRequiredIntegerUint16Response(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2500,7 +2500,7 @@ func encodeTestRequestRequiredIntegerUint16ArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2514,7 +2514,7 @@ func encodeTestRequestRequiredIntegerUint16ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2528,7 +2528,7 @@ func encodeTestRequestRequiredIntegerUint16NullableResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2542,7 +2542,7 @@ func encodeTestRequestRequiredIntegerUint16NullableArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2556,7 +2556,7 @@ func encodeTestRequestRequiredIntegerUint16NullableArrayArrayResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2570,7 +2570,7 @@ func encodeTestRequestRequiredIntegerUint32Response(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2584,7 +2584,7 @@ func encodeTestRequestRequiredIntegerUint32ArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2598,7 +2598,7 @@ func encodeTestRequestRequiredIntegerUint32ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2612,7 +2612,7 @@ func encodeTestRequestRequiredIntegerUint32NullableResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2626,7 +2626,7 @@ func encodeTestRequestRequiredIntegerUint32NullableArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2640,7 +2640,7 @@ func encodeTestRequestRequiredIntegerUint32NullableArrayArrayResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2654,7 +2654,7 @@ func encodeTestRequestRequiredIntegerUint64Response(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2668,7 +2668,7 @@ func encodeTestRequestRequiredIntegerUint64ArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2682,7 +2682,7 @@ func encodeTestRequestRequiredIntegerUint64ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2696,7 +2696,7 @@ func encodeTestRequestRequiredIntegerUint64NullableResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2710,7 +2710,7 @@ func encodeTestRequestRequiredIntegerUint64NullableArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2724,7 +2724,7 @@ func encodeTestRequestRequiredIntegerUint64NullableArrayArrayResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2738,7 +2738,7 @@ func encodeTestRequestRequiredIntegerUint8Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2752,7 +2752,7 @@ func encodeTestRequestRequiredIntegerUint8ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2766,7 +2766,7 @@ func encodeTestRequestRequiredIntegerUint8ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2780,7 +2780,7 @@ func encodeTestRequestRequiredIntegerUint8NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2794,7 +2794,7 @@ func encodeTestRequestRequiredIntegerUint8NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2808,7 +2808,7 @@ func encodeTestRequestRequiredIntegerUint8NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2822,7 +2822,7 @@ func encodeTestRequestRequiredIntegerUintArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2836,7 +2836,7 @@ func encodeTestRequestRequiredIntegerUintArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2850,7 +2850,7 @@ func encodeTestRequestRequiredIntegerUintNullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2864,7 +2864,7 @@ func encodeTestRequestRequiredIntegerUintNullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2878,7 +2878,7 @@ func encodeTestRequestRequiredIntegerUintNullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2892,7 +2892,7 @@ func encodeTestRequestRequiredIntegerUnixResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2906,7 +2906,7 @@ func encodeTestRequestRequiredIntegerUnixArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2920,7 +2920,7 @@ func encodeTestRequestRequiredIntegerUnixArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2934,7 +2934,7 @@ func encodeTestRequestRequiredIntegerUnixMicroResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2948,7 +2948,7 @@ func encodeTestRequestRequiredIntegerUnixMicroArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2962,7 +2962,7 @@ func encodeTestRequestRequiredIntegerUnixMicroArrayArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2976,7 +2976,7 @@ func encodeTestRequestRequiredIntegerUnixMicroNullableResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -2990,7 +2990,7 @@ func encodeTestRequestRequiredIntegerUnixMicroNullableArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3004,7 +3004,7 @@ func encodeTestRequestRequiredIntegerUnixMicroNullableArrayArrayResponse(respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3018,7 +3018,7 @@ func encodeTestRequestRequiredIntegerUnixMilliResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3032,7 +3032,7 @@ func encodeTestRequestRequiredIntegerUnixMilliArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3046,7 +3046,7 @@ func encodeTestRequestRequiredIntegerUnixMilliArrayArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3060,7 +3060,7 @@ func encodeTestRequestRequiredIntegerUnixMilliNullableResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3074,7 +3074,7 @@ func encodeTestRequestRequiredIntegerUnixMilliNullableArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3088,7 +3088,7 @@ func encodeTestRequestRequiredIntegerUnixMilliNullableArrayArrayResponse(respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3102,7 +3102,7 @@ func encodeTestRequestRequiredIntegerUnixNanoResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3116,7 +3116,7 @@ func encodeTestRequestRequiredIntegerUnixNanoArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3130,7 +3130,7 @@ func encodeTestRequestRequiredIntegerUnixNanoArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3144,7 +3144,7 @@ func encodeTestRequestRequiredIntegerUnixNanoNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3158,7 +3158,7 @@ func encodeTestRequestRequiredIntegerUnixNanoNullableArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3172,7 +3172,7 @@ func encodeTestRequestRequiredIntegerUnixNanoNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3186,7 +3186,7 @@ func encodeTestRequestRequiredIntegerUnixNullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3200,7 +3200,7 @@ func encodeTestRequestRequiredIntegerUnixNullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3214,7 +3214,7 @@ func encodeTestRequestRequiredIntegerUnixNullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3228,7 +3228,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3242,7 +3242,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3256,7 +3256,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3270,7 +3270,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsNullableResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3284,7 +3284,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsNullableArrayResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3298,7 +3298,7 @@ func encodeTestRequestRequiredIntegerUnixSecondsNullableArrayArrayResponse(respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3312,7 +3312,7 @@ func encodeTestRequestRequiredNullResponse(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3326,7 +3326,7 @@ func encodeTestRequestRequiredNullArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3340,7 +3340,7 @@ func encodeTestRequestRequiredNullArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3354,7 +3354,7 @@ func encodeTestRequestRequiredNullNullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3368,7 +3368,7 @@ func encodeTestRequestRequiredNullNullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3382,7 +3382,7 @@ func encodeTestRequestRequiredNullNullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3396,7 +3396,7 @@ func encodeTestRequestRequiredNumberResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3410,7 +3410,7 @@ func encodeTestRequestRequiredNumberArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3424,7 +3424,7 @@ func encodeTestRequestRequiredNumberArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3438,7 +3438,7 @@ func encodeTestRequestRequiredNumberDoubleResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3452,7 +3452,7 @@ func encodeTestRequestRequiredNumberDoubleArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3466,7 +3466,7 @@ func encodeTestRequestRequiredNumberDoubleArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3480,7 +3480,7 @@ func encodeTestRequestRequiredNumberDoubleNullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3494,7 +3494,7 @@ func encodeTestRequestRequiredNumberDoubleNullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3508,7 +3508,7 @@ func encodeTestRequestRequiredNumberDoubleNullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3522,7 +3522,7 @@ func encodeTestRequestRequiredNumberFloatResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3536,7 +3536,7 @@ func encodeTestRequestRequiredNumberFloatArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3550,7 +3550,7 @@ func encodeTestRequestRequiredNumberFloatArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3564,7 +3564,7 @@ func encodeTestRequestRequiredNumberFloatNullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3578,7 +3578,7 @@ func encodeTestRequestRequiredNumberFloatNullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3592,7 +3592,7 @@ func encodeTestRequestRequiredNumberFloatNullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3606,7 +3606,7 @@ func encodeTestRequestRequiredNumberInt32Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3620,7 +3620,7 @@ func encodeTestRequestRequiredNumberInt32ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3634,7 +3634,7 @@ func encodeTestRequestRequiredNumberInt32ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3648,7 +3648,7 @@ func encodeTestRequestRequiredNumberInt32NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3662,7 +3662,7 @@ func encodeTestRequestRequiredNumberInt32NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3676,7 +3676,7 @@ func encodeTestRequestRequiredNumberInt32NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3690,7 +3690,7 @@ func encodeTestRequestRequiredNumberInt64Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3704,7 +3704,7 @@ func encodeTestRequestRequiredNumberInt64ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3718,7 +3718,7 @@ func encodeTestRequestRequiredNumberInt64ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3732,7 +3732,7 @@ func encodeTestRequestRequiredNumberInt64NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3746,7 +3746,7 @@ func encodeTestRequestRequiredNumberInt64NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3760,7 +3760,7 @@ func encodeTestRequestRequiredNumberInt64NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3774,7 +3774,7 @@ func encodeTestRequestRequiredNumberNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3788,7 +3788,7 @@ func encodeTestRequestRequiredNumberNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3802,7 +3802,7 @@ func encodeTestRequestRequiredNumberNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3816,7 +3816,7 @@ func encodeTestRequestRequiredStringResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3830,7 +3830,7 @@ func encodeTestRequestRequiredStringArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3844,7 +3844,7 @@ func encodeTestRequestRequiredStringArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3858,7 +3858,7 @@ func encodeTestRequestRequiredStringBase64Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3872,7 +3872,7 @@ func encodeTestRequestRequiredStringBase64ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3886,7 +3886,7 @@ func encodeTestRequestRequiredStringBase64ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3900,7 +3900,7 @@ func encodeTestRequestRequiredStringBase64NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3914,7 +3914,7 @@ func encodeTestRequestRequiredStringBase64NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3928,7 +3928,7 @@ func encodeTestRequestRequiredStringBase64NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3942,7 +3942,7 @@ func encodeTestRequestRequiredStringBinaryResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3956,7 +3956,7 @@ func encodeTestRequestRequiredStringBinaryArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3970,7 +3970,7 @@ func encodeTestRequestRequiredStringBinaryArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3984,7 +3984,7 @@ func encodeTestRequestRequiredStringBinaryNullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -3998,7 +3998,7 @@ func encodeTestRequestRequiredStringBinaryNullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4012,7 +4012,7 @@ func encodeTestRequestRequiredStringBinaryNullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4026,7 +4026,7 @@ func encodeTestRequestRequiredStringByteResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4040,7 +4040,7 @@ func encodeTestRequestRequiredStringByteArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4054,7 +4054,7 @@ func encodeTestRequestRequiredStringByteArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4068,7 +4068,7 @@ func encodeTestRequestRequiredStringByteNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4082,7 +4082,7 @@ func encodeTestRequestRequiredStringByteNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4096,7 +4096,7 @@ func encodeTestRequestRequiredStringByteNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4110,7 +4110,7 @@ func encodeTestRequestRequiredStringDateResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4124,7 +4124,7 @@ func encodeTestRequestRequiredStringDateArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4138,7 +4138,7 @@ func encodeTestRequestRequiredStringDateArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4152,7 +4152,7 @@ func encodeTestRequestRequiredStringDateNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4166,7 +4166,7 @@ func encodeTestRequestRequiredStringDateNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4180,7 +4180,7 @@ func encodeTestRequestRequiredStringDateNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4194,7 +4194,7 @@ func encodeTestRequestRequiredStringDateTimeResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4208,7 +4208,7 @@ func encodeTestRequestRequiredStringDateTimeArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4222,7 +4222,7 @@ func encodeTestRequestRequiredStringDateTimeArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4236,7 +4236,7 @@ func encodeTestRequestRequiredStringDateTimeNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4250,7 +4250,7 @@ func encodeTestRequestRequiredStringDateTimeNullableArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4264,7 +4264,7 @@ func encodeTestRequestRequiredStringDateTimeNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4278,7 +4278,7 @@ func encodeTestRequestRequiredStringDurationResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4292,7 +4292,7 @@ func encodeTestRequestRequiredStringDurationArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4306,7 +4306,7 @@ func encodeTestRequestRequiredStringDurationArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4320,7 +4320,7 @@ func encodeTestRequestRequiredStringDurationNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4334,7 +4334,7 @@ func encodeTestRequestRequiredStringDurationNullableArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4348,7 +4348,7 @@ func encodeTestRequestRequiredStringDurationNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4362,7 +4362,7 @@ func encodeTestRequestRequiredStringEmailResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4376,7 +4376,7 @@ func encodeTestRequestRequiredStringEmailArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4390,7 +4390,7 @@ func encodeTestRequestRequiredStringEmailArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4404,7 +4404,7 @@ func encodeTestRequestRequiredStringEmailNullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4418,7 +4418,7 @@ func encodeTestRequestRequiredStringEmailNullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4432,7 +4432,7 @@ func encodeTestRequestRequiredStringEmailNullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4446,7 +4446,7 @@ func encodeTestRequestRequiredStringFloat32Response(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4460,7 +4460,7 @@ func encodeTestRequestRequiredStringFloat32ArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4474,7 +4474,7 @@ func encodeTestRequestRequiredStringFloat32ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4488,7 +4488,7 @@ func encodeTestRequestRequiredStringFloat32NullableResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4502,7 +4502,7 @@ func encodeTestRequestRequiredStringFloat32NullableArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4516,7 +4516,7 @@ func encodeTestRequestRequiredStringFloat32NullableArrayArrayResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4530,7 +4530,7 @@ func encodeTestRequestRequiredStringFloat64Response(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4544,7 +4544,7 @@ func encodeTestRequestRequiredStringFloat64ArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4558,7 +4558,7 @@ func encodeTestRequestRequiredStringFloat64ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4572,7 +4572,7 @@ func encodeTestRequestRequiredStringFloat64NullableResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4586,7 +4586,7 @@ func encodeTestRequestRequiredStringFloat64NullableArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4600,7 +4600,7 @@ func encodeTestRequestRequiredStringFloat64NullableArrayArrayResponse(response * w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4614,7 +4614,7 @@ func encodeTestRequestRequiredStringHostnameResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4628,7 +4628,7 @@ func encodeTestRequestRequiredStringHostnameArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4642,7 +4642,7 @@ func encodeTestRequestRequiredStringHostnameArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4656,7 +4656,7 @@ func encodeTestRequestRequiredStringHostnameNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4670,7 +4670,7 @@ func encodeTestRequestRequiredStringHostnameNullableArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4684,7 +4684,7 @@ func encodeTestRequestRequiredStringHostnameNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4698,7 +4698,7 @@ func encodeTestRequestRequiredStringIPResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4712,7 +4712,7 @@ func encodeTestRequestRequiredStringIPArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4726,7 +4726,7 @@ func encodeTestRequestRequiredStringIPArrayArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4740,7 +4740,7 @@ func encodeTestRequestRequiredStringIPNullableResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4754,7 +4754,7 @@ func encodeTestRequestRequiredStringIPNullableArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4768,7 +4768,7 @@ func encodeTestRequestRequiredStringIPNullableArrayArrayResponse(response *Error w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4782,7 +4782,7 @@ func encodeTestRequestRequiredStringIntResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4796,7 +4796,7 @@ func encodeTestRequestRequiredStringInt16Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4810,7 +4810,7 @@ func encodeTestRequestRequiredStringInt16ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4824,7 +4824,7 @@ func encodeTestRequestRequiredStringInt16ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4838,7 +4838,7 @@ func encodeTestRequestRequiredStringInt16NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4852,7 +4852,7 @@ func encodeTestRequestRequiredStringInt16NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4866,7 +4866,7 @@ func encodeTestRequestRequiredStringInt16NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4880,7 +4880,7 @@ func encodeTestRequestRequiredStringInt32Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4894,7 +4894,7 @@ func encodeTestRequestRequiredStringInt32ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4908,7 +4908,7 @@ func encodeTestRequestRequiredStringInt32ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4922,7 +4922,7 @@ func encodeTestRequestRequiredStringInt32NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4936,7 +4936,7 @@ func encodeTestRequestRequiredStringInt32NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4950,7 +4950,7 @@ func encodeTestRequestRequiredStringInt32NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4964,7 +4964,7 @@ func encodeTestRequestRequiredStringInt64Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4978,7 +4978,7 @@ func encodeTestRequestRequiredStringInt64ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -4992,7 +4992,7 @@ func encodeTestRequestRequiredStringInt64ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5006,7 +5006,7 @@ func encodeTestRequestRequiredStringInt64NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5020,7 +5020,7 @@ func encodeTestRequestRequiredStringInt64NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5034,7 +5034,7 @@ func encodeTestRequestRequiredStringInt64NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5048,7 +5048,7 @@ func encodeTestRequestRequiredStringInt8Response(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5062,7 +5062,7 @@ func encodeTestRequestRequiredStringInt8ArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5076,7 +5076,7 @@ func encodeTestRequestRequiredStringInt8ArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5090,7 +5090,7 @@ func encodeTestRequestRequiredStringInt8NullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5104,7 +5104,7 @@ func encodeTestRequestRequiredStringInt8NullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5118,7 +5118,7 @@ func encodeTestRequestRequiredStringInt8NullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5132,7 +5132,7 @@ func encodeTestRequestRequiredStringIntArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5146,7 +5146,7 @@ func encodeTestRequestRequiredStringIntArrayArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5160,7 +5160,7 @@ func encodeTestRequestRequiredStringIntNullableResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5174,7 +5174,7 @@ func encodeTestRequestRequiredStringIntNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5188,7 +5188,7 @@ func encodeTestRequestRequiredStringIntNullableArrayArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5202,7 +5202,7 @@ func encodeTestRequestRequiredStringIpv4Response(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5216,7 +5216,7 @@ func encodeTestRequestRequiredStringIpv4ArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5230,7 +5230,7 @@ func encodeTestRequestRequiredStringIpv4ArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5244,7 +5244,7 @@ func encodeTestRequestRequiredStringIpv4NullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5258,7 +5258,7 @@ func encodeTestRequestRequiredStringIpv4NullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5272,7 +5272,7 @@ func encodeTestRequestRequiredStringIpv4NullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5286,7 +5286,7 @@ func encodeTestRequestRequiredStringIpv6Response(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5300,7 +5300,7 @@ func encodeTestRequestRequiredStringIpv6ArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5314,7 +5314,7 @@ func encodeTestRequestRequiredStringIpv6ArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5328,7 +5328,7 @@ func encodeTestRequestRequiredStringIpv6NullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5342,7 +5342,7 @@ func encodeTestRequestRequiredStringIpv6NullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5356,7 +5356,7 @@ func encodeTestRequestRequiredStringIpv6NullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5370,7 +5370,7 @@ func encodeTestRequestRequiredStringNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5384,7 +5384,7 @@ func encodeTestRequestRequiredStringNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5398,7 +5398,7 @@ func encodeTestRequestRequiredStringNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5412,7 +5412,7 @@ func encodeTestRequestRequiredStringPasswordResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5426,7 +5426,7 @@ func encodeTestRequestRequiredStringPasswordArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5440,7 +5440,7 @@ func encodeTestRequestRequiredStringPasswordArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5454,7 +5454,7 @@ func encodeTestRequestRequiredStringPasswordNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5468,7 +5468,7 @@ func encodeTestRequestRequiredStringPasswordNullableArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5482,7 +5482,7 @@ func encodeTestRequestRequiredStringPasswordNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5496,7 +5496,7 @@ func encodeTestRequestRequiredStringTimeResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5510,7 +5510,7 @@ func encodeTestRequestRequiredStringTimeArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5524,7 +5524,7 @@ func encodeTestRequestRequiredStringTimeArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5538,7 +5538,7 @@ func encodeTestRequestRequiredStringTimeNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5552,7 +5552,7 @@ func encodeTestRequestRequiredStringTimeNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5566,7 +5566,7 @@ func encodeTestRequestRequiredStringTimeNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5580,7 +5580,7 @@ func encodeTestRequestRequiredStringURIResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5594,7 +5594,7 @@ func encodeTestRequestRequiredStringURIArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5608,7 +5608,7 @@ func encodeTestRequestRequiredStringURIArrayArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5622,7 +5622,7 @@ func encodeTestRequestRequiredStringURINullableResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5636,7 +5636,7 @@ func encodeTestRequestRequiredStringURINullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5650,7 +5650,7 @@ func encodeTestRequestRequiredStringURINullableArrayArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5664,7 +5664,7 @@ func encodeTestRequestRequiredStringUUIDResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5678,7 +5678,7 @@ func encodeTestRequestRequiredStringUUIDArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5692,7 +5692,7 @@ func encodeTestRequestRequiredStringUUIDArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5706,7 +5706,7 @@ func encodeTestRequestRequiredStringUUIDNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5720,7 +5720,7 @@ func encodeTestRequestRequiredStringUUIDNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5734,7 +5734,7 @@ func encodeTestRequestRequiredStringUUIDNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5748,7 +5748,7 @@ func encodeTestRequestRequiredStringUintResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5762,7 +5762,7 @@ func encodeTestRequestRequiredStringUint16Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5776,7 +5776,7 @@ func encodeTestRequestRequiredStringUint16ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5790,7 +5790,7 @@ func encodeTestRequestRequiredStringUint16ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5804,7 +5804,7 @@ func encodeTestRequestRequiredStringUint16NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5818,7 +5818,7 @@ func encodeTestRequestRequiredStringUint16NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5832,7 +5832,7 @@ func encodeTestRequestRequiredStringUint16NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5846,7 +5846,7 @@ func encodeTestRequestRequiredStringUint32Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5860,7 +5860,7 @@ func encodeTestRequestRequiredStringUint32ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5874,7 +5874,7 @@ func encodeTestRequestRequiredStringUint32ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5888,7 +5888,7 @@ func encodeTestRequestRequiredStringUint32NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5902,7 +5902,7 @@ func encodeTestRequestRequiredStringUint32NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5916,7 +5916,7 @@ func encodeTestRequestRequiredStringUint32NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5930,7 +5930,7 @@ func encodeTestRequestRequiredStringUint64Response(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5944,7 +5944,7 @@ func encodeTestRequestRequiredStringUint64ArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5958,7 +5958,7 @@ func encodeTestRequestRequiredStringUint64ArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5972,7 +5972,7 @@ func encodeTestRequestRequiredStringUint64NullableResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -5986,7 +5986,7 @@ func encodeTestRequestRequiredStringUint64NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6000,7 +6000,7 @@ func encodeTestRequestRequiredStringUint64NullableArrayArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6014,7 +6014,7 @@ func encodeTestRequestRequiredStringUint8Response(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6028,7 +6028,7 @@ func encodeTestRequestRequiredStringUint8ArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6042,7 +6042,7 @@ func encodeTestRequestRequiredStringUint8ArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6056,7 +6056,7 @@ func encodeTestRequestRequiredStringUint8NullableResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6070,7 +6070,7 @@ func encodeTestRequestRequiredStringUint8NullableArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6084,7 +6084,7 @@ func encodeTestRequestRequiredStringUint8NullableArrayArrayResponse(response *Er w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6098,7 +6098,7 @@ func encodeTestRequestRequiredStringUintArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6112,7 +6112,7 @@ func encodeTestRequestRequiredStringUintArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6126,7 +6126,7 @@ func encodeTestRequestRequiredStringUintNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6140,7 +6140,7 @@ func encodeTestRequestRequiredStringUintNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6154,7 +6154,7 @@ func encodeTestRequestRequiredStringUintNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6168,7 +6168,7 @@ func encodeTestRequestRequiredStringUnixResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6182,7 +6182,7 @@ func encodeTestRequestRequiredStringUnixArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6196,7 +6196,7 @@ func encodeTestRequestRequiredStringUnixArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6210,7 +6210,7 @@ func encodeTestRequestRequiredStringUnixMicroResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6224,7 +6224,7 @@ func encodeTestRequestRequiredStringUnixMicroArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6238,7 +6238,7 @@ func encodeTestRequestRequiredStringUnixMicroArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6252,7 +6252,7 @@ func encodeTestRequestRequiredStringUnixMicroNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6266,7 +6266,7 @@ func encodeTestRequestRequiredStringUnixMicroNullableArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6280,7 +6280,7 @@ func encodeTestRequestRequiredStringUnixMicroNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6294,7 +6294,7 @@ func encodeTestRequestRequiredStringUnixMilliResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6308,7 +6308,7 @@ func encodeTestRequestRequiredStringUnixMilliArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6322,7 +6322,7 @@ func encodeTestRequestRequiredStringUnixMilliArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6336,7 +6336,7 @@ func encodeTestRequestRequiredStringUnixMilliNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6350,7 +6350,7 @@ func encodeTestRequestRequiredStringUnixMilliNullableArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6364,7 +6364,7 @@ func encodeTestRequestRequiredStringUnixMilliNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6378,7 +6378,7 @@ func encodeTestRequestRequiredStringUnixNanoResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6392,7 +6392,7 @@ func encodeTestRequestRequiredStringUnixNanoArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6406,7 +6406,7 @@ func encodeTestRequestRequiredStringUnixNanoArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6420,7 +6420,7 @@ func encodeTestRequestRequiredStringUnixNanoNullableResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6434,7 +6434,7 @@ func encodeTestRequestRequiredStringUnixNanoNullableArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6448,7 +6448,7 @@ func encodeTestRequestRequiredStringUnixNanoNullableArrayArrayResponse(response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6462,7 +6462,7 @@ func encodeTestRequestRequiredStringUnixNullableResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6476,7 +6476,7 @@ func encodeTestRequestRequiredStringUnixNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6490,7 +6490,7 @@ func encodeTestRequestRequiredStringUnixNullableArrayArrayResponse(response *Err w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6504,7 +6504,7 @@ func encodeTestRequestRequiredStringUnixSecondsResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6518,7 +6518,7 @@ func encodeTestRequestRequiredStringUnixSecondsArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6532,7 +6532,7 @@ func encodeTestRequestRequiredStringUnixSecondsArrayArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6546,7 +6546,7 @@ func encodeTestRequestRequiredStringUnixSecondsNullableResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6560,7 +6560,7 @@ func encodeTestRequestRequiredStringUnixSecondsNullableArrayResponse(response *E w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6574,7 +6574,7 @@ func encodeTestRequestRequiredStringUnixSecondsNullableArrayArrayResponse(respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6588,7 +6588,7 @@ func encodeTestRequestStringResponse(response *Error, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6602,7 +6602,7 @@ func encodeTestRequestStringArrayResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6616,7 +6616,7 @@ func encodeTestRequestStringArrayArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6630,7 +6630,7 @@ func encodeTestRequestStringBase64Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6644,7 +6644,7 @@ func encodeTestRequestStringBase64ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6658,7 +6658,7 @@ func encodeTestRequestStringBase64ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6672,7 +6672,7 @@ func encodeTestRequestStringBase64NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6686,7 +6686,7 @@ func encodeTestRequestStringBase64NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6700,7 +6700,7 @@ func encodeTestRequestStringBase64NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6714,7 +6714,7 @@ func encodeTestRequestStringBinaryResponse(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6728,7 +6728,7 @@ func encodeTestRequestStringBinaryArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6742,7 +6742,7 @@ func encodeTestRequestStringBinaryArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6756,7 +6756,7 @@ func encodeTestRequestStringBinaryNullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6770,7 +6770,7 @@ func encodeTestRequestStringBinaryNullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6784,7 +6784,7 @@ func encodeTestRequestStringBinaryNullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6798,7 +6798,7 @@ func encodeTestRequestStringByteResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6812,7 +6812,7 @@ func encodeTestRequestStringByteArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6826,7 +6826,7 @@ func encodeTestRequestStringByteArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6840,7 +6840,7 @@ func encodeTestRequestStringByteNullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6854,7 +6854,7 @@ func encodeTestRequestStringByteNullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6868,7 +6868,7 @@ func encodeTestRequestStringByteNullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6882,7 +6882,7 @@ func encodeTestRequestStringDateResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6896,7 +6896,7 @@ func encodeTestRequestStringDateArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6910,7 +6910,7 @@ func encodeTestRequestStringDateArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6924,7 +6924,7 @@ func encodeTestRequestStringDateNullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6938,7 +6938,7 @@ func encodeTestRequestStringDateNullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6952,7 +6952,7 @@ func encodeTestRequestStringDateNullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6966,7 +6966,7 @@ func encodeTestRequestStringDateTimeResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6980,7 +6980,7 @@ func encodeTestRequestStringDateTimeArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -6994,7 +6994,7 @@ func encodeTestRequestStringDateTimeArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7008,7 +7008,7 @@ func encodeTestRequestStringDateTimeNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7022,7 +7022,7 @@ func encodeTestRequestStringDateTimeNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7036,7 +7036,7 @@ func encodeTestRequestStringDateTimeNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7050,7 +7050,7 @@ func encodeTestRequestStringDurationResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7064,7 +7064,7 @@ func encodeTestRequestStringDurationArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7078,7 +7078,7 @@ func encodeTestRequestStringDurationArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7092,7 +7092,7 @@ func encodeTestRequestStringDurationNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7106,7 +7106,7 @@ func encodeTestRequestStringDurationNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7120,7 +7120,7 @@ func encodeTestRequestStringDurationNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7134,7 +7134,7 @@ func encodeTestRequestStringEmailResponse(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7148,7 +7148,7 @@ func encodeTestRequestStringEmailArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7162,7 +7162,7 @@ func encodeTestRequestStringEmailArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7176,7 +7176,7 @@ func encodeTestRequestStringEmailNullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7190,7 +7190,7 @@ func encodeTestRequestStringEmailNullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7204,7 +7204,7 @@ func encodeTestRequestStringEmailNullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7218,7 +7218,7 @@ func encodeTestRequestStringFloat32Response(response *Error, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7232,7 +7232,7 @@ func encodeTestRequestStringFloat32ArrayResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7246,7 +7246,7 @@ func encodeTestRequestStringFloat32ArrayArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7260,7 +7260,7 @@ func encodeTestRequestStringFloat32NullableResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7274,7 +7274,7 @@ func encodeTestRequestStringFloat32NullableArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7288,7 +7288,7 @@ func encodeTestRequestStringFloat32NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7302,7 +7302,7 @@ func encodeTestRequestStringFloat64Response(response *Error, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7316,7 +7316,7 @@ func encodeTestRequestStringFloat64ArrayResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7330,7 +7330,7 @@ func encodeTestRequestStringFloat64ArrayArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7344,7 +7344,7 @@ func encodeTestRequestStringFloat64NullableResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7358,7 +7358,7 @@ func encodeTestRequestStringFloat64NullableArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7372,7 +7372,7 @@ func encodeTestRequestStringFloat64NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7386,7 +7386,7 @@ func encodeTestRequestStringHostnameResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7400,7 +7400,7 @@ func encodeTestRequestStringHostnameArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7414,7 +7414,7 @@ func encodeTestRequestStringHostnameArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7428,7 +7428,7 @@ func encodeTestRequestStringHostnameNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7442,7 +7442,7 @@ func encodeTestRequestStringHostnameNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7456,7 +7456,7 @@ func encodeTestRequestStringHostnameNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7470,7 +7470,7 @@ func encodeTestRequestStringIPResponse(response *Error, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7484,7 +7484,7 @@ func encodeTestRequestStringIPArrayResponse(response *Error, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7498,7 +7498,7 @@ func encodeTestRequestStringIPArrayArrayResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7512,7 +7512,7 @@ func encodeTestRequestStringIPNullableResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7526,7 +7526,7 @@ func encodeTestRequestStringIPNullableArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7540,7 +7540,7 @@ func encodeTestRequestStringIPNullableArrayArrayResponse(response *Error, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7554,7 +7554,7 @@ func encodeTestRequestStringIntResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7568,7 +7568,7 @@ func encodeTestRequestStringInt16Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7582,7 +7582,7 @@ func encodeTestRequestStringInt16ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7596,7 +7596,7 @@ func encodeTestRequestStringInt16ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7610,7 +7610,7 @@ func encodeTestRequestStringInt16NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7624,7 +7624,7 @@ func encodeTestRequestStringInt16NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7638,7 +7638,7 @@ func encodeTestRequestStringInt16NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7652,7 +7652,7 @@ func encodeTestRequestStringInt32Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7666,7 +7666,7 @@ func encodeTestRequestStringInt32ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7680,7 +7680,7 @@ func encodeTestRequestStringInt32ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7694,7 +7694,7 @@ func encodeTestRequestStringInt32NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7708,7 +7708,7 @@ func encodeTestRequestStringInt32NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7722,7 +7722,7 @@ func encodeTestRequestStringInt32NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7736,7 +7736,7 @@ func encodeTestRequestStringInt64Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7750,7 +7750,7 @@ func encodeTestRequestStringInt64ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7764,7 +7764,7 @@ func encodeTestRequestStringInt64ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7778,7 +7778,7 @@ func encodeTestRequestStringInt64NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7792,7 +7792,7 @@ func encodeTestRequestStringInt64NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7806,7 +7806,7 @@ func encodeTestRequestStringInt64NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7820,7 +7820,7 @@ func encodeTestRequestStringInt8Response(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7834,7 +7834,7 @@ func encodeTestRequestStringInt8ArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7848,7 +7848,7 @@ func encodeTestRequestStringInt8ArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7862,7 +7862,7 @@ func encodeTestRequestStringInt8NullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7876,7 +7876,7 @@ func encodeTestRequestStringInt8NullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7890,7 +7890,7 @@ func encodeTestRequestStringInt8NullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7904,7 +7904,7 @@ func encodeTestRequestStringIntArrayResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7918,7 +7918,7 @@ func encodeTestRequestStringIntArrayArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7932,7 +7932,7 @@ func encodeTestRequestStringIntNullableResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7946,7 +7946,7 @@ func encodeTestRequestStringIntNullableArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7960,7 +7960,7 @@ func encodeTestRequestStringIntNullableArrayArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7974,7 +7974,7 @@ func encodeTestRequestStringIpv4Response(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -7988,7 +7988,7 @@ func encodeTestRequestStringIpv4ArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8002,7 +8002,7 @@ func encodeTestRequestStringIpv4ArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8016,7 +8016,7 @@ func encodeTestRequestStringIpv4NullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8030,7 +8030,7 @@ func encodeTestRequestStringIpv4NullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8044,7 +8044,7 @@ func encodeTestRequestStringIpv4NullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8058,7 +8058,7 @@ func encodeTestRequestStringIpv6Response(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8072,7 +8072,7 @@ func encodeTestRequestStringIpv6ArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8086,7 +8086,7 @@ func encodeTestRequestStringIpv6ArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8100,7 +8100,7 @@ func encodeTestRequestStringIpv6NullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8114,7 +8114,7 @@ func encodeTestRequestStringIpv6NullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8128,7 +8128,7 @@ func encodeTestRequestStringIpv6NullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8142,7 +8142,7 @@ func encodeTestRequestStringNullableResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8156,7 +8156,7 @@ func encodeTestRequestStringNullableArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8170,7 +8170,7 @@ func encodeTestRequestStringNullableArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8184,7 +8184,7 @@ func encodeTestRequestStringPasswordResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8198,7 +8198,7 @@ func encodeTestRequestStringPasswordArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8212,7 +8212,7 @@ func encodeTestRequestStringPasswordArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8226,7 +8226,7 @@ func encodeTestRequestStringPasswordNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8240,7 +8240,7 @@ func encodeTestRequestStringPasswordNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8254,7 +8254,7 @@ func encodeTestRequestStringPasswordNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8268,7 +8268,7 @@ func encodeTestRequestStringTimeResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8282,7 +8282,7 @@ func encodeTestRequestStringTimeArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8296,7 +8296,7 @@ func encodeTestRequestStringTimeArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8310,7 +8310,7 @@ func encodeTestRequestStringTimeNullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8324,7 +8324,7 @@ func encodeTestRequestStringTimeNullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8338,7 +8338,7 @@ func encodeTestRequestStringTimeNullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8352,7 +8352,7 @@ func encodeTestRequestStringURIResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8366,7 +8366,7 @@ func encodeTestRequestStringURIArrayResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8380,7 +8380,7 @@ func encodeTestRequestStringURIArrayArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8394,7 +8394,7 @@ func encodeTestRequestStringURINullableResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8408,7 +8408,7 @@ func encodeTestRequestStringURINullableArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8422,7 +8422,7 @@ func encodeTestRequestStringURINullableArrayArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8436,7 +8436,7 @@ func encodeTestRequestStringUUIDResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8450,7 +8450,7 @@ func encodeTestRequestStringUUIDArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8464,7 +8464,7 @@ func encodeTestRequestStringUUIDArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8478,7 +8478,7 @@ func encodeTestRequestStringUUIDNullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8492,7 +8492,7 @@ func encodeTestRequestStringUUIDNullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8506,7 +8506,7 @@ func encodeTestRequestStringUUIDNullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8520,7 +8520,7 @@ func encodeTestRequestStringUintResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8534,7 +8534,7 @@ func encodeTestRequestStringUint16Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8548,7 +8548,7 @@ func encodeTestRequestStringUint16ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8562,7 +8562,7 @@ func encodeTestRequestStringUint16ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8576,7 +8576,7 @@ func encodeTestRequestStringUint16NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8590,7 +8590,7 @@ func encodeTestRequestStringUint16NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8604,7 +8604,7 @@ func encodeTestRequestStringUint16NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8618,7 +8618,7 @@ func encodeTestRequestStringUint32Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8632,7 +8632,7 @@ func encodeTestRequestStringUint32ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8646,7 +8646,7 @@ func encodeTestRequestStringUint32ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8660,7 +8660,7 @@ func encodeTestRequestStringUint32NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8674,7 +8674,7 @@ func encodeTestRequestStringUint32NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8688,7 +8688,7 @@ func encodeTestRequestStringUint32NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8702,7 +8702,7 @@ func encodeTestRequestStringUint64Response(response *Error, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8716,7 +8716,7 @@ func encodeTestRequestStringUint64ArrayResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8730,7 +8730,7 @@ func encodeTestRequestStringUint64ArrayArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8744,7 +8744,7 @@ func encodeTestRequestStringUint64NullableResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8758,7 +8758,7 @@ func encodeTestRequestStringUint64NullableArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8772,7 +8772,7 @@ func encodeTestRequestStringUint64NullableArrayArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8786,7 +8786,7 @@ func encodeTestRequestStringUint8Response(response *Error, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8800,7 +8800,7 @@ func encodeTestRequestStringUint8ArrayResponse(response *Error, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8814,7 +8814,7 @@ func encodeTestRequestStringUint8ArrayArrayResponse(response *Error, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8828,7 +8828,7 @@ func encodeTestRequestStringUint8NullableResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8842,7 +8842,7 @@ func encodeTestRequestStringUint8NullableArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8856,7 +8856,7 @@ func encodeTestRequestStringUint8NullableArrayArrayResponse(response *Error, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8870,7 +8870,7 @@ func encodeTestRequestStringUintArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8884,7 +8884,7 @@ func encodeTestRequestStringUintArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8898,7 +8898,7 @@ func encodeTestRequestStringUintNullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8912,7 +8912,7 @@ func encodeTestRequestStringUintNullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8926,7 +8926,7 @@ func encodeTestRequestStringUintNullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8940,7 +8940,7 @@ func encodeTestRequestStringUnixResponse(response *Error, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8954,7 +8954,7 @@ func encodeTestRequestStringUnixArrayResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8968,7 +8968,7 @@ func encodeTestRequestStringUnixArrayArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8982,7 +8982,7 @@ func encodeTestRequestStringUnixMicroResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -8996,7 +8996,7 @@ func encodeTestRequestStringUnixMicroArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9010,7 +9010,7 @@ func encodeTestRequestStringUnixMicroArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9024,7 +9024,7 @@ func encodeTestRequestStringUnixMicroNullableResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9038,7 +9038,7 @@ func encodeTestRequestStringUnixMicroNullableArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9052,7 +9052,7 @@ func encodeTestRequestStringUnixMicroNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9066,7 +9066,7 @@ func encodeTestRequestStringUnixMilliResponse(response *Error, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9080,7 +9080,7 @@ func encodeTestRequestStringUnixMilliArrayResponse(response *Error, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9094,7 +9094,7 @@ func encodeTestRequestStringUnixMilliArrayArrayResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9108,7 +9108,7 @@ func encodeTestRequestStringUnixMilliNullableResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9122,7 +9122,7 @@ func encodeTestRequestStringUnixMilliNullableArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9136,7 +9136,7 @@ func encodeTestRequestStringUnixMilliNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9150,7 +9150,7 @@ func encodeTestRequestStringUnixNanoResponse(response *Error, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9164,7 +9164,7 @@ func encodeTestRequestStringUnixNanoArrayResponse(response *Error, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9178,7 +9178,7 @@ func encodeTestRequestStringUnixNanoArrayArrayResponse(response *Error, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9192,7 +9192,7 @@ func encodeTestRequestStringUnixNanoNullableResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9206,7 +9206,7 @@ func encodeTestRequestStringUnixNanoNullableArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9220,7 +9220,7 @@ func encodeTestRequestStringUnixNanoNullableArrayArrayResponse(response *Error, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9234,7 +9234,7 @@ func encodeTestRequestStringUnixNullableResponse(response *Error, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9248,7 +9248,7 @@ func encodeTestRequestStringUnixNullableArrayResponse(response *Error, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9262,7 +9262,7 @@ func encodeTestRequestStringUnixNullableArrayArrayResponse(response *Error, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9276,7 +9276,7 @@ func encodeTestRequestStringUnixSecondsResponse(response *Error, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9290,7 +9290,7 @@ func encodeTestRequestStringUnixSecondsArrayResponse(response *Error, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9304,7 +9304,7 @@ func encodeTestRequestStringUnixSecondsArrayArrayResponse(response *Error, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9318,7 +9318,7 @@ func encodeTestRequestStringUnixSecondsNullableResponse(response *Error, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9332,7 +9332,7 @@ func encodeTestRequestStringUnixSecondsNullableArrayResponse(response *Error, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9346,7 +9346,7 @@ func encodeTestRequestStringUnixSecondsNullableArrayArrayResponse(response *Erro w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9360,7 +9360,7 @@ func encodeTestResponseAnyResponse(response jx.Raw, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) if len(response) != 0 { e.Raw(response) } @@ -9376,7 +9376,7 @@ func encodeTestResponseBooleanResponse(response bool, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Bool(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9390,7 +9390,7 @@ func encodeTestResponseBooleanArrayResponse(response []bool, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Bool(elem) @@ -9408,7 +9408,7 @@ func encodeTestResponseBooleanArrayArrayResponse(response [][]bool, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9430,7 +9430,7 @@ func encodeTestResponseBooleanNullableResponse(response NilBool, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9444,7 +9444,7 @@ func encodeTestResponseBooleanNullableArrayResponse(response []NilBool, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -9462,7 +9462,7 @@ func encodeTestResponseBooleanNullableArrayArrayResponse(response [][]NilBool, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9484,7 +9484,7 @@ func encodeTestResponseEmptyStructResponse(response *TestResponseEmptyStructOK, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9498,7 +9498,7 @@ func encodeTestResponseFormatTestResponse(response *TestResponseFormatTestOK, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9512,7 +9512,7 @@ func encodeTestResponseIntegerResponse(response int, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9526,7 +9526,7 @@ func encodeTestResponseIntegerArrayResponse(response []int, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int(elem) @@ -9544,7 +9544,7 @@ func encodeTestResponseIntegerArrayArrayResponse(response [][]int, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9566,7 +9566,7 @@ func encodeTestResponseIntegerInt16Response(response int16, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int16(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9580,7 +9580,7 @@ func encodeTestResponseIntegerInt16ArrayResponse(response []int16, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int16(elem) @@ -9598,7 +9598,7 @@ func encodeTestResponseIntegerInt16ArrayArrayResponse(response [][]int16, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9620,7 +9620,7 @@ func encodeTestResponseIntegerInt16NullableResponse(response NilInt16, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9634,7 +9634,7 @@ func encodeTestResponseIntegerInt16NullableArrayResponse(response []NilInt16, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -9652,7 +9652,7 @@ func encodeTestResponseIntegerInt16NullableArrayArrayResponse(response [][]NilIn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9674,7 +9674,7 @@ func encodeTestResponseIntegerInt32Response(response int32, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int32(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9688,7 +9688,7 @@ func encodeTestResponseIntegerInt32ArrayResponse(response []int32, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int32(elem) @@ -9706,7 +9706,7 @@ func encodeTestResponseIntegerInt32ArrayArrayResponse(response [][]int32, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9728,7 +9728,7 @@ func encodeTestResponseIntegerInt32NullableResponse(response NilInt32, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9742,7 +9742,7 @@ func encodeTestResponseIntegerInt32NullableArrayResponse(response []NilInt32, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -9760,7 +9760,7 @@ func encodeTestResponseIntegerInt32NullableArrayArrayResponse(response [][]NilIn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9782,7 +9782,7 @@ func encodeTestResponseIntegerInt64Response(response int64, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9796,7 +9796,7 @@ func encodeTestResponseIntegerInt64ArrayResponse(response []int64, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int64(elem) @@ -9814,7 +9814,7 @@ func encodeTestResponseIntegerInt64ArrayArrayResponse(response [][]int64, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9836,7 +9836,7 @@ func encodeTestResponseIntegerInt64NullableResponse(response NilInt64, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9850,7 +9850,7 @@ func encodeTestResponseIntegerInt64NullableArrayResponse(response []NilInt64, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -9868,7 +9868,7 @@ func encodeTestResponseIntegerInt64NullableArrayArrayResponse(response [][]NilIn w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9890,7 +9890,7 @@ func encodeTestResponseIntegerInt8Response(response int8, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int8(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9904,7 +9904,7 @@ func encodeTestResponseIntegerInt8ArrayResponse(response []int8, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int8(elem) @@ -9922,7 +9922,7 @@ func encodeTestResponseIntegerInt8ArrayArrayResponse(response [][]int8, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9944,7 +9944,7 @@ func encodeTestResponseIntegerInt8NullableResponse(response NilInt8, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -9958,7 +9958,7 @@ func encodeTestResponseIntegerInt8NullableArrayResponse(response []NilInt8, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -9976,7 +9976,7 @@ func encodeTestResponseIntegerInt8NullableArrayArrayResponse(response [][]NilInt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -9998,7 +9998,7 @@ func encodeTestResponseIntegerNullableResponse(response NilInt, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10012,7 +10012,7 @@ func encodeTestResponseIntegerNullableArrayResponse(response []NilInt, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -10030,7 +10030,7 @@ func encodeTestResponseIntegerNullableArrayArrayResponse(response [][]NilInt, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10052,7 +10052,7 @@ func encodeTestResponseIntegerUintResponse(response uint, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.UInt(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10066,7 +10066,7 @@ func encodeTestResponseIntegerUint16Response(response uint16, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.UInt16(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10080,7 +10080,7 @@ func encodeTestResponseIntegerUint16ArrayResponse(response []uint16, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.UInt16(elem) @@ -10098,7 +10098,7 @@ func encodeTestResponseIntegerUint16ArrayArrayResponse(response [][]uint16, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10120,7 +10120,7 @@ func encodeTestResponseIntegerUint16NullableResponse(response NilUint16, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10134,7 +10134,7 @@ func encodeTestResponseIntegerUint16NullableArrayResponse(response []NilUint16, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -10152,7 +10152,7 @@ func encodeTestResponseIntegerUint16NullableArrayArrayResponse(response [][]NilU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10174,7 +10174,7 @@ func encodeTestResponseIntegerUint32Response(response uint32, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.UInt32(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10188,7 +10188,7 @@ func encodeTestResponseIntegerUint32ArrayResponse(response []uint32, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.UInt32(elem) @@ -10206,7 +10206,7 @@ func encodeTestResponseIntegerUint32ArrayArrayResponse(response [][]uint32, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10228,7 +10228,7 @@ func encodeTestResponseIntegerUint32NullableResponse(response NilUint32, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10242,7 +10242,7 @@ func encodeTestResponseIntegerUint32NullableArrayResponse(response []NilUint32, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -10260,7 +10260,7 @@ func encodeTestResponseIntegerUint32NullableArrayArrayResponse(response [][]NilU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10282,7 +10282,7 @@ func encodeTestResponseIntegerUint64Response(response uint64, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.UInt64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10296,7 +10296,7 @@ func encodeTestResponseIntegerUint64ArrayResponse(response []uint64, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.UInt64(elem) @@ -10314,7 +10314,7 @@ func encodeTestResponseIntegerUint64ArrayArrayResponse(response [][]uint64, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10336,7 +10336,7 @@ func encodeTestResponseIntegerUint64NullableResponse(response NilUint64, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10350,7 +10350,7 @@ func encodeTestResponseIntegerUint64NullableArrayResponse(response []NilUint64, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -10368,7 +10368,7 @@ func encodeTestResponseIntegerUint64NullableArrayArrayResponse(response [][]NilU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10390,7 +10390,7 @@ func encodeTestResponseIntegerUint8Response(response uint8, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.UInt8(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10404,7 +10404,7 @@ func encodeTestResponseIntegerUint8ArrayResponse(response []uint8, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.UInt8(elem) @@ -10422,7 +10422,7 @@ func encodeTestResponseIntegerUint8ArrayArrayResponse(response [][]uint8, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10444,7 +10444,7 @@ func encodeTestResponseIntegerUint8NullableResponse(response NilUint8, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10458,7 +10458,7 @@ func encodeTestResponseIntegerUint8NullableArrayResponse(response []NilUint8, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -10476,7 +10476,7 @@ func encodeTestResponseIntegerUint8NullableArrayArrayResponse(response [][]NilUi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10498,7 +10498,7 @@ func encodeTestResponseIntegerUintArrayResponse(response []uint, w http.Response w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.UInt(elem) @@ -10516,7 +10516,7 @@ func encodeTestResponseIntegerUintArrayArrayResponse(response [][]uint, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10538,7 +10538,7 @@ func encodeTestResponseIntegerUintNullableResponse(response NilUint, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10552,7 +10552,7 @@ func encodeTestResponseIntegerUintNullableArrayResponse(response []NilUint, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -10570,7 +10570,7 @@ func encodeTestResponseIntegerUintNullableArrayArrayResponse(response [][]NilUin w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10592,7 +10592,7 @@ func encodeTestResponseIntegerUnixResponse(response time.Time, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeUnixSeconds(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10606,7 +10606,7 @@ func encodeTestResponseIntegerUnixArrayResponse(response []time.Time, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeUnixSeconds(e, elem) @@ -10624,7 +10624,7 @@ func encodeTestResponseIntegerUnixArrayArrayResponse(response [][]time.Time, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10646,7 +10646,7 @@ func encodeTestResponseIntegerUnixMicroResponse(response time.Time, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeUnixMicro(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10660,7 +10660,7 @@ func encodeTestResponseIntegerUnixMicroArrayResponse(response []time.Time, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeUnixMicro(e, elem) @@ -10678,7 +10678,7 @@ func encodeTestResponseIntegerUnixMicroArrayArrayResponse(response [][]time.Time w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10700,7 +10700,7 @@ func encodeTestResponseIntegerUnixMicroNullableResponse(response NilUnixMicro, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeUnixMicro) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10714,7 +10714,7 @@ func encodeTestResponseIntegerUnixMicroNullableArrayResponse(response []NilUnixM w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeUnixMicro) @@ -10732,7 +10732,7 @@ func encodeTestResponseIntegerUnixMicroNullableArrayArrayResponse(response [][]N w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10754,7 +10754,7 @@ func encodeTestResponseIntegerUnixMilliResponse(response time.Time, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeUnixMilli(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10768,7 +10768,7 @@ func encodeTestResponseIntegerUnixMilliArrayResponse(response []time.Time, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeUnixMilli(e, elem) @@ -10786,7 +10786,7 @@ func encodeTestResponseIntegerUnixMilliArrayArrayResponse(response [][]time.Time w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10808,7 +10808,7 @@ func encodeTestResponseIntegerUnixMilliNullableResponse(response NilUnixMilli, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeUnixMilli) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10822,7 +10822,7 @@ func encodeTestResponseIntegerUnixMilliNullableArrayResponse(response []NilUnixM w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeUnixMilli) @@ -10840,7 +10840,7 @@ func encodeTestResponseIntegerUnixMilliNullableArrayArrayResponse(response [][]N w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10862,7 +10862,7 @@ func encodeTestResponseIntegerUnixNanoResponse(response time.Time, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeUnixNano(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10876,7 +10876,7 @@ func encodeTestResponseIntegerUnixNanoArrayResponse(response []time.Time, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeUnixNano(e, elem) @@ -10894,7 +10894,7 @@ func encodeTestResponseIntegerUnixNanoArrayArrayResponse(response [][]time.Time, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10916,7 +10916,7 @@ func encodeTestResponseIntegerUnixNanoNullableResponse(response NilUnixNano, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeUnixNano) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10930,7 +10930,7 @@ func encodeTestResponseIntegerUnixNanoNullableArrayResponse(response []NilUnixNa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeUnixNano) @@ -10948,7 +10948,7 @@ func encodeTestResponseIntegerUnixNanoNullableArrayArrayResponse(response [][]Ni w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -10970,7 +10970,7 @@ func encodeTestResponseIntegerUnixNullableResponse(response NilUnixSeconds, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeUnixSeconds) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -10984,7 +10984,7 @@ func encodeTestResponseIntegerUnixNullableArrayResponse(response []NilUnixSecond w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeUnixSeconds) @@ -11002,7 +11002,7 @@ func encodeTestResponseIntegerUnixNullableArrayArrayResponse(response [][]NilUni w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11024,7 +11024,7 @@ func encodeTestResponseIntegerUnixSecondsResponse(response time.Time, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeUnixSeconds(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11038,7 +11038,7 @@ func encodeTestResponseIntegerUnixSecondsArrayResponse(response []time.Time, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeUnixSeconds(e, elem) @@ -11056,7 +11056,7 @@ func encodeTestResponseIntegerUnixSecondsArrayArrayResponse(response [][]time.Ti w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11078,7 +11078,7 @@ func encodeTestResponseIntegerUnixSecondsNullableResponse(response NilUnixSecond w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeUnixSeconds) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11092,7 +11092,7 @@ func encodeTestResponseIntegerUnixSecondsNullableArrayResponse(response []NilUni w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeUnixSeconds) @@ -11110,7 +11110,7 @@ func encodeTestResponseIntegerUnixSecondsNullableArrayArrayResponse(response [][ w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11132,7 +11132,7 @@ func encodeTestResponseNullResponse(response struct{}, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) _ = response e.Null() if _, err := e.WriteTo(w); err != nil { @@ -11147,7 +11147,7 @@ func encodeTestResponseNullArrayResponse(response []struct{}, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { _ = elem @@ -11166,7 +11166,7 @@ func encodeTestResponseNullArrayArrayResponse(response [][]struct{}, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11189,7 +11189,7 @@ func encodeTestResponseNullNullableResponse(response struct{}, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) _ = response e.Null() if _, err := e.WriteTo(w); err != nil { @@ -11204,7 +11204,7 @@ func encodeTestResponseNullNullableArrayResponse(response []struct{}, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { _ = elem @@ -11223,7 +11223,7 @@ func encodeTestResponseNullNullableArrayArrayResponse(response [][]struct{}, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11246,7 +11246,7 @@ func encodeTestResponseNumberResponse(response float64, w http.ResponseWriter, s w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Float64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11260,7 +11260,7 @@ func encodeTestResponseNumberArrayResponse(response []float64, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Float64(elem) @@ -11278,7 +11278,7 @@ func encodeTestResponseNumberArrayArrayResponse(response [][]float64, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11300,7 +11300,7 @@ func encodeTestResponseNumberDoubleResponse(response float64, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Float64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11314,7 +11314,7 @@ func encodeTestResponseNumberDoubleArrayResponse(response []float64, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Float64(elem) @@ -11332,7 +11332,7 @@ func encodeTestResponseNumberDoubleArrayArrayResponse(response [][]float64, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11354,7 +11354,7 @@ func encodeTestResponseNumberDoubleNullableResponse(response NilFloat64, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11368,7 +11368,7 @@ func encodeTestResponseNumberDoubleNullableArrayResponse(response []NilFloat64, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -11386,7 +11386,7 @@ func encodeTestResponseNumberDoubleNullableArrayArrayResponse(response [][]NilFl w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11408,7 +11408,7 @@ func encodeTestResponseNumberFloatResponse(response float32, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Float32(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11422,7 +11422,7 @@ func encodeTestResponseNumberFloatArrayResponse(response []float32, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Float32(elem) @@ -11440,7 +11440,7 @@ func encodeTestResponseNumberFloatArrayArrayResponse(response [][]float32, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11462,7 +11462,7 @@ func encodeTestResponseNumberFloatNullableResponse(response NilFloat32, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11476,7 +11476,7 @@ func encodeTestResponseNumberFloatNullableArrayResponse(response []NilFloat32, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -11494,7 +11494,7 @@ func encodeTestResponseNumberFloatNullableArrayArrayResponse(response [][]NilFlo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11516,7 +11516,7 @@ func encodeTestResponseNumberInt32Response(response int32, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int32(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11530,7 +11530,7 @@ func encodeTestResponseNumberInt32ArrayResponse(response []int32, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int32(elem) @@ -11548,7 +11548,7 @@ func encodeTestResponseNumberInt32ArrayArrayResponse(response [][]int32, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11570,7 +11570,7 @@ func encodeTestResponseNumberInt32NullableResponse(response NilInt32, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11584,7 +11584,7 @@ func encodeTestResponseNumberInt32NullableArrayResponse(response []NilInt32, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -11602,7 +11602,7 @@ func encodeTestResponseNumberInt32NullableArrayArrayResponse(response [][]NilInt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11624,7 +11624,7 @@ func encodeTestResponseNumberInt64Response(response int64, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11638,7 +11638,7 @@ func encodeTestResponseNumberInt64ArrayResponse(response []int64, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Int64(elem) @@ -11656,7 +11656,7 @@ func encodeTestResponseNumberInt64ArrayArrayResponse(response [][]int64, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11678,7 +11678,7 @@ func encodeTestResponseNumberInt64NullableResponse(response NilInt64, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11692,7 +11692,7 @@ func encodeTestResponseNumberInt64NullableArrayResponse(response []NilInt64, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -11710,7 +11710,7 @@ func encodeTestResponseNumberInt64NullableArrayArrayResponse(response [][]NilInt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11732,7 +11732,7 @@ func encodeTestResponseNumberNullableResponse(response NilFloat64, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11746,7 +11746,7 @@ func encodeTestResponseNumberNullableArrayResponse(response []NilFloat64, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -11764,7 +11764,7 @@ func encodeTestResponseNumberNullableArrayArrayResponse(response [][]NilFloat64, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11786,7 +11786,7 @@ func encodeTestResponseStringResponse(response string, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11800,7 +11800,7 @@ func encodeTestResponseStringArrayResponse(response []string, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -11818,7 +11818,7 @@ func encodeTestResponseStringArrayArrayResponse(response [][]string, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11840,7 +11840,7 @@ func encodeTestResponseStringBase64Response(response []byte, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Base64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11854,7 +11854,7 @@ func encodeTestResponseStringBase64ArrayResponse(response [][]byte, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Base64(elem) @@ -11872,7 +11872,7 @@ func encodeTestResponseStringBase64ArrayArrayResponse(response [][][]byte, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11894,7 +11894,7 @@ func encodeTestResponseStringBase64NullableResponse(response []byte, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Base64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11908,7 +11908,7 @@ func encodeTestResponseStringBase64NullableArrayResponse(response [][]byte, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Base64(elem) @@ -11926,7 +11926,7 @@ func encodeTestResponseStringBase64NullableArrayArrayResponse(response [][][]byt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -11948,7 +11948,7 @@ func encodeTestResponseStringBinaryResponse(response string, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -11962,7 +11962,7 @@ func encodeTestResponseStringBinaryArrayResponse(response []string, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -11980,7 +11980,7 @@ func encodeTestResponseStringBinaryArrayArrayResponse(response [][]string, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12002,7 +12002,7 @@ func encodeTestResponseStringBinaryNullableResponse(response NilString, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12016,7 +12016,7 @@ func encodeTestResponseStringBinaryNullableArrayResponse(response []NilString, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12034,7 +12034,7 @@ func encodeTestResponseStringBinaryNullableArrayArrayResponse(response [][]NilSt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12056,7 +12056,7 @@ func encodeTestResponseStringByteResponse(response []byte, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Base64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12070,7 +12070,7 @@ func encodeTestResponseStringByteArrayResponse(response [][]byte, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Base64(elem) @@ -12088,7 +12088,7 @@ func encodeTestResponseStringByteArrayArrayResponse(response [][][]byte, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12110,7 +12110,7 @@ func encodeTestResponseStringByteNullableResponse(response []byte, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Base64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12124,7 +12124,7 @@ func encodeTestResponseStringByteNullableArrayResponse(response [][]byte, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Base64(elem) @@ -12142,7 +12142,7 @@ func encodeTestResponseStringByteNullableArrayArrayResponse(response [][][]byte, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12164,7 +12164,7 @@ func encodeTestResponseStringDateResponse(response time.Time, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeDate(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12178,7 +12178,7 @@ func encodeTestResponseStringDateArrayResponse(response []time.Time, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeDate(e, elem) @@ -12196,7 +12196,7 @@ func encodeTestResponseStringDateArrayArrayResponse(response [][]time.Time, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12218,7 +12218,7 @@ func encodeTestResponseStringDateNullableResponse(response NilDate, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeDate) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12232,7 +12232,7 @@ func encodeTestResponseStringDateNullableArrayResponse(response []NilDate, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeDate) @@ -12250,7 +12250,7 @@ func encodeTestResponseStringDateNullableArrayArrayResponse(response [][]NilDate w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12272,7 +12272,7 @@ func encodeTestResponseStringDateTimeResponse(response time.Time, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeDateTime(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12286,7 +12286,7 @@ func encodeTestResponseStringDateTimeArrayResponse(response []time.Time, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeDateTime(e, elem) @@ -12304,7 +12304,7 @@ func encodeTestResponseStringDateTimeArrayArrayResponse(response [][]time.Time, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12326,7 +12326,7 @@ func encodeTestResponseStringDateTimeNullableResponse(response NilDateTime, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeDateTime) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12340,7 +12340,7 @@ func encodeTestResponseStringDateTimeNullableArrayResponse(response []NilDateTim w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeDateTime) @@ -12358,7 +12358,7 @@ func encodeTestResponseStringDateTimeNullableArrayArrayResponse(response [][]Nil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12380,7 +12380,7 @@ func encodeTestResponseStringDurationResponse(response time.Duration, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeDuration(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12394,7 +12394,7 @@ func encodeTestResponseStringDurationArrayResponse(response []time.Duration, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeDuration(e, elem) @@ -12412,7 +12412,7 @@ func encodeTestResponseStringDurationArrayArrayResponse(response [][]time.Durati w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12434,7 +12434,7 @@ func encodeTestResponseStringDurationNullableResponse(response NilDuration, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12448,7 +12448,7 @@ func encodeTestResponseStringDurationNullableArrayResponse(response []NilDuratio w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12466,7 +12466,7 @@ func encodeTestResponseStringDurationNullableArrayArrayResponse(response [][]Nil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12488,7 +12488,7 @@ func encodeTestResponseStringEmailResponse(response string, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12502,7 +12502,7 @@ func encodeTestResponseStringEmailArrayResponse(response []string, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -12520,7 +12520,7 @@ func encodeTestResponseStringEmailArrayArrayResponse(response [][]string, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12542,7 +12542,7 @@ func encodeTestResponseStringEmailNullableResponse(response NilString, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12556,7 +12556,7 @@ func encodeTestResponseStringEmailNullableArrayResponse(response []NilString, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12574,7 +12574,7 @@ func encodeTestResponseStringEmailNullableArrayArrayResponse(response [][]NilStr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12596,7 +12596,7 @@ func encodeTestResponseStringFloat32Response(response float32, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringFloat32(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12610,7 +12610,7 @@ func encodeTestResponseStringFloat32ArrayResponse(response []float32, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringFloat32(e, elem) @@ -12628,7 +12628,7 @@ func encodeTestResponseStringFloat32ArrayArrayResponse(response [][]float32, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12650,7 +12650,7 @@ func encodeTestResponseStringFloat32NullableResponse(response NilFloat32, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12664,7 +12664,7 @@ func encodeTestResponseStringFloat32NullableArrayResponse(response []NilFloat32, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12682,7 +12682,7 @@ func encodeTestResponseStringFloat32NullableArrayArrayResponse(response [][]NilF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12704,7 +12704,7 @@ func encodeTestResponseStringFloat64Response(response float64, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringFloat64(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12718,7 +12718,7 @@ func encodeTestResponseStringFloat64ArrayResponse(response []float64, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringFloat64(e, elem) @@ -12736,7 +12736,7 @@ func encodeTestResponseStringFloat64ArrayArrayResponse(response [][]float64, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12758,7 +12758,7 @@ func encodeTestResponseStringFloat64NullableResponse(response NilFloat64, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12772,7 +12772,7 @@ func encodeTestResponseStringFloat64NullableArrayResponse(response []NilFloat64, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12790,7 +12790,7 @@ func encodeTestResponseStringFloat64NullableArrayArrayResponse(response [][]NilF w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12812,7 +12812,7 @@ func encodeTestResponseStringHostnameResponse(response string, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12826,7 +12826,7 @@ func encodeTestResponseStringHostnameArrayResponse(response []string, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -12844,7 +12844,7 @@ func encodeTestResponseStringHostnameArrayArrayResponse(response [][]string, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12866,7 +12866,7 @@ func encodeTestResponseStringHostnameNullableResponse(response NilString, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12880,7 +12880,7 @@ func encodeTestResponseStringHostnameNullableArrayResponse(response []NilString, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -12898,7 +12898,7 @@ func encodeTestResponseStringHostnameNullableArrayArrayResponse(response [][]Nil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12920,7 +12920,7 @@ func encodeTestResponseStringIPResponse(response netip.Addr, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeIP(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12934,7 +12934,7 @@ func encodeTestResponseStringIPArrayResponse(response []netip.Addr, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeIP(e, elem) @@ -12952,7 +12952,7 @@ func encodeTestResponseStringIPArrayArrayResponse(response [][]netip.Addr, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -12974,7 +12974,7 @@ func encodeTestResponseStringIPNullableResponse(response NilIP, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -12988,7 +12988,7 @@ func encodeTestResponseStringIPNullableArrayResponse(response []NilIP, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13006,7 +13006,7 @@ func encodeTestResponseStringIPNullableArrayArrayResponse(response [][]NilIP, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13028,7 +13028,7 @@ func encodeTestResponseStringIntResponse(response int, w http.ResponseWriter, sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringInt(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13042,7 +13042,7 @@ func encodeTestResponseStringInt16Response(response int16, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringInt16(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13056,7 +13056,7 @@ func encodeTestResponseStringInt16ArrayResponse(response []int16, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringInt16(e, elem) @@ -13074,7 +13074,7 @@ func encodeTestResponseStringInt16ArrayArrayResponse(response [][]int16, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13096,7 +13096,7 @@ func encodeTestResponseStringInt16NullableResponse(response NilInt16, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13110,7 +13110,7 @@ func encodeTestResponseStringInt16NullableArrayResponse(response []NilInt16, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13128,7 +13128,7 @@ func encodeTestResponseStringInt16NullableArrayArrayResponse(response [][]NilInt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13150,7 +13150,7 @@ func encodeTestResponseStringInt32Response(response int32, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringInt32(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13164,7 +13164,7 @@ func encodeTestResponseStringInt32ArrayResponse(response []int32, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringInt32(e, elem) @@ -13182,7 +13182,7 @@ func encodeTestResponseStringInt32ArrayArrayResponse(response [][]int32, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13204,7 +13204,7 @@ func encodeTestResponseStringInt32NullableResponse(response NilStringInt32, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13218,7 +13218,7 @@ func encodeTestResponseStringInt32NullableArrayResponse(response []NilStringInt3 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13236,7 +13236,7 @@ func encodeTestResponseStringInt32NullableArrayArrayResponse(response [][]NilStr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13258,7 +13258,7 @@ func encodeTestResponseStringInt64Response(response int64, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringInt64(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13272,7 +13272,7 @@ func encodeTestResponseStringInt64ArrayResponse(response []int64, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringInt64(e, elem) @@ -13290,7 +13290,7 @@ func encodeTestResponseStringInt64ArrayArrayResponse(response [][]int64, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13312,7 +13312,7 @@ func encodeTestResponseStringInt64NullableResponse(response NilStringInt64, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13326,7 +13326,7 @@ func encodeTestResponseStringInt64NullableArrayResponse(response []NilStringInt6 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13344,7 +13344,7 @@ func encodeTestResponseStringInt64NullableArrayArrayResponse(response [][]NilStr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13366,7 +13366,7 @@ func encodeTestResponseStringInt8Response(response int8, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringInt8(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13380,7 +13380,7 @@ func encodeTestResponseStringInt8ArrayResponse(response []int8, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringInt8(e, elem) @@ -13398,7 +13398,7 @@ func encodeTestResponseStringInt8ArrayArrayResponse(response [][]int8, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13420,7 +13420,7 @@ func encodeTestResponseStringInt8NullableResponse(response NilInt8, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13434,7 +13434,7 @@ func encodeTestResponseStringInt8NullableArrayResponse(response []NilInt8, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13452,7 +13452,7 @@ func encodeTestResponseStringInt8NullableArrayArrayResponse(response [][]NilInt8 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13474,7 +13474,7 @@ func encodeTestResponseStringIntArrayResponse(response []int, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringInt(e, elem) @@ -13492,7 +13492,7 @@ func encodeTestResponseStringIntArrayArrayResponse(response [][]int, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13514,7 +13514,7 @@ func encodeTestResponseStringIntNullableResponse(response NilInt, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13528,7 +13528,7 @@ func encodeTestResponseStringIntNullableArrayResponse(response []NilInt, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13546,7 +13546,7 @@ func encodeTestResponseStringIntNullableArrayArrayResponse(response [][]NilInt, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13568,7 +13568,7 @@ func encodeTestResponseStringIpv4Response(response netip.Addr, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeIPv4(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13582,7 +13582,7 @@ func encodeTestResponseStringIpv4ArrayResponse(response []netip.Addr, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeIPv4(e, elem) @@ -13600,7 +13600,7 @@ func encodeTestResponseStringIpv4ArrayArrayResponse(response [][]netip.Addr, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13622,7 +13622,7 @@ func encodeTestResponseStringIpv4NullableResponse(response NilIPv4, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13636,7 +13636,7 @@ func encodeTestResponseStringIpv4NullableArrayResponse(response []NilIPv4, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13654,7 +13654,7 @@ func encodeTestResponseStringIpv4NullableArrayArrayResponse(response [][]NilIPv4 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13676,7 +13676,7 @@ func encodeTestResponseStringIpv6Response(response netip.Addr, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeIPv6(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13690,7 +13690,7 @@ func encodeTestResponseStringIpv6ArrayResponse(response []netip.Addr, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeIPv6(e, elem) @@ -13708,7 +13708,7 @@ func encodeTestResponseStringIpv6ArrayArrayResponse(response [][]netip.Addr, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13730,7 +13730,7 @@ func encodeTestResponseStringIpv6NullableResponse(response NilIPv6, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13744,7 +13744,7 @@ func encodeTestResponseStringIpv6NullableArrayResponse(response []NilIPv6, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13762,7 +13762,7 @@ func encodeTestResponseStringIpv6NullableArrayArrayResponse(response [][]NilIPv6 w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13784,7 +13784,7 @@ func encodeTestResponseStringNullableResponse(response NilString, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13798,7 +13798,7 @@ func encodeTestResponseStringNullableArrayResponse(response []NilString, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13816,7 +13816,7 @@ func encodeTestResponseStringNullableArrayArrayResponse(response [][]NilString, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13838,7 +13838,7 @@ func encodeTestResponseStringPasswordResponse(response string, w http.ResponseWr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13852,7 +13852,7 @@ func encodeTestResponseStringPasswordArrayResponse(response []string, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -13870,7 +13870,7 @@ func encodeTestResponseStringPasswordArrayArrayResponse(response [][]string, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13892,7 +13892,7 @@ func encodeTestResponseStringPasswordNullableResponse(response NilString, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13906,7 +13906,7 @@ func encodeTestResponseStringPasswordNullableArrayResponse(response []NilString, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -13924,7 +13924,7 @@ func encodeTestResponseStringPasswordNullableArrayArrayResponse(response [][]Nil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -13946,7 +13946,7 @@ func encodeTestResponseStringTimeResponse(response time.Time, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeTime(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -13960,7 +13960,7 @@ func encodeTestResponseStringTimeArrayResponse(response []time.Time, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeTime(e, elem) @@ -13978,7 +13978,7 @@ func encodeTestResponseStringTimeArrayArrayResponse(response [][]time.Time, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14000,7 +14000,7 @@ func encodeTestResponseStringTimeNullableResponse(response NilTime, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeTime) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14014,7 +14014,7 @@ func encodeTestResponseStringTimeNullableArrayResponse(response []NilTime, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeTime) @@ -14032,7 +14032,7 @@ func encodeTestResponseStringTimeNullableArrayArrayResponse(response [][]NilTime w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14054,7 +14054,7 @@ func encodeTestResponseStringURIResponse(response url.URL, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeURI(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14068,7 +14068,7 @@ func encodeTestResponseStringURIArrayResponse(response []url.URL, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeURI(e, elem) @@ -14086,7 +14086,7 @@ func encodeTestResponseStringURIArrayArrayResponse(response [][]url.URL, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14108,7 +14108,7 @@ func encodeTestResponseStringURINullableResponse(response NilURI, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14122,7 +14122,7 @@ func encodeTestResponseStringURINullableArrayResponse(response []NilURI, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14140,7 +14140,7 @@ func encodeTestResponseStringURINullableArrayArrayResponse(response [][]NilURI, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14162,7 +14162,7 @@ func encodeTestResponseStringUUIDResponse(response uuid.UUID, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeUUID(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14176,7 +14176,7 @@ func encodeTestResponseStringUUIDArrayResponse(response []uuid.UUID, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeUUID(e, elem) @@ -14194,7 +14194,7 @@ func encodeTestResponseStringUUIDArrayArrayResponse(response [][]uuid.UUID, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14216,7 +14216,7 @@ func encodeTestResponseStringUUIDNullableResponse(response NilUUID, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14230,7 +14230,7 @@ func encodeTestResponseStringUUIDNullableArrayResponse(response []NilUUID, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14248,7 +14248,7 @@ func encodeTestResponseStringUUIDNullableArrayArrayResponse(response [][]NilUUID w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14270,7 +14270,7 @@ func encodeTestResponseStringUintResponse(response uint, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUint(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14284,7 +14284,7 @@ func encodeTestResponseStringUint16Response(response uint16, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUint16(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14298,7 +14298,7 @@ func encodeTestResponseStringUint16ArrayResponse(response []uint16, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUint16(e, elem) @@ -14316,7 +14316,7 @@ func encodeTestResponseStringUint16ArrayArrayResponse(response [][]uint16, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14338,7 +14338,7 @@ func encodeTestResponseStringUint16NullableResponse(response NilUint16, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14352,7 +14352,7 @@ func encodeTestResponseStringUint16NullableArrayResponse(response []NilUint16, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14370,7 +14370,7 @@ func encodeTestResponseStringUint16NullableArrayArrayResponse(response [][]NilUi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14392,7 +14392,7 @@ func encodeTestResponseStringUint32Response(response uint32, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUint32(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14406,7 +14406,7 @@ func encodeTestResponseStringUint32ArrayResponse(response []uint32, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUint32(e, elem) @@ -14424,7 +14424,7 @@ func encodeTestResponseStringUint32ArrayArrayResponse(response [][]uint32, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14446,7 +14446,7 @@ func encodeTestResponseStringUint32NullableResponse(response NilUint32, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14460,7 +14460,7 @@ func encodeTestResponseStringUint32NullableArrayResponse(response []NilUint32, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14478,7 +14478,7 @@ func encodeTestResponseStringUint32NullableArrayArrayResponse(response [][]NilUi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14500,7 +14500,7 @@ func encodeTestResponseStringUint64Response(response uint64, w http.ResponseWrit w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUint64(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14514,7 +14514,7 @@ func encodeTestResponseStringUint64ArrayResponse(response []uint64, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUint64(e, elem) @@ -14532,7 +14532,7 @@ func encodeTestResponseStringUint64ArrayArrayResponse(response [][]uint64, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14554,7 +14554,7 @@ func encodeTestResponseStringUint64NullableResponse(response NilUint64, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14568,7 +14568,7 @@ func encodeTestResponseStringUint64NullableArrayResponse(response []NilUint64, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14586,7 +14586,7 @@ func encodeTestResponseStringUint64NullableArrayArrayResponse(response [][]NilUi w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14608,7 +14608,7 @@ func encodeTestResponseStringUint8Response(response uint8, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUint8(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14622,7 +14622,7 @@ func encodeTestResponseStringUint8ArrayResponse(response []uint8, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUint8(e, elem) @@ -14640,7 +14640,7 @@ func encodeTestResponseStringUint8ArrayArrayResponse(response [][]uint8, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14662,7 +14662,7 @@ func encodeTestResponseStringUint8NullableResponse(response NilUint8, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14676,7 +14676,7 @@ func encodeTestResponseStringUint8NullableArrayResponse(response []NilUint8, w h w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14694,7 +14694,7 @@ func encodeTestResponseStringUint8NullableArrayArrayResponse(response [][]NilUin w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14716,7 +14716,7 @@ func encodeTestResponseStringUintArrayResponse(response []uint, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUint(e, elem) @@ -14734,7 +14734,7 @@ func encodeTestResponseStringUintArrayArrayResponse(response [][]uint, w http.Re w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14756,7 +14756,7 @@ func encodeTestResponseStringUintNullableResponse(response NilUint, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14770,7 +14770,7 @@ func encodeTestResponseStringUintNullableArrayResponse(response []NilUint, w htt w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e) @@ -14788,7 +14788,7 @@ func encodeTestResponseStringUintNullableArrayArrayResponse(response [][]NilUint w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14810,7 +14810,7 @@ func encodeTestResponseStringUnixResponse(response time.Time, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUnixSeconds(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14824,7 +14824,7 @@ func encodeTestResponseStringUnixArrayResponse(response []time.Time, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUnixSeconds(e, elem) @@ -14842,7 +14842,7 @@ func encodeTestResponseStringUnixArrayArrayResponse(response [][]time.Time, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14864,7 +14864,7 @@ func encodeTestResponseStringUnixMicroResponse(response time.Time, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUnixMicro(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14878,7 +14878,7 @@ func encodeTestResponseStringUnixMicroArrayResponse(response []time.Time, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUnixMicro(e, elem) @@ -14896,7 +14896,7 @@ func encodeTestResponseStringUnixMicroArrayArrayResponse(response [][]time.Time, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14918,7 +14918,7 @@ func encodeTestResponseStringUnixMicroNullableResponse(response NilStringUnixMic w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeStringUnixMicro) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14932,7 +14932,7 @@ func encodeTestResponseStringUnixMicroNullableArrayResponse(response []NilString w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeStringUnixMicro) @@ -14950,7 +14950,7 @@ func encodeTestResponseStringUnixMicroNullableArrayArrayResponse(response [][]Ni w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -14972,7 +14972,7 @@ func encodeTestResponseStringUnixMilliResponse(response time.Time, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUnixMilli(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -14986,7 +14986,7 @@ func encodeTestResponseStringUnixMilliArrayResponse(response []time.Time, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUnixMilli(e, elem) @@ -15004,7 +15004,7 @@ func encodeTestResponseStringUnixMilliArrayArrayResponse(response [][]time.Time, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -15026,7 +15026,7 @@ func encodeTestResponseStringUnixMilliNullableResponse(response NilStringUnixMil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeStringUnixMilli) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15040,7 +15040,7 @@ func encodeTestResponseStringUnixMilliNullableArrayResponse(response []NilString w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeStringUnixMilli) @@ -15058,7 +15058,7 @@ func encodeTestResponseStringUnixMilliNullableArrayArrayResponse(response [][]Ni w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -15080,7 +15080,7 @@ func encodeTestResponseStringUnixNanoResponse(response time.Time, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUnixNano(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15094,7 +15094,7 @@ func encodeTestResponseStringUnixNanoArrayResponse(response []time.Time, w http. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUnixNano(e, elem) @@ -15112,7 +15112,7 @@ func encodeTestResponseStringUnixNanoArrayArrayResponse(response [][]time.Time, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -15134,7 +15134,7 @@ func encodeTestResponseStringUnixNanoNullableResponse(response NilStringUnixNano w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeStringUnixNano) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15148,7 +15148,7 @@ func encodeTestResponseStringUnixNanoNullableArrayResponse(response []NilStringU w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeStringUnixNano) @@ -15166,7 +15166,7 @@ func encodeTestResponseStringUnixNanoNullableArrayArrayResponse(response [][]Nil w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -15188,7 +15188,7 @@ func encodeTestResponseStringUnixNullableResponse(response NilStringUnixSeconds, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeStringUnixSeconds) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15202,7 +15202,7 @@ func encodeTestResponseStringUnixNullableArrayResponse(response []NilStringUnixS w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeStringUnixSeconds) @@ -15220,7 +15220,7 @@ func encodeTestResponseStringUnixNullableArrayArrayResponse(response [][]NilStri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -15242,7 +15242,7 @@ func encodeTestResponseStringUnixSecondsResponse(response time.Time, w http.Resp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) json.EncodeStringUnixSeconds(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15256,7 +15256,7 @@ func encodeTestResponseStringUnixSecondsArrayResponse(response []time.Time, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { json.EncodeStringUnixSeconds(e, elem) @@ -15274,7 +15274,7 @@ func encodeTestResponseStringUnixSecondsArrayArrayResponse(response [][]time.Tim w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() @@ -15296,7 +15296,7 @@ func encodeTestResponseStringUnixSecondsNullableResponse(response NilStringUnixS w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e, json.EncodeStringUnixSeconds) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -15310,7 +15310,7 @@ func encodeTestResponseStringUnixSecondsNullableArrayResponse(response []NilStri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { elem.Encode(e, json.EncodeStringUnixSeconds) @@ -15328,7 +15328,7 @@ func encodeTestResponseStringUnixSecondsNullableArrayArrayResponse(response [][] w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.ArrStart() diff --git a/examples/ex_tinkoff/oas_request_encoders_gen.go b/examples/ex_tinkoff/oas_request_encoders_gen.go index d7b75505b..3088f2b4f 100644 --- a/examples/ex_tinkoff/oas_request_encoders_gen.go +++ b/examples/ex_tinkoff/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeOrdersLimitOrderPostRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -30,7 +30,7 @@ func encodeOrdersMarketOrderPostRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -44,7 +44,7 @@ func encodeSandboxCurrenciesBalancePostRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -58,7 +58,7 @@ func encodeSandboxPositionsBalancePostRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -76,7 +76,7 @@ func encodeSandboxRegisterPostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) diff --git a/examples/ex_tinkoff/oas_response_encoders_gen.go b/examples/ex_tinkoff/oas_response_encoders_gen.go index aeee17b10..4c191c2ab 100644 --- a/examples/ex_tinkoff/oas_response_encoders_gen.go +++ b/examples/ex_tinkoff/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeMarketBondsGetResponse(response MarketBondsGetRes, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -31,7 +31,7 @@ func encodeMarketBondsGetResponse(response MarketBondsGetRes, w http.ResponseWri w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -51,7 +51,7 @@ func encodeMarketCandlesGetResponse(response MarketCandlesGetRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -64,7 +64,7 @@ func encodeMarketCandlesGetResponse(response MarketCandlesGetRes, w http.Respons w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -84,7 +84,7 @@ func encodeMarketCurrenciesGetResponse(response MarketCurrenciesGetRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -97,7 +97,7 @@ func encodeMarketCurrenciesGetResponse(response MarketCurrenciesGetRes, w http.R w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -117,7 +117,7 @@ func encodeMarketEtfsGetResponse(response MarketEtfsGetRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -130,7 +130,7 @@ func encodeMarketEtfsGetResponse(response MarketEtfsGetRes, w http.ResponseWrite w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -150,7 +150,7 @@ func encodeMarketOrderbookGetResponse(response MarketOrderbookGetRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -163,7 +163,7 @@ func encodeMarketOrderbookGetResponse(response MarketOrderbookGetRes, w http.Res w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -183,7 +183,7 @@ func encodeMarketSearchByFigiGetResponse(response MarketSearchByFigiGetRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -196,7 +196,7 @@ func encodeMarketSearchByFigiGetResponse(response MarketSearchByFigiGetRes, w ht w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -216,7 +216,7 @@ func encodeMarketSearchByTickerGetResponse(response MarketSearchByTickerGetRes, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -229,7 +229,7 @@ func encodeMarketSearchByTickerGetResponse(response MarketSearchByTickerGetRes, w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -249,7 +249,7 @@ func encodeMarketStocksGetResponse(response MarketStocksGetRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -262,7 +262,7 @@ func encodeMarketStocksGetResponse(response MarketStocksGetRes, w http.ResponseW w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -282,7 +282,7 @@ func encodeOperationsGetResponse(response OperationsGetRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -295,7 +295,7 @@ func encodeOperationsGetResponse(response OperationsGetRes, w http.ResponseWrite w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -315,7 +315,7 @@ func encodeOrdersCancelPostResponse(response OrdersCancelPostRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -328,7 +328,7 @@ func encodeOrdersCancelPostResponse(response OrdersCancelPostRes, w http.Respons w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -348,7 +348,7 @@ func encodeOrdersGetResponse(response OrdersGetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -361,7 +361,7 @@ func encodeOrdersGetResponse(response OrdersGetRes, w http.ResponseWriter, span w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -381,7 +381,7 @@ func encodeOrdersLimitOrderPostResponse(response OrdersLimitOrderPostRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -394,7 +394,7 @@ func encodeOrdersLimitOrderPostResponse(response OrdersLimitOrderPostRes, w http w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -414,7 +414,7 @@ func encodeOrdersMarketOrderPostResponse(response OrdersMarketOrderPostRes, w ht w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -427,7 +427,7 @@ func encodeOrdersMarketOrderPostResponse(response OrdersMarketOrderPostRes, w ht w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -447,7 +447,7 @@ func encodePortfolioCurrenciesGetResponse(response PortfolioCurrenciesGetRes, w w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -460,7 +460,7 @@ func encodePortfolioCurrenciesGetResponse(response PortfolioCurrenciesGetRes, w w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -480,7 +480,7 @@ func encodePortfolioGetResponse(response PortfolioGetRes, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -493,7 +493,7 @@ func encodePortfolioGetResponse(response PortfolioGetRes, w http.ResponseWriter, w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -513,7 +513,7 @@ func encodeSandboxClearPostResponse(response SandboxClearPostRes, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -526,7 +526,7 @@ func encodeSandboxClearPostResponse(response SandboxClearPostRes, w http.Respons w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -546,7 +546,7 @@ func encodeSandboxCurrenciesBalancePostResponse(response SandboxCurrenciesBalanc w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -559,7 +559,7 @@ func encodeSandboxCurrenciesBalancePostResponse(response SandboxCurrenciesBalanc w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -579,7 +579,7 @@ func encodeSandboxPositionsBalancePostResponse(response SandboxPositionsBalanceP w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -592,7 +592,7 @@ func encodeSandboxPositionsBalancePostResponse(response SandboxPositionsBalanceP w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -612,7 +612,7 @@ func encodeSandboxRegisterPostResponse(response SandboxRegisterPostRes, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -625,7 +625,7 @@ func encodeSandboxRegisterPostResponse(response SandboxRegisterPostRes, w http.R w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -645,7 +645,7 @@ func encodeSandboxRemovePostResponse(response SandboxRemovePostRes, w http.Respo w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -658,7 +658,7 @@ func encodeSandboxRemovePostResponse(response SandboxRemovePostRes, w http.Respo w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -678,7 +678,7 @@ func encodeUserAccountsGetResponse(response UserAccountsGetRes, w http.ResponseW w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -691,7 +691,7 @@ func encodeUserAccountsGetResponse(response UserAccountsGetRes, w http.ResponseW w.WriteHeader(500) span.SetStatus(codes.Error, http.StatusText(500)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/referenced_path_item/oas_response_encoders_gen.go b/internal/integration/referenced_path_item/oas_response_encoders_gen.go index 5b0906a31..9d6f1c9a8 100644 --- a/internal/integration/referenced_path_item/oas_response_encoders_gen.go +++ b/internal/integration/referenced_path_item/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeFooGetResponse(response string, w http.ResponseWriter, span trace.Spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/sample_api/oas_request_encoders_gen.go b/internal/integration/sample_api/oas_request_encoders_gen.go index fe96db9fb..f150c01de 100644 --- a/internal/integration/sample_api/oas_request_encoders_gen.go +++ b/internal/integration/sample_api/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeDefaultTestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -34,7 +34,7 @@ func encodeFoobarPostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -50,7 +50,7 @@ func encodeOneofBugRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -68,7 +68,7 @@ func encodePetCreateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -88,7 +88,7 @@ func encodePetUpdateNameAliasPostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -108,7 +108,7 @@ func encodePetUpdateNamePostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -134,7 +134,7 @@ func encodeTestFloatValidationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/internal/integration/sample_api/oas_response_encoders_gen.go b/internal/integration/sample_api/oas_response_encoders_gen.go index 87ebbc16e..ff17e91f7 100644 --- a/internal/integration/sample_api/oas_response_encoders_gen.go +++ b/internal/integration/sample_api/oas_response_encoders_gen.go @@ -19,7 +19,7 @@ func encodeDataGetFormatResponse(response string, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -33,7 +33,7 @@ func encodeDefaultTestResponse(response int32, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int32(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -57,7 +57,7 @@ func encodeErrorGetResponse(response *ErrorStatusCode, w http.ResponseWriter, sp span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -76,7 +76,7 @@ func encodeFoobarGetResponse(response FoobarGetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -102,7 +102,7 @@ func encodeFoobarPostResponse(response FoobarPostRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -131,7 +131,7 @@ func encodeFoobarPostResponse(response FoobarPostRes, w http.ResponseWriter, spa span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -172,7 +172,7 @@ func encodeNoAdditionalPropertiesTestResponse(response *NoAdditionalPropertiesTe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -196,7 +196,7 @@ func encodeNullableDefaultResponseResponse(response *NilIntStatusCode, w http.Re span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -220,7 +220,7 @@ func encodePatternRecursiveMapGetResponse(response PatternRecursiveMap, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -234,7 +234,7 @@ func encodePetCreateResponse(response *Pet, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -248,7 +248,7 @@ func encodePetFriendsNamesByIDResponse(response []string, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -268,7 +268,7 @@ func encodePetGetResponse(response PetGetRes, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -291,7 +291,7 @@ func encodePetGetResponse(response PetGetRes, w http.ResponseWriter, span trace. span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -342,7 +342,7 @@ func encodePetGetAvatarByIDResponse(response PetGetAvatarByIDRes, w http.Respons span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -393,7 +393,7 @@ func encodePetGetAvatarByNameResponse(response PetGetAvatarByNameRes, w http.Res span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -414,7 +414,7 @@ func encodePetGetByNameResponse(response *Pet, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -428,7 +428,7 @@ func encodePetNameByIDResponse(response string, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -506,7 +506,7 @@ func encodePetUploadAvatarByIDResponse(response PetUploadAvatarByIDRes, w http.R span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -527,7 +527,7 @@ func encodeRecursiveArrayGetResponse(response RecursiveArray, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -541,7 +541,7 @@ func encodeRecursiveMapGetResponse(response *RecursiveMap, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -555,7 +555,7 @@ func encodeSecurityTestResponse(response string, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -569,7 +569,7 @@ func encodeStringIntMapGetResponse(response *StringIntMap, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -590,7 +590,7 @@ func encodeTestInlineOneofResponse(response *TestInlineOneOf, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -606,7 +606,7 @@ func encodeTestNullableOneofsResponse(response TestNullableOneofsRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -619,7 +619,7 @@ func encodeTestNullableOneofsResponse(response TestNullableOneofsRes, w http.Res w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -632,7 +632,7 @@ func encodeTestNullableOneofsResponse(response TestNullableOneofsRes, w http.Res w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -650,7 +650,7 @@ func encodeTestTupleResponse(response *TupleTest, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -664,7 +664,7 @@ func encodeTestTupleNamedResponse(response *TupleNamedTest, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -678,7 +678,7 @@ func encodeTestUniqueItemsResponse(response *UniqueItemsTest, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/sample_api_nc/oas_response_encoders_gen.go b/internal/integration/sample_api_nc/oas_response_encoders_gen.go index 87ebbc16e..ff17e91f7 100644 --- a/internal/integration/sample_api_nc/oas_response_encoders_gen.go +++ b/internal/integration/sample_api_nc/oas_response_encoders_gen.go @@ -19,7 +19,7 @@ func encodeDataGetFormatResponse(response string, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -33,7 +33,7 @@ func encodeDefaultTestResponse(response int32, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int32(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -57,7 +57,7 @@ func encodeErrorGetResponse(response *ErrorStatusCode, w http.ResponseWriter, sp span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -76,7 +76,7 @@ func encodeFoobarGetResponse(response FoobarGetRes, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -102,7 +102,7 @@ func encodeFoobarPostResponse(response FoobarPostRes, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -131,7 +131,7 @@ func encodeFoobarPostResponse(response FoobarPostRes, w http.ResponseWriter, spa span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -172,7 +172,7 @@ func encodeNoAdditionalPropertiesTestResponse(response *NoAdditionalPropertiesTe w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -196,7 +196,7 @@ func encodeNullableDefaultResponseResponse(response *NilIntStatusCode, w http.Re span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -220,7 +220,7 @@ func encodePatternRecursiveMapGetResponse(response PatternRecursiveMap, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -234,7 +234,7 @@ func encodePetCreateResponse(response *Pet, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -248,7 +248,7 @@ func encodePetFriendsNamesByIDResponse(response []string, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response { e.Str(elem) @@ -268,7 +268,7 @@ func encodePetGetResponse(response PetGetRes, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -291,7 +291,7 @@ func encodePetGetResponse(response PetGetRes, w http.ResponseWriter, span trace. span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -342,7 +342,7 @@ func encodePetGetAvatarByIDResponse(response PetGetAvatarByIDRes, w http.Respons span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -393,7 +393,7 @@ func encodePetGetAvatarByNameResponse(response PetGetAvatarByNameRes, w http.Res span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -414,7 +414,7 @@ func encodePetGetByNameResponse(response *Pet, w http.ResponseWriter, span trace w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -428,7 +428,7 @@ func encodePetNameByIDResponse(response string, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -506,7 +506,7 @@ func encodePetUploadAvatarByIDResponse(response PetUploadAvatarByIDRes, w http.R span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -527,7 +527,7 @@ func encodeRecursiveArrayGetResponse(response RecursiveArray, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -541,7 +541,7 @@ func encodeRecursiveMapGetResponse(response *RecursiveMap, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -555,7 +555,7 @@ func encodeSecurityTestResponse(response string, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -569,7 +569,7 @@ func encodeStringIntMapGetResponse(response *StringIntMap, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -590,7 +590,7 @@ func encodeTestInlineOneofResponse(response *TestInlineOneOf, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -606,7 +606,7 @@ func encodeTestNullableOneofsResponse(response TestNullableOneofsRes, w http.Res w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -619,7 +619,7 @@ func encodeTestNullableOneofsResponse(response TestNullableOneofsRes, w http.Res w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -632,7 +632,7 @@ func encodeTestNullableOneofsResponse(response TestNullableOneofsRes, w http.Res w.WriteHeader(202) span.SetStatus(codes.Ok, http.StatusText(202)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -650,7 +650,7 @@ func encodeTestTupleResponse(response *TupleTest, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -664,7 +664,7 @@ func encodeTestTupleNamedResponse(response *TupleNamedTest, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -678,7 +678,7 @@ func encodeTestUniqueItemsResponse(response *UniqueItemsTest, w http.ResponseWri w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/sample_api_ns/oas_request_encoders_gen.go b/internal/integration/sample_api_ns/oas_request_encoders_gen.go index fe96db9fb..f150c01de 100644 --- a/internal/integration/sample_api_ns/oas_request_encoders_gen.go +++ b/internal/integration/sample_api_ns/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeDefaultTestRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -34,7 +34,7 @@ func encodeFoobarPostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -50,7 +50,7 @@ func encodeOneofBugRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -68,7 +68,7 @@ func encodePetCreateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -88,7 +88,7 @@ func encodePetUpdateNameAliasPostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -108,7 +108,7 @@ func encodePetUpdateNamePostRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -134,7 +134,7 @@ func encodeTestFloatValidationRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/internal/integration/sample_err/oas_request_encoders_gen.go b/internal/integration/sample_err/oas_request_encoders_gen.go index 55a471d65..cbf49d7de 100644 --- a/internal/integration/sample_err/oas_request_encoders_gen.go +++ b/internal/integration/sample_err/oas_request_encoders_gen.go @@ -20,7 +20,7 @@ func encodeDataCreateRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) diff --git a/internal/integration/sample_err/oas_response_encoders_gen.go b/internal/integration/sample_err/oas_response_encoders_gen.go index db7d5e5d8..eeaba2f3c 100644 --- a/internal/integration/sample_err/oas_response_encoders_gen.go +++ b/internal/integration/sample_err/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeDataCreateResponse(response *Data, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -32,7 +32,7 @@ func encodeDataGetResponse(response *Data, w http.ResponseWriter, span trace.Spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -56,7 +56,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/techempower/oas_response_encoders_gen.go b/internal/integration/techempower/oas_response_encoders_gen.go index 5b670451f..b778c8b36 100644 --- a/internal/integration/techempower/oas_response_encoders_gen.go +++ b/internal/integration/techempower/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeCachingResponse(response WorldObjects, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -30,7 +30,7 @@ func encodeDBResponse(response *WorldObject, w http.ResponseWriter, span trace.S w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -44,7 +44,7 @@ func encodeJSONResponse(response *HelloWorld, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -58,7 +58,7 @@ func encodeQueriesResponse(response WorldObjects, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -72,7 +72,7 @@ func encodeUpdatesResponse(response WorldObjects, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_allof/oas_request_encoders_gen.go b/internal/integration/test_allof/oas_request_encoders_gen.go index 4df611088..243fc1ada 100644 --- a/internal/integration/test_allof/oas_request_encoders_gen.go +++ b/internal/integration/test_allof/oas_request_encoders_gen.go @@ -21,7 +21,7 @@ func encodeNullableStringsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -35,7 +35,7 @@ func encodeObjectsWithConflictingArrayPropertyRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -49,7 +49,7 @@ func encodeObjectsWithConflictingPropertiesRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -65,7 +65,7 @@ func encodeReferencedAllofRequest( switch req := req.(type) { case *Robot: const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -139,7 +139,7 @@ func encodeReferencedAllofOptionalRequest( return nil case *Robot: const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -208,7 +208,7 @@ func encodeSimpleIntegerRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { e.Int(req) } @@ -222,7 +222,7 @@ func encodeSimpleObjectsRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -236,7 +236,7 @@ func encodeStringsNotypeRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/internal/integration/test_anyof/oas_response_encoders_gen.go b/internal/integration/test_anyof/oas_response_encoders_gen.go index 187dd57ae..2dabf7e94 100644 --- a/internal/integration/test_anyof/oas_response_encoders_gen.go +++ b/internal/integration/test_anyof/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeIntegerNumberResponse(response *IntegerNumber, w http.ResponseWriter, w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -30,7 +30,7 @@ func encodeJaegerAnyOfResponse(response *JaegerAnyOf, w http.ResponseWriter, spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -44,7 +44,7 @@ func encodeOneUUIDResponse(response *OneUUID, w http.ResponseWriter, span trace. w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_customformats/oas_request_encoders_gen.go b/internal/integration/test_customformats/oas_request_encoders_gen.go index fb00aa192..901e03d24 100644 --- a/internal/integration/test_customformats/oas_request_encoders_gen.go +++ b/internal/integration/test_customformats/oas_request_encoders_gen.go @@ -16,7 +16,7 @@ func encodeEventPostRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { formatXMyEvent().EncodeJSON(e, req) } @@ -30,7 +30,7 @@ func encodePhoneGetRequest( r *http.Request, ) error { const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/internal/integration/test_customformats/oas_response_encoders_gen.go b/internal/integration/test_customformats/oas_response_encoders_gen.go index f8847c9fc..b572b98bf 100644 --- a/internal/integration/test_customformats/oas_response_encoders_gen.go +++ b/internal/integration/test_customformats/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeEventPostResponse(response any, w http.ResponseWriter, span trace.Spa w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) formatXMyEvent().EncodeJSON(e, response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -30,7 +30,7 @@ func encodePhoneGetResponse(response *User, w http.ResponseWriter, span trace.Sp w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_enum_naming/oas_response_encoders_gen.go b/internal/integration/test_enum_naming/oas_response_encoders_gen.go index 58fe2e0f8..1afdce2fa 100644 --- a/internal/integration/test_enum_naming/oas_response_encoders_gen.go +++ b/internal/integration/test_enum_naming/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeProbeLivenessResponse(response *ProbeLivenessOK, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_form/oas_request_encoders_gen.go b/internal/integration/test_form/oas_request_encoders_gen.go index 1406e7f7e..4838312dd 100644 --- a/internal/integration/test_form/oas_request_encoders_gen.go +++ b/internal/integration/test_form/oas_request_encoders_gen.go @@ -481,7 +481,7 @@ func encodeTestShareFormSchemaRequest( switch req := req.(type) { case *SharedRequest: const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/internal/integration/test_form/oas_response_encoders_gen.go b/internal/integration/test_form/oas_response_encoders_gen.go index 2ed98cd18..a2d79e262 100644 --- a/internal/integration/test_form/oas_response_encoders_gen.go +++ b/internal/integration/test_form/oas_response_encoders_gen.go @@ -51,7 +51,7 @@ func encodeTestMultipartUploadResponse(response *TestMultipartUploadOK, w http.R w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_http_requests/oas_request_encoders_gen.go b/internal/integration/test_http_requests/oas_request_encoders_gen.go index 0563dee3b..7680d85a5 100644 --- a/internal/integration/test_http_requests/oas_request_encoders_gen.go +++ b/internal/integration/test_http_requests/oas_request_encoders_gen.go @@ -26,7 +26,7 @@ func encodeAllRequestBodiesRequest( switch req := req.(type) { case *AllRequestBodiesApplicationJSON: const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } @@ -137,7 +137,7 @@ func encodeAllRequestBodiesOptionalRequest( return nil case *AllRequestBodiesOptionalApplicationJSON: const contentType = "application/json" - e := jx.GetEncoder() + e := new(jx.Encoder) { req.Encode(e) } diff --git a/internal/integration/test_http_requests/oas_response_encoders_gen.go b/internal/integration/test_http_requests/oas_response_encoders_gen.go index 386cdb222..54d8d17d1 100644 --- a/internal/integration/test_http_requests/oas_response_encoders_gen.go +++ b/internal/integration/test_http_requests/oas_response_encoders_gen.go @@ -58,7 +58,7 @@ func encodeMaskContentTypeResponse(response *MaskResponse, w http.ResponseWriter w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -72,7 +72,7 @@ func encodeMaskContentTypeOptionalResponse(response *MaskResponse, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -86,7 +86,7 @@ func encodeStreamJSONResponse(response float64, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Float64(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_http_responses/oas_response_encoders_gen.go b/internal/integration/test_http_responses/oas_response_encoders_gen.go index d88415eff..e332b162e 100644 --- a/internal/integration/test_http_responses/oas_response_encoders_gen.go +++ b/internal/integration/test_http_responses/oas_response_encoders_gen.go @@ -60,7 +60,7 @@ func encodeCombinedResponse(response CombinedRes, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -83,7 +83,7 @@ func encodeCombinedResponse(response CombinedRes, w http.ResponseWriter, span tr span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int(response.Response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -109,7 +109,7 @@ func encodeCombinedResponse(response CombinedRes, w http.ResponseWriter, span tr span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) e.Bool(response.Response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -135,7 +135,7 @@ func encodeCombinedResponse(response CombinedRes, w http.ResponseWriter, span tr span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) e.ArrStart() for _, elem := range response.Response { e.Str(elem) @@ -324,13 +324,13 @@ func encodeHeadersJSONResponse(response *HeadersJSONOK, w http.ResponseWriter, s Explode: false, } if err := h.EncodeParam(cfg, func(e uri.Encoder) error { - enc := jx.GetEncoder() + var enc jx.Encoder func(e *jx.Encoder) { if len(response.XJSONCustomHeader) != 0 { e.Raw(response.XJSONCustomHeader) } - }(enc) + }(&enc) return e.EncodeValue(string(enc.Bytes())) }); err != nil { return errors.Wrap(err, "encode X-Json-Custom-Header header") @@ -343,11 +343,11 @@ func encodeHeadersJSONResponse(response *HeadersJSONOK, w http.ResponseWriter, s Explode: false, } if err := h.EncodeParam(cfg, func(e uri.Encoder) error { - enc := jx.GetEncoder() + var enc jx.Encoder func(e *jx.Encoder) { response.XJSONHeader.Encode(e) - }(enc) + }(&enc) return e.EncodeValue(string(enc.Bytes())) }); err != nil { return errors.Wrap(err, "encode X-Json-Header header") @@ -403,7 +403,7 @@ func encodeIntersectPatternCodeResponse(response IntersectPatternCodeRes, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -426,7 +426,7 @@ func encodeIntersectPatternCodeResponse(response IntersectPatternCodeRes, w http span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) e.Int(response.Response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -449,7 +449,7 @@ func encodeMultipleGenericResponsesResponse(response MultipleGenericResponsesRes w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -462,7 +462,7 @@ func encodeMultipleGenericResponsesResponse(response MultipleGenericResponsesRes w.WriteHeader(201) span.SetStatus(codes.Ok, http.StatusText(201)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -559,7 +559,7 @@ func encodeStreamJSONResponse(response StreamJSONRes, w http.ResponseWriter, spa w.WriteHeader(400) span.SetStatus(codes.Error, http.StatusText(400)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_naming_extensions/oas_response_encoders_gen.go b/internal/integration/test_naming_extensions/oas_response_encoders_gen.go index 7d8e40d98..7356a658c 100644 --- a/internal/integration/test_naming_extensions/oas_response_encoders_gen.go +++ b/internal/integration/test_naming_extensions/oas_response_encoders_gen.go @@ -16,7 +16,7 @@ func encodeHealthzGetResponse(response *Person, w http.ResponseWriter, span trac w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_parameters/oas_client_gen.go b/internal/integration/test_parameters/oas_client_gen.go index 739f46252..812ded3ed 100644 --- a/internal/integration/test_parameters/oas_client_gen.go +++ b/internal/integration/test_parameters/oas_client_gen.go @@ -317,10 +317,10 @@ func (c *Client) sendContentParameters(ctx context.Context, params ContentParame Explode: false, }) if err := func() error { - enc := jx.GetEncoder() + var enc jx.Encoder func(e *jx.Encoder) { params.Path.Encode(e) - }(enc) + }(&enc) return e.EncodeValue(string(enc.Bytes())) }(); err != nil { return res, errors.Wrap(err, "encode path") @@ -344,10 +344,10 @@ func (c *Client) sendContentParameters(ctx context.Context, params ContentParame } if err := q.EncodeParam(cfg, func(e uri.Encoder) error { - enc := jx.GetEncoder() + var enc jx.Encoder func(e *jx.Encoder) { params.Query.Encode(e) - }(enc) + }(&enc) return e.EncodeValue(string(enc.Bytes())) }); err != nil { return res, errors.Wrap(err, "encode query") @@ -369,10 +369,10 @@ func (c *Client) sendContentParameters(ctx context.Context, params ContentParame Explode: false, } if err := h.EncodeParam(cfg, func(e uri.Encoder) error { - enc := jx.GetEncoder() + var enc jx.Encoder func(e *jx.Encoder) { params.XHeader.Encode(e) - }(enc) + }(&enc) return e.EncodeValue(string(enc.Bytes())) }); err != nil { return res, errors.Wrap(err, "encode header") @@ -389,10 +389,10 @@ func (c *Client) sendContentParameters(ctx context.Context, params ContentParame } if err := cookie.EncodeParam(cfg, func(e uri.Encoder) error { - enc := jx.GetEncoder() + var enc jx.Encoder func(e *jx.Encoder) { params.Cookie.Encode(e) - }(enc) + }(&enc) return e.EncodeValue(string(enc.Bytes())) }); err != nil { return res, errors.Wrap(err, "encode cookie") diff --git a/internal/integration/test_parameters/oas_response_encoders_gen.go b/internal/integration/test_parameters/oas_response_encoders_gen.go index 5ae3228f7..48408f13e 100644 --- a/internal/integration/test_parameters/oas_response_encoders_gen.go +++ b/internal/integration/test_parameters/oas_response_encoders_gen.go @@ -23,7 +23,7 @@ func encodeContentParametersResponse(response *ContentParameters, w http.Respons w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -37,7 +37,7 @@ func encodeCookieParameterResponse(response *Value, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -51,7 +51,7 @@ func encodeHeaderParameterResponse(response *Value, w http.ResponseWriter, span w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -65,7 +65,7 @@ func encodeObjectCookieParameterResponse(response *OneLevelObject, w http.Respon w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -79,7 +79,7 @@ func encodeObjectQueryParameterResponse(response *ObjectQueryParameterOK, w http w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -93,7 +93,7 @@ func encodePathParameterResponse(response *Value, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_servers/oas_response_encoders_gen.go b/internal/integration/test_servers/oas_response_encoders_gen.go index 1c9c46bba..a979a3ed3 100644 --- a/internal/integration/test_servers/oas_response_encoders_gen.go +++ b/internal/integration/test_servers/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeProbeLivenessResponse(response string, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -42,7 +42,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_single_endpoint/oas_response_encoders_gen.go b/internal/integration/test_single_endpoint/oas_response_encoders_gen.go index 1c9c46bba..a979a3ed3 100644 --- a/internal/integration/test_single_endpoint/oas_response_encoders_gen.go +++ b/internal/integration/test_single_endpoint/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodeProbeLivenessResponse(response string, w http.ResponseWriter, span tr w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) e.Str(response) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -42,7 +42,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") diff --git a/internal/integration/test_webhooks/oas_request_encoders_gen.go b/internal/integration/test_webhooks/oas_request_encoders_gen.go index 1e014251e..7bf474f94 100644 --- a/internal/integration/test_webhooks/oas_request_encoders_gen.go +++ b/internal/integration/test_webhooks/oas_request_encoders_gen.go @@ -20,7 +20,7 @@ func encodePublishEventRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) @@ -40,7 +40,7 @@ func encodeUpdateWebhookRequest( // Keep request with empty body if value is not set. return nil } - e := jx.GetEncoder() + e := new(jx.Encoder) { if req.Set { req.Encode(e) diff --git a/internal/integration/test_webhooks/oas_response_encoders_gen.go b/internal/integration/test_webhooks/oas_response_encoders_gen.go index a69e136f8..c67fc20b0 100644 --- a/internal/integration/test_webhooks/oas_response_encoders_gen.go +++ b/internal/integration/test_webhooks/oas_response_encoders_gen.go @@ -18,7 +18,7 @@ func encodePublishEventResponse(response *Event, w http.ResponseWriter, span tra w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -42,7 +42,7 @@ func encodeErrorResponse(response *ErrorStatusCode, w http.ResponseWriter, span span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -59,7 +59,7 @@ func encodeStatusWebhookResponse(response *StatusWebhookOK, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -91,7 +91,7 @@ func encodeUpdateDeleteResponse(response UpdateDeleteRes, w http.ResponseWriter, span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -114,7 +114,7 @@ func encodeUpdateWebhookResponse(response UpdateWebhookRes, w http.ResponseWrite w.WriteHeader(200) span.SetStatus(codes.Ok, http.StatusText(200)) - e := jx.GetEncoder() + e := new(jx.Encoder) response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write") @@ -137,7 +137,7 @@ func encodeUpdateWebhookResponse(response UpdateWebhookRes, w http.ResponseWrite span.SetStatus(codes.Ok, st) } - e := jx.GetEncoder() + e := new(jx.Encoder) response.Response.Encode(e) if _, err := e.WriteTo(w); err != nil { return errors.Wrap(err, "write")