Skip to content

Commit

Permalink
Run make generate to pass github checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Lukiyanchuk committed Aug 31, 2022
1 parent 260a7cc commit b403b9b
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 60 deletions.
4 changes: 2 additions & 2 deletions internal/test/name-normalizer/name_normalizer.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions internal/test/parameters/parameters.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions internal/test/parameters/parameters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ func (t *testServer) GetQueryForm(ctx echo.Context, params GetQueryFormParams) e
if params.Co != nil {
t.complexObject = params.Co
}
if params.N1s != nil {
t.n1param = params.N1s
if params.N1S != nil {
t.n1param = params.N1S
}
return nil
}
Expand Down Expand Up @@ -230,8 +230,8 @@ func (t *testServer) GetCookie(ctx echo.Context, params GetCookieParams) error {
if params.Co != nil {
t.complexObject = params.Co
}
if params.N1s != nil {
t.n1param = params.N1s
if params.N1S != nil {
t.n1param = params.N1S
}
return nil
}
Expand Down Expand Up @@ -690,7 +690,7 @@ func TestClientQueryParams(t *testing.T) {
P: &expectedPrimitive2,
Ps: &expectedPrimitiveString,
Co: &expectedComplexObject,
N1s: &expectedStartingWithNumber,
N1S: &expectedStartingWithNumber,
}

req, err := NewGetQueryFormRequest(server, &qParams)
Expand All @@ -709,7 +709,7 @@ func TestClientQueryParams(t *testing.T) {
Ep: &expectedPrimitive1,
P: &expectedPrimitive2,
Co: &expectedComplexObject,
N1s: &expectedStartingWithNumber,
N1S: &expectedStartingWithNumber,
}
req, err = NewGetCookieRequest(server, &cParams)
assert.NoError(t, err)
Expand Down
24 changes: 12 additions & 12 deletions internal/test/schemas/schemas.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions internal/test/strict-server/chi/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/test/strict-server/chi/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s StrictServer) MultipartExample(ctx context.Context, request MultipartExa
func (s StrictServer) MultipleRequestAndResponseTypes(ctx context.Context, request MultipleRequestAndResponseTypesRequestObject) interface{} {
switch {
case request.Body != nil:
return MultipleRequestAndResponseTypes200ImagepngResponse{Body: request.Body}
return MultipleRequestAndResponseTypes200ImagePngResponse{Body: request.Body}
case request.JSONBody != nil:
return MultipleRequestAndResponseTypes200JSONResponse(*request.JSONBody)
case request.FormdataBody != nil:
Expand Down Expand Up @@ -82,7 +82,7 @@ func (s StrictServer) TextExample(ctx context.Context, request TextExampleReques
}

func (s StrictServer) UnknownExample(ctx context.Context, request UnknownExampleRequestObject) interface{} {
return UnknownExample200Videomp4Response{Body: request.Body}
return UnknownExample200VideoMp4Response{Body: request.Body}
}

func (s StrictServer) UnspecifiedContentType(ctx context.Context, request UnspecifiedContentTypeRequestObject) interface{} {
Expand Down
8 changes: 4 additions & 4 deletions internal/test/strict-server/echo/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/test/strict-server/echo/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s StrictServer) MultipartExample(ctx context.Context, request MultipartExa
func (s StrictServer) MultipleRequestAndResponseTypes(ctx context.Context, request MultipleRequestAndResponseTypesRequestObject) interface{} {
switch {
case request.Body != nil:
return MultipleRequestAndResponseTypes200ImagepngResponse{Body: request.Body}
return MultipleRequestAndResponseTypes200ImagePngResponse{Body: request.Body}
case request.JSONBody != nil:
return MultipleRequestAndResponseTypes200JSONResponse(*request.JSONBody)
case request.FormdataBody != nil:
Expand Down Expand Up @@ -82,7 +82,7 @@ func (s StrictServer) TextExample(ctx context.Context, request TextExampleReques
}

func (s StrictServer) UnknownExample(ctx context.Context, request UnknownExampleRequestObject) interface{} {
return UnknownExample200Videomp4Response{Body: request.Body}
return UnknownExample200VideoMp4Response{Body: request.Body}
}

func (s StrictServer) UnspecifiedContentType(ctx context.Context, request UnspecifiedContentTypeRequestObject) interface{} {
Expand Down

0 comments on commit b403b9b

Please sign in to comment.