Skip to content

Commit 09c03d0

Browse files
Copilotfredbi
andauthored
fix: correct typos in comments in client/internal/request/request.go (#450)
Agent-Logs-Url: https://github.com/go-openapi/runtime/sessions/526c7512-d763-4a7a-b351-5258b06f17f0 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
1 parent 3b614c3 commit 09c03d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/internal/request/request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ type Request struct {
111111
// that buildHTTP — which runs after the writer populates the payload
112112
// — can apply payload-aware fallback rules (see streamFallbackMime).
113113
//
114-
// This i by Runtime.createHttpRequest.
114+
// This is set by Runtime.createHttpRequest.
115115
consumes []string
116116
timeout time.Duration
117117
buf *bytes.Buffer
@@ -197,7 +197,7 @@ func (r *Request) GetQueryParams() url.Values {
197197
return result
198198
}
199199

200-
// SetFormParam adds a forn param to the request.
200+
// SetFormParam adds a form param to the request.
201201
//
202202
// - when there is only 1 value provided, it will set it.
203203
// - when there are several values provided, it will add all of those (no overriding).

0 commit comments

Comments
 (0)