Repository: ogen-go/ogen
Pull request #640 (2022-10-21 11:07:02)

test: move tests and generated packages to `integration`

codecov[bot]: # [Codecov](https://codecov.io/gh/ogen-go/ogen/pull/640?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go) Report
Base: **73.82**% // Head: **73.82**% // No change to project coverage :thumbsup:
> Coverage data is based on head [(`5bddacd`)](https://codecov.io/gh/ogen-go/ogen/pull/640?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go) compared to base [(`558accf`)](https://codecov.io/gh/ogen-go/ogen/commit/558accf3ac7cc4dc5ca4dce1d4d29a3378b3f39f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go).
> Patch has no changes to coverable lines.

<details><summary>Additional details and impacted files</summary>


```diff
@@           Coverage Diff           @@
##             main     #640   +/-   ##
=======================================
  Coverage   73.82%   73.82%           
=======================================
  Files         169      169           
  Lines       11751    11751           
=======================================
  Hits         8675     8675           
  Misses       2628     2628           
  Partials      448      448           
```



Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go)

</details>

[:umbrella: View full report at Codecov](https://codecov.io/gh/ogen-go/ogen/pull/640?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go).   
:loudspeaker: Do you have feedback about the report comment? [Let us know in this issue](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go).


Patch:
diff --git a/internal/generate.go b/internal/generate.go
deleted file mode 100644
index fb009eac..00000000
--- a/internal/generate.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package internal
-
-// Sample API matrix:
-//
-//go:generate go run ../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --generate-tests        --target sample_api      ../_testdata/positive/sample.json
-//go:generate go run ../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --no-server             --target sample_api_ns   ../_testdata/positive/sample.json
-//go:generate go run ../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --no-client             --target sample_api_nc   ../_testdata/positive/sample.json
-//go:generate go run ../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --no-server --no-client --target sample_api_nsnc ../_testdata/positive/sample.json
-
-//go:generate go run ../cmd/ogen -v --clean --target sample_err ../_testdata/positive/errors.json
-//go:generate go run ../cmd/ogen -v --clean --package techempower --generate-tests --target techempower ../_testdata/examples/techempower.json
-
-// Tests
-//
-//go:generate go run ../cmd/ogen -v --clean --target test_webhooks        ../_testdata/positive/webhooks.json
-//go:generate go run ../cmd/ogen -v --clean --target test_servers         ../_testdata/positive/servers.json
-//go:generate go run ../cmd/ogen -v --clean --target test_single_endpoint ../_testdata/positive/single_endpoint.json
-//go:generate go run ../cmd/ogen -v --clean --target test_http_responses  ../_testdata/positive/http_responses.json
-//go:generate go run ../cmd/ogen -v --clean --target test_http_requests   ../_testdata/positive/http_requests.json
-//go:generate go run ../cmd/ogen -v --clean --target test_form            ../_testdata/positive/form.json
-//
-//go:generate go run ../cmd/ogen -v --clean --target referenced_path_item ../_testdata/positive/referenced_pathItem.json
-//
-//go:generate go run ../cmd/ogen -v --clean --generate-tests --target test_allof ../_testdata/positive/allof.yml
diff --git a/internal/cmd/README.md b/internal/integration/cmd/README.md
similarity index 100%
rename from internal/cmd/README.md
rename to internal/integration/cmd/README.md
diff --git a/internal/cmd/techempower/main.go b/internal/integration/cmd/techempower/main.go
similarity index 94%
rename from internal/cmd/techempower/main.go
rename to internal/integration/cmd/techempower/main.go
index 8507eb6d..e01d68b3 100644
--- a/internal/cmd/techempower/main.go
+++ b/internal/integration/cmd/techempower/main.go
@@ -8,7 +8,7 @@ import (
 
 	"go.opentelemetry.io/otel/trace"
 
-	"github.com/ogen-go/ogen/internal/techempower"
+	"github.com/ogen-go/ogen/internal/integration/techempower"
 )
 
 type server struct{}
diff --git a/internal/integration/generate.go b/internal/integration/generate.go
new file mode 100644
index 00000000..2d81122b
--- /dev/null
+++ b/internal/integration/generate.go
@@ -0,0 +1,24 @@
+package integration
+
+// Sample API matrix:
+//
+//go:generate go run ../../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --generate-tests        --target sample_api      ../../_testdata/positive/sample.json
+//go:generate go run ../../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --no-server             --target sample_api_ns   ../../_testdata/positive/sample.json
+//go:generate go run ../../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --no-client             --target sample_api_nc   ../../_testdata/positive/sample.json
+//go:generate go run ../../cmd/ogen -v --debug.ignoreNotImplemented "enum format" --infer-types --clean --no-server --no-client --target sample_api_nsnc ../../_testdata/positive/sample.json
+
+//go:generate go run ../../cmd/ogen -v --clean --target sample_err ../../_testdata/positive/errors.json
+//go:generate go run ../../cmd/ogen -v --clean --package techempower --generate-tests --target techempower ../../_testdata/examples/techempower.json
+
+// Tests
+//
+//go:generate go run ../../cmd/ogen -v --clean --target test_webhooks        ../../_testdata/positive/webhooks.json
+//go:generate go run ../../cmd/ogen -v --clean --target test_servers         ../../_testdata/positive/servers.json
+//go:generate go run ../../cmd/ogen -v --clean --target test_single_endpoint ../../_testdata/positive/single_endpoint.json
+//go:generate go run ../../cmd/ogen -v --clean --target test_http_responses  ../../_testdata/positive/http_responses.json
+//go:generate go run ../../cmd/ogen -v --clean --target test_http_requests   ../../_testdata/positive/http_requests.json
+//go:generate go run ../../cmd/ogen -v --clean --target test_form            ../../_testdata/positive/form.json
+//
+//go:generate go run ../../cmd/ogen -v --clean --target referenced_path_item ../../_testdata/positive/referenced_pathItem.json
+//
+//go:generate go run ../../cmd/ogen -v --clean --generate-tests --target test_allof ../../_testdata/positive/allof.yml


Test patch:
diff --git a/internal/_testdata/payloads/pet.json b/internal/integration/_testdata/payloads/pet.json
similarity index 100%
rename from internal/_testdata/payloads/pet.json
rename to internal/integration/_testdata/payloads/pet.json
diff --git a/internal/all_of_test.go b/internal/integration/all_of_test.go
similarity index 97%
rename from internal/all_of_test.go
rename to internal/integration/all_of_test.go
index cfa20867..dd49e3df 100644
--- a/internal/all_of_test.go
+++ b/internal/integration/all_of_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"context"
@@ -7,7 +7,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/test_allof"
+	api "github.com/ogen-go/ogen/internal/integration/test_allof"
 )
 
 type allofTestServer struct {
diff --git a/internal/bench_test.go b/internal/integration/bench_test.go
similarity index 98%
rename from internal/bench_test.go
rename to internal/integration/bench_test.go
index 6c9c4178..8b6cebff 100644
--- a/internal/bench_test.go
+++ b/internal/integration/bench_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"context"
@@ -22,8 +22,8 @@ import (
 
 	"github.com/ogen-go/ogen/conv"
 	ht "github.com/ogen-go/ogen/http"
-	api "github.com/ogen-go/ogen/internal/sample_api"
-	"github.com/ogen-go/ogen/internal/techempower"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
+	"github.com/ogen-go/ogen/internal/integration/techempower"
 	"github.com/ogen-go/ogen/json"
 )
 
diff --git a/internal/defaults_test.go b/internal/integration/defaults_test.go
similarity index 97%
rename from internal/defaults_test.go
rename to internal/integration/defaults_test.go
index 8ea689c3..e16d52fc 100644
--- a/internal/defaults_test.go
+++ b/internal/integration/defaults_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"fmt"
@@ -11,7 +11,7 @@ import (
 	"github.com/google/uuid"
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/sample_api"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
 )
 
 func TestDefault(t *testing.T) {
diff --git a/internal/e2e_err_test.go b/internal/integration/e2e_err_test.go
similarity index 92%
rename from internal/e2e_err_test.go
rename to internal/integration/e2e_err_test.go
index 2a2f5da3..acd37171 100644
--- a/internal/e2e_err_test.go
+++ b/internal/integration/e2e_err_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"context"
@@ -7,7 +7,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/sample_err"
+	api "github.com/ogen-go/ogen/internal/integration/sample_err"
 )
 
 type sampleErrServer struct {
diff --git a/internal/e2e_test.go b/internal/integration/e2e_test.go
similarity index 99%
rename from internal/e2e_test.go
rename to internal/integration/e2e_test.go
index 98421561..6854b41e 100644
--- a/internal/e2e_test.go
+++ b/internal/integration/e2e_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"bytes"
@@ -22,8 +22,8 @@ import (
 	"github.com/stretchr/testify/require"
 
 	"github.com/ogen-go/ogen/conv"
-	api "github.com/ogen-go/ogen/internal/sample_api"
-	"github.com/ogen-go/ogen/internal/techempower"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
+	"github.com/ogen-go/ogen/internal/integration/techempower"
 	"github.com/ogen-go/ogen/json"
 	"github.com/ogen-go/ogen/validate"
 )
diff --git a/internal/form_test.go b/internal/integration/form_test.go
similarity index 98%
rename from internal/form_test.go
rename to internal/integration/form_test.go
index 6e6ee73f..0b0789a2 100644
--- a/internal/form_test.go
+++ b/internal/integration/form_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"context"
@@ -18,7 +18,7 @@ import (
 	"github.com/stretchr/testify/require"
 
 	ht "github.com/ogen-go/ogen/http"
-	api "github.com/ogen-go/ogen/internal/test_form"
+	api "github.com/ogen-go/ogen/internal/integration/test_form"
 	"github.com/ogen-go/ogen/validate"
 )
 
diff --git a/internal/json_integration_test.go b/internal/integration/json_integration_test.go
similarity index 93%
rename from internal/json_integration_test.go
rename to internal/integration/json_integration_test.go
index 96512543..0d0fe1de 100644
--- a/internal/json_integration_test.go
+++ b/internal/integration/json_integration_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"net/netip"
@@ -12,9 +12,9 @@ import (
 	"github.com/stretchr/testify/require"
 
 	"github.com/ogen-go/ogen/conv"
-	api "github.com/ogen-go/ogen/internal/sample_api"
-	"github.com/ogen-go/ogen/internal/techempower"
-	singleEndpoint "github.com/ogen-go/ogen/internal/test_single_endpoint"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
+	"github.com/ogen-go/ogen/internal/integration/techempower"
+	singleEndpoint "github.com/ogen-go/ogen/internal/integration/test_single_endpoint"
 	"github.com/ogen-go/ogen/json"
 )
 
diff --git a/internal/json_test.go b/internal/integration/json_test.go
similarity index 99%
rename from internal/json_test.go
rename to internal/integration/json_test.go
index ec31ea8d..aa81a0e4 100644
--- a/internal/json_test.go
+++ b/internal/integration/json_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	std "encoding/json"
@@ -9,7 +9,7 @@ import (
 	"github.com/go-faster/jx"
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/sample_api"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
 	"github.com/ogen-go/ogen/json"
 )
 
diff --git a/internal/middleware_test.go b/internal/integration/middleware_test.go
similarity index 98%
rename from internal/middleware_test.go
rename to internal/integration/middleware_test.go
index 9b20c05a..547a9ad4 100644
--- a/internal/middleware_test.go
+++ b/internal/integration/middleware_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"bytes"
@@ -18,7 +18,7 @@ import (
 	"go.uber.org/zap/zaptest"
 	"go.uber.org/zap/zaptest/observer"
 
-	api "github.com/ogen-go/ogen/internal/sample_api"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
 	"github.com/ogen-go/ogen/middleware"
 )
 
diff --git a/internal/referenced_path_item/oas_cfg_gen.go b/internal/integration/referenced_path_item/oas_cfg_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_cfg_gen.go
rename to internal/integration/referenced_path_item/oas_cfg_gen.go
diff --git a/internal/referenced_path_item/oas_client_gen.go b/internal/integration/referenced_path_item/oas_client_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_client_gen.go
rename to internal/integration/referenced_path_item/oas_client_gen.go
diff --git a/internal/referenced_path_item/oas_handlers_gen.go b/internal/integration/referenced_path_item/oas_handlers_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_handlers_gen.go
rename to internal/integration/referenced_path_item/oas_handlers_gen.go
diff --git a/internal/referenced_path_item/oas_middleware_gen.go b/internal/integration/referenced_path_item/oas_middleware_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_middleware_gen.go
rename to internal/integration/referenced_path_item/oas_middleware_gen.go
diff --git a/internal/referenced_path_item/oas_request_decoders_gen.go b/internal/integration/referenced_path_item/oas_request_decoders_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_request_decoders_gen.go
rename to internal/integration/referenced_path_item/oas_request_decoders_gen.go
diff --git a/internal/referenced_path_item/oas_request_encoders_gen.go b/internal/integration/referenced_path_item/oas_request_encoders_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_request_encoders_gen.go
rename to internal/integration/referenced_path_item/oas_request_encoders_gen.go
diff --git a/internal/referenced_path_item/oas_response_decoders_gen.go b/internal/integration/referenced_path_item/oas_response_decoders_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_response_decoders_gen.go
rename to internal/integration/referenced_path_item/oas_response_decoders_gen.go
diff --git a/internal/referenced_path_item/oas_response_encoders_gen.go b/internal/integration/referenced_path_item/oas_response_encoders_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_response_encoders_gen.go
rename to internal/integration/referenced_path_item/oas_response_encoders_gen.go
diff --git a/internal/referenced_path_item/oas_router_gen.go b/internal/integration/referenced_path_item/oas_router_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_router_gen.go
rename to internal/integration/referenced_path_item/oas_router_gen.go
diff --git a/internal/referenced_path_item/oas_schemas_gen.go b/internal/integration/referenced_path_item/oas_schemas_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_schemas_gen.go
rename to internal/integration/referenced_path_item/oas_schemas_gen.go
diff --git a/internal/referenced_path_item/oas_server_gen.go b/internal/integration/referenced_path_item/oas_server_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_server_gen.go
rename to internal/integration/referenced_path_item/oas_server_gen.go
diff --git a/internal/referenced_path_item/oas_unimplemented_gen.go b/internal/integration/referenced_path_item/oas_unimplemented_gen.go
similarity index 100%
rename from internal/referenced_path_item/oas_unimplemented_gen.go
rename to internal/integration/referenced_path_item/oas_unimplemented_gen.go
diff --git a/internal/requests_test.go b/internal/integration/requests_test.go
similarity index 98%
rename from internal/requests_test.go
rename to internal/integration/requests_test.go
index 10b68066..aff3d4df 100644
--- a/internal/requests_test.go
+++ b/internal/integration/requests_test.go
@@ -1,4 +1,4 @@
-package internal_test
+package integration_test
 
 import (
 	"context"
@@ -12,7 +12,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/test_http_requests"
+	api "github.com/ogen-go/ogen/internal/integration/test_http_requests"
 )
 
 type testHTTPRequests struct {
diff --git a/internal/responses_test.go b/internal/integration/responses_test.go
similarity index 99%
rename from internal/responses_test.go
rename to internal/integration/responses_test.go
index 24e8d256..7b2489c5 100644
--- a/internal/responses_test.go
+++ b/internal/integration/responses_test.go
@@ -1,4 +1,4 @@
-package internal_test
+package integration_test
 
 import (
 	"bytes"
@@ -12,7 +12,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/test_http_responses"
+	api "github.com/ogen-go/ogen/internal/integration/test_http_responses"
 )
 
 type testHTTPResponses struct {
diff --git a/internal/router_test.go b/internal/integration/router_test.go
similarity index 97%
rename from internal/router_test.go
rename to internal/integration/router_test.go
index e9bb9f7b..92893f06 100644
--- a/internal/router_test.go
+++ b/internal/integration/router_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"fmt"
@@ -7,7 +7,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/sample_api"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
 )
 
 func BenchmarkFindRoute(b *testing.B) {
diff --git a/internal/sample_api/oas_cfg_gen.go b/internal/integration/sample_api/oas_cfg_gen.go
similarity index 100%
rename from internal/sample_api/oas_cfg_gen.go
rename to internal/integration/sample_api/oas_cfg_gen.go
diff --git a/internal/sample_api/oas_client_gen.go b/internal/integration/sample_api/oas_client_gen.go
similarity index 100%
rename from internal/sample_api/oas_client_gen.go
rename to internal/integration/sample_api/oas_client_gen.go
diff --git a/internal/sample_api/oas_defaults_gen.go b/internal/integration/sample_api/oas_defaults_gen.go
similarity index 100%
rename from internal/sample_api/oas_defaults_gen.go
rename to internal/integration/sample_api/oas_defaults_gen.go
diff --git a/internal/sample_api/oas_faker_gen.go b/internal/integration/sample_api/oas_faker_gen.go
similarity index 100%
rename from internal/sample_api/oas_faker_gen.go
rename to internal/integration/sample_api/oas_faker_gen.go
diff --git a/internal/sample_api/oas_handlers_gen.go b/internal/integration/sample_api/oas_handlers_gen.go
similarity index 100%
rename from internal/sample_api/oas_handlers_gen.go
rename to internal/integration/sample_api/oas_handlers_gen.go
diff --git a/internal/sample_api/oas_interfaces_gen.go b/internal/integration/sample_api/oas_interfaces_gen.go
similarity index 100%
rename from internal/sample_api/oas_interfaces_gen.go
rename to internal/integration/sample_api/oas_interfaces_gen.go
diff --git a/internal/sample_api/oas_json_gen.go b/internal/integration/sample_api/oas_json_gen.go
similarity index 100%
rename from internal/sample_api/oas_json_gen.go
rename to internal/integration/sample_api/oas_json_gen.go
diff --git a/internal/sample_api/oas_middleware_gen.go b/internal/integration/sample_api/oas_middleware_gen.go
similarity index 100%
rename from internal/sample_api/oas_middleware_gen.go
rename to internal/integration/sample_api/oas_middleware_gen.go
diff --git a/internal/sample_api/oas_parameters_gen.go b/internal/integration/sample_api/oas_parameters_gen.go
similarity index 100%
rename from internal/sample_api/oas_parameters_gen.go
rename to internal/integration/sample_api/oas_parameters_gen.go
diff --git a/internal/sample_api/oas_request_decoders_gen.go b/internal/integration/sample_api/oas_request_decoders_gen.go
similarity index 100%
rename from internal/sample_api/oas_request_decoders_gen.go
rename to internal/integration/sample_api/oas_request_decoders_gen.go
diff --git a/internal/sample_api/oas_request_encoders_gen.go b/internal/integration/sample_api/oas_request_encoders_gen.go
similarity index 100%
rename from internal/sample_api/oas_request_encoders_gen.go
rename to internal/integration/sample_api/oas_request_encoders_gen.go
diff --git a/internal/sample_api/oas_response_decoders_gen.go b/internal/integration/sample_api/oas_response_decoders_gen.go
similarity index 100%
rename from internal/sample_api/oas_response_decoders_gen.go
rename to internal/integration/sample_api/oas_response_decoders_gen.go
diff --git a/internal/sample_api/oas_response_encoders_gen.go b/internal/integration/sample_api/oas_response_encoders_gen.go
similarity index 100%
rename from internal/sample_api/oas_response_encoders_gen.go
rename to internal/integration/sample_api/oas_response_encoders_gen.go
diff --git a/internal/sample_api/oas_router_gen.go b/internal/integration/sample_api/oas_router_gen.go
similarity index 100%
rename from internal/sample_api/oas_router_gen.go
rename to internal/integration/sample_api/oas_router_gen.go
diff --git a/internal/sample_api/oas_schemas_gen.go b/internal/integration/sample_api/oas_schemas_gen.go
similarity index 100%
rename from internal/sample_api/oas_schemas_gen.go
rename to internal/integration/sample_api/oas_schemas_gen.go
diff --git a/internal/sample_api/oas_security_gen.go b/internal/integration/sample_api/oas_security_gen.go
similarity index 100%
rename from internal/sample_api/oas_security_gen.go
rename to internal/integration/sample_api/oas_security_gen.go
diff --git a/internal/sample_api/oas_server_gen.go b/internal/integration/sample_api/oas_server_gen.go
similarity index 100%
rename from internal/sample_api/oas_server_gen.go
rename to internal/integration/sample_api/oas_server_gen.go
diff --git a/internal/sample_api/oas_test_examples_gen_test.go b/internal/integration/sample_api/oas_test_examples_gen_test.go
similarity index 100%
rename from internal/sample_api/oas_test_examples_gen_test.go
rename to internal/integration/sample_api/oas_test_examples_gen_test.go
diff --git a/internal/sample_api/oas_unimplemented_gen.go b/internal/integration/sample_api/oas_unimplemented_gen.go
similarity index 100%
rename from internal/sample_api/oas_unimplemented_gen.go
rename to internal/integration/sample_api/oas_unimplemented_gen.go
diff --git a/internal/sample_api/oas_uri_gen.go b/internal/integration/sample_api/oas_uri_gen.go
similarity index 100%
rename from internal/sample_api/oas_uri_gen.go
rename to internal/integration/sample_api/oas_uri_gen.go
diff --git a/internal/sample_api/oas_validators_gen.go b/internal/integration/sample_api/oas_validators_gen.go
similarity index 100%
rename from internal/sample_api/oas_validators_gen.go
rename to internal/integration/sample_api/oas_validators_gen.go
diff --git a/internal/sample_api_nc/oas_cfg_gen.go b/internal/integration/sample_api_nc/oas_cfg_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_cfg_gen.go
rename to internal/integration/sample_api_nc/oas_cfg_gen.go
diff --git a/internal/sample_api_nc/oas_defaults_gen.go b/internal/integration/sample_api_nc/oas_defaults_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_defaults_gen.go
rename to internal/integration/sample_api_nc/oas_defaults_gen.go
diff --git a/internal/sample_api_nc/oas_handlers_gen.go b/internal/integration/sample_api_nc/oas_handlers_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_handlers_gen.go
rename to internal/integration/sample_api_nc/oas_handlers_gen.go
diff --git a/internal/sample_api_nc/oas_interfaces_gen.go b/internal/integration/sample_api_nc/oas_interfaces_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_interfaces_gen.go
rename to internal/integration/sample_api_nc/oas_interfaces_gen.go
diff --git a/internal/sample_api_nc/oas_json_gen.go b/internal/integration/sample_api_nc/oas_json_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_json_gen.go
rename to internal/integration/sample_api_nc/oas_json_gen.go
diff --git a/internal/sample_api_nc/oas_middleware_gen.go b/internal/integration/sample_api_nc/oas_middleware_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_middleware_gen.go
rename to internal/integration/sample_api_nc/oas_middleware_gen.go
diff --git a/internal/sample_api_nc/oas_parameters_gen.go b/internal/integration/sample_api_nc/oas_parameters_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_parameters_gen.go
rename to internal/integration/sample_api_nc/oas_parameters_gen.go
diff --git a/internal/sample_api_nc/oas_request_decoders_gen.go b/internal/integration/sample_api_nc/oas_request_decoders_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_request_decoders_gen.go
rename to internal/integration/sample_api_nc/oas_request_decoders_gen.go
diff --git a/internal/sample_api_nc/oas_response_encoders_gen.go b/internal/integration/sample_api_nc/oas_response_encoders_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_response_encoders_gen.go
rename to internal/integration/sample_api_nc/oas_response_encoders_gen.go
diff --git a/internal/sample_api_nc/oas_router_gen.go b/internal/integration/sample_api_nc/oas_router_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_router_gen.go
rename to internal/integration/sample_api_nc/oas_router_gen.go
diff --git a/internal/sample_api_nc/oas_schemas_gen.go b/internal/integration/sample_api_nc/oas_schemas_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_schemas_gen.go
rename to internal/integration/sample_api_nc/oas_schemas_gen.go
diff --git a/internal/sample_api_nc/oas_security_gen.go b/internal/integration/sample_api_nc/oas_security_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_security_gen.go
rename to internal/integration/sample_api_nc/oas_security_gen.go
diff --git a/internal/sample_api_nc/oas_server_gen.go b/internal/integration/sample_api_nc/oas_server_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_server_gen.go
rename to internal/integration/sample_api_nc/oas_server_gen.go
diff --git a/internal/sample_api_nc/oas_unimplemented_gen.go b/internal/integration/sample_api_nc/oas_unimplemented_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_unimplemented_gen.go
rename to internal/integration/sample_api_nc/oas_unimplemented_gen.go
diff --git a/internal/sample_api_nc/oas_uri_gen.go b/internal/integration/sample_api_nc/oas_uri_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_uri_gen.go
rename to internal/integration/sample_api_nc/oas_uri_gen.go
diff --git a/internal/sample_api_nc/oas_validators_gen.go b/internal/integration/sample_api_nc/oas_validators_gen.go
similarity index 100%
rename from internal/sample_api_nc/oas_validators_gen.go
rename to internal/integration/sample_api_nc/oas_validators_gen.go
diff --git a/internal/sample_api_ns/oas_cfg_gen.go b/internal/integration/sample_api_ns/oas_cfg_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_cfg_gen.go
rename to internal/integration/sample_api_ns/oas_cfg_gen.go
diff --git a/internal/sample_api_ns/oas_client_gen.go b/internal/integration/sample_api_ns/oas_client_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_client_gen.go
rename to internal/integration/sample_api_ns/oas_client_gen.go
diff --git a/internal/sample_api_ns/oas_defaults_gen.go b/internal/integration/sample_api_ns/oas_defaults_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_defaults_gen.go
rename to internal/integration/sample_api_ns/oas_defaults_gen.go
diff --git a/internal/sample_api_ns/oas_interfaces_gen.go b/internal/integration/sample_api_ns/oas_interfaces_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_interfaces_gen.go
rename to internal/integration/sample_api_ns/oas_interfaces_gen.go
diff --git a/internal/sample_api_ns/oas_json_gen.go b/internal/integration/sample_api_ns/oas_json_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_json_gen.go
rename to internal/integration/sample_api_ns/oas_json_gen.go
diff --git a/internal/sample_api_ns/oas_parameters_gen.go b/internal/integration/sample_api_ns/oas_parameters_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_parameters_gen.go
rename to internal/integration/sample_api_ns/oas_parameters_gen.go
diff --git a/internal/sample_api_ns/oas_request_encoders_gen.go b/internal/integration/sample_api_ns/oas_request_encoders_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_request_encoders_gen.go
rename to internal/integration/sample_api_ns/oas_request_encoders_gen.go
diff --git a/internal/sample_api_ns/oas_response_decoders_gen.go b/internal/integration/sample_api_ns/oas_response_decoders_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_response_decoders_gen.go
rename to internal/integration/sample_api_ns/oas_response_decoders_gen.go
diff --git a/internal/sample_api_ns/oas_schemas_gen.go b/internal/integration/sample_api_ns/oas_schemas_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_schemas_gen.go
rename to internal/integration/sample_api_ns/oas_schemas_gen.go
diff --git a/internal/sample_api_ns/oas_security_gen.go b/internal/integration/sample_api_ns/oas_security_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_security_gen.go
rename to internal/integration/sample_api_ns/oas_security_gen.go
diff --git a/internal/sample_api_ns/oas_uri_gen.go b/internal/integration/sample_api_ns/oas_uri_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_uri_gen.go
rename to internal/integration/sample_api_ns/oas_uri_gen.go
diff --git a/internal/sample_api_ns/oas_validators_gen.go b/internal/integration/sample_api_ns/oas_validators_gen.go
similarity index 100%
rename from internal/sample_api_ns/oas_validators_gen.go
rename to internal/integration/sample_api_ns/oas_validators_gen.go
diff --git a/internal/sample_api_nsnc/oas_cfg_gen.go b/internal/integration/sample_api_nsnc/oas_cfg_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_cfg_gen.go
rename to internal/integration/sample_api_nsnc/oas_cfg_gen.go
diff --git a/internal/sample_api_nsnc/oas_defaults_gen.go b/internal/integration/sample_api_nsnc/oas_defaults_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_defaults_gen.go
rename to internal/integration/sample_api_nsnc/oas_defaults_gen.go
diff --git a/internal/sample_api_nsnc/oas_json_gen.go b/internal/integration/sample_api_nsnc/oas_json_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_json_gen.go
rename to internal/integration/sample_api_nsnc/oas_json_gen.go
diff --git a/internal/sample_api_nsnc/oas_parameters_gen.go b/internal/integration/sample_api_nsnc/oas_parameters_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_parameters_gen.go
rename to internal/integration/sample_api_nsnc/oas_parameters_gen.go
diff --git a/internal/sample_api_nsnc/oas_schemas_gen.go b/internal/integration/sample_api_nsnc/oas_schemas_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_schemas_gen.go
rename to internal/integration/sample_api_nsnc/oas_schemas_gen.go
diff --git a/internal/sample_api_nsnc/oas_uri_gen.go b/internal/integration/sample_api_nsnc/oas_uri_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_uri_gen.go
rename to internal/integration/sample_api_nsnc/oas_uri_gen.go
diff --git a/internal/sample_api_nsnc/oas_validators_gen.go b/internal/integration/sample_api_nsnc/oas_validators_gen.go
similarity index 100%
rename from internal/sample_api_nsnc/oas_validators_gen.go
rename to internal/integration/sample_api_nsnc/oas_validators_gen.go
diff --git a/internal/sample_err/oas_cfg_gen.go b/internal/integration/sample_err/oas_cfg_gen.go
similarity index 100%
rename from internal/sample_err/oas_cfg_gen.go
rename to internal/integration/sample_err/oas_cfg_gen.go
diff --git a/internal/sample_err/oas_client_gen.go b/internal/integration/sample_err/oas_client_gen.go
similarity index 100%
rename from internal/sample_err/oas_client_gen.go
rename to internal/integration/sample_err/oas_client_gen.go
diff --git a/internal/sample_err/oas_handlers_gen.go b/internal/integration/sample_err/oas_handlers_gen.go
similarity index 100%
rename from internal/sample_err/oas_handlers_gen.go
rename to internal/integration/sample_err/oas_handlers_gen.go
diff --git a/internal/sample_err/oas_json_gen.go b/internal/integration/sample_err/oas_json_gen.go
similarity index 100%
rename from internal/sample_err/oas_json_gen.go
rename to internal/integration/sample_err/oas_json_gen.go
diff --git a/internal/sample_err/oas_middleware_gen.go b/internal/integration/sample_err/oas_middleware_gen.go
similarity index 100%
rename from internal/sample_err/oas_middleware_gen.go
rename to internal/integration/sample_err/oas_middleware_gen.go
diff --git a/internal/sample_err/oas_request_decoders_gen.go b/internal/integration/sample_err/oas_request_decoders_gen.go
similarity index 100%
rename from internal/sample_err/oas_request_decoders_gen.go
rename to internal/integration/sample_err/oas_request_decoders_gen.go
diff --git a/internal/sample_err/oas_request_encoders_gen.go b/internal/integration/sample_err/oas_request_encoders_gen.go
similarity index 100%
rename from internal/sample_err/oas_request_encoders_gen.go
rename to internal/integration/sample_err/oas_request_encoders_gen.go
diff --git a/internal/sample_err/oas_response_decoders_gen.go b/internal/integration/sample_err/oas_response_decoders_gen.go
similarity index 100%
rename from internal/sample_err/oas_response_decoders_gen.go
rename to internal/integration/sample_err/oas_response_decoders_gen.go
diff --git a/internal/sample_err/oas_response_encoders_gen.go b/internal/integration/sample_err/oas_response_encoders_gen.go
similarity index 100%
rename from internal/sample_err/oas_response_encoders_gen.go
rename to internal/integration/sample_err/oas_response_encoders_gen.go
diff --git a/internal/sample_err/oas_router_gen.go b/internal/integration/sample_err/oas_router_gen.go
similarity index 100%
rename from internal/sample_err/oas_router_gen.go
rename to internal/integration/sample_err/oas_router_gen.go
diff --git a/internal/sample_err/oas_schemas_gen.go b/internal/integration/sample_err/oas_schemas_gen.go
similarity index 100%
rename from internal/sample_err/oas_schemas_gen.go
rename to internal/integration/sample_err/oas_schemas_gen.go
diff --git a/internal/sample_err/oas_server_gen.go b/internal/integration/sample_err/oas_server_gen.go
similarity index 100%
rename from internal/sample_err/oas_server_gen.go
rename to internal/integration/sample_err/oas_server_gen.go
diff --git a/internal/sample_err/oas_unimplemented_gen.go b/internal/integration/sample_err/oas_unimplemented_gen.go
similarity index 100%
rename from internal/sample_err/oas_unimplemented_gen.go
rename to internal/integration/sample_err/oas_unimplemented_gen.go
diff --git a/internal/security_test.go b/internal/integration/security_test.go
similarity index 85%
rename from internal/security_test.go
rename to internal/integration/security_test.go
index a3b68a4c..ffe21ad7 100644
--- a/internal/security_test.go
+++ b/internal/integration/security_test.go
@@ -1,9 +1,9 @@
-package internal
+package integration
 
 import (
 	"context"
 
-	api "github.com/ogen-go/ogen/internal/sample_api"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
 )
 
 type securityKey struct{}
diff --git a/internal/servers_test.go b/internal/integration/servers_test.go
similarity index 89%
rename from internal/servers_test.go
rename to internal/integration/servers_test.go
index 09d3c5fb..9cee495d 100644
--- a/internal/servers_test.go
+++ b/internal/integration/servers_test.go
@@ -1,11 +1,11 @@
-package internal_test
+package integration_test
 
 import (
 	"testing"
 
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/test_servers"
+	api "github.com/ogen-go/ogen/internal/integration/test_servers"
 )
 
 func TestServers(t *testing.T) {
diff --git a/internal/techempower/oas_cfg_gen.go b/internal/integration/techempower/oas_cfg_gen.go
similarity index 100%
rename from internal/techempower/oas_cfg_gen.go
rename to internal/integration/techempower/oas_cfg_gen.go
diff --git a/internal/techempower/oas_client_gen.go b/internal/integration/techempower/oas_client_gen.go
similarity index 100%
rename from internal/techempower/oas_client_gen.go
rename to internal/integration/techempower/oas_client_gen.go
diff --git a/internal/techempower/oas_defaults_gen.go b/internal/integration/techempower/oas_defaults_gen.go
similarity index 100%
rename from internal/techempower/oas_defaults_gen.go
rename to internal/integration/techempower/oas_defaults_gen.go
diff --git a/internal/techempower/oas_faker_gen.go b/internal/integration/techempower/oas_faker_gen.go
similarity index 100%
rename from internal/techempower/oas_faker_gen.go
rename to internal/integration/techempower/oas_faker_gen.go
diff --git a/internal/techempower/oas_handlers_gen.go b/internal/integration/techempower/oas_handlers_gen.go
similarity index 100%
rename from internal/techempower/oas_handlers_gen.go
rename to internal/integration/techempower/oas_handlers_gen.go
diff --git a/internal/techempower/oas_json_gen.go b/internal/integration/techempower/oas_json_gen.go
similarity index 100%
rename from internal/techempower/oas_json_gen.go
rename to internal/integration/techempower/oas_json_gen.go
diff --git a/internal/techempower/oas_middleware_gen.go b/internal/integration/techempower/oas_middleware_gen.go
similarity index 100%
rename from internal/techempower/oas_middleware_gen.go
rename to internal/integration/techempower/oas_middleware_gen.go
diff --git a/internal/techempower/oas_parameters_gen.go b/internal/integration/techempower/oas_parameters_gen.go
similarity index 100%
rename from internal/techempower/oas_parameters_gen.go
rename to internal/integration/techempower/oas_parameters_gen.go
diff --git a/internal/techempower/oas_request_decoders_gen.go b/internal/integration/techempower/oas_request_decoders_gen.go
similarity index 100%
rename from internal/techempower/oas_request_decoders_gen.go
rename to internal/integration/techempower/oas_request_decoders_gen.go
diff --git a/internal/techempower/oas_request_encoders_gen.go b/internal/integration/techempower/oas_request_encoders_gen.go
similarity index 100%
rename from internal/techempower/oas_request_encoders_gen.go
rename to internal/integration/techempower/oas_request_encoders_gen.go
diff --git a/internal/techempower/oas_response_decoders_gen.go b/internal/integration/techempower/oas_response_decoders_gen.go
similarity index 100%
rename from internal/techempower/oas_response_decoders_gen.go
rename to internal/integration/techempower/oas_response_decoders_gen.go
diff --git a/internal/techempower/oas_response_encoders_gen.go b/internal/integration/techempower/oas_response_encoders_gen.go
similarity index 100%
rename from internal/techempower/oas_response_encoders_gen.go
rename to internal/integration/techempower/oas_response_encoders_gen.go
diff --git a/internal/techempower/oas_router_gen.go b/internal/integration/techempower/oas_router_gen.go
similarity index 100%
rename from internal/techempower/oas_router_gen.go
rename to internal/integration/techempower/oas_router_gen.go
diff --git a/internal/techempower/oas_schemas_gen.go b/internal/integration/techempower/oas_schemas_gen.go
similarity index 100%
rename from internal/techempower/oas_schemas_gen.go
rename to internal/integration/techempower/oas_schemas_gen.go
diff --git a/internal/techempower/oas_server_gen.go b/internal/integration/techempower/oas_server_gen.go
similarity index 100%
rename from internal/techempower/oas_server_gen.go
rename to internal/integration/techempower/oas_server_gen.go
diff --git a/internal/techempower/oas_test_examples_gen_test.go b/internal/integration/techempower/oas_test_examples_gen_test.go
similarity index 100%
rename from internal/techempower/oas_test_examples_gen_test.go
rename to internal/integration/techempower/oas_test_examples_gen_test.go
diff --git a/internal/techempower/oas_unimplemented_gen.go b/internal/integration/techempower/oas_unimplemented_gen.go
similarity index 100%
rename from internal/techempower/oas_unimplemented_gen.go
rename to internal/integration/techempower/oas_unimplemented_gen.go
diff --git a/internal/techempower/oas_validators_gen.go b/internal/integration/techempower/oas_validators_gen.go
similarity index 100%
rename from internal/techempower/oas_validators_gen.go
rename to internal/integration/techempower/oas_validators_gen.go
diff --git a/internal/test_allof/oas_cfg_gen.go b/internal/integration/test_allof/oas_cfg_gen.go
similarity index 100%
rename from internal/test_allof/oas_cfg_gen.go
rename to internal/integration/test_allof/oas_cfg_gen.go
diff --git a/internal/test_allof/oas_client_gen.go b/internal/integration/test_allof/oas_client_gen.go
similarity index 100%
rename from internal/test_allof/oas_client_gen.go
rename to internal/integration/test_allof/oas_client_gen.go
diff --git a/internal/test_allof/oas_faker_gen.go b/internal/integration/test_allof/oas_faker_gen.go
similarity index 100%
rename from internal/test_allof/oas_faker_gen.go
rename to internal/integration/test_allof/oas_faker_gen.go
diff --git a/internal/test_allof/oas_handlers_gen.go b/internal/integration/test_allof/oas_handlers_gen.go
similarity index 100%
rename from internal/test_allof/oas_handlers_gen.go
rename to internal/integration/test_allof/oas_handlers_gen.go
diff --git a/internal/test_allof/oas_interfaces_gen.go b/internal/integration/test_allof/oas_interfaces_gen.go
similarity index 100%
rename from internal/test_allof/oas_interfaces_gen.go
rename to internal/integration/test_allof/oas_interfaces_gen.go
diff --git a/internal/test_allof/oas_json_gen.go b/internal/integration/test_allof/oas_json_gen.go
similarity index 100%
rename from internal/test_allof/oas_json_gen.go
rename to internal/integration/test_allof/oas_json_gen.go
diff --git a/internal/test_allof/oas_middleware_gen.go b/internal/integration/test_allof/oas_middleware_gen.go
similarity index 100%
rename from internal/test_allof/oas_middleware_gen.go
rename to internal/integration/test_allof/oas_middleware_gen.go
diff --git a/internal/test_allof/oas_request_decoders_gen.go b/internal/integration/test_allof/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_allof/oas_request_decoders_gen.go
rename to internal/integration/test_allof/oas_request_decoders_gen.go
diff --git a/internal/test_allof/oas_request_encoders_gen.go b/internal/integration/test_allof/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_allof/oas_request_encoders_gen.go
rename to internal/integration/test_allof/oas_request_encoders_gen.go
diff --git a/internal/test_allof/oas_response_decoders_gen.go b/internal/integration/test_allof/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_allof/oas_response_decoders_gen.go
rename to internal/integration/test_allof/oas_response_decoders_gen.go
diff --git a/internal/test_allof/oas_response_encoders_gen.go b/internal/integration/test_allof/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_allof/oas_response_encoders_gen.go
rename to internal/integration/test_allof/oas_response_encoders_gen.go
diff --git a/internal/test_allof/oas_router_gen.go b/internal/integration/test_allof/oas_router_gen.go
similarity index 100%
rename from internal/test_allof/oas_router_gen.go
rename to internal/integration/test_allof/oas_router_gen.go
diff --git a/internal/test_allof/oas_schemas_gen.go b/internal/integration/test_allof/oas_schemas_gen.go
similarity index 100%
rename from internal/test_allof/oas_schemas_gen.go
rename to internal/integration/test_allof/oas_schemas_gen.go
diff --git a/internal/test_allof/oas_server_gen.go b/internal/integration/test_allof/oas_server_gen.go
similarity index 100%
rename from internal/test_allof/oas_server_gen.go
rename to internal/integration/test_allof/oas_server_gen.go
diff --git a/internal/test_allof/oas_test_examples_gen_test.go b/internal/integration/test_allof/oas_test_examples_gen_test.go
similarity index 100%
rename from internal/test_allof/oas_test_examples_gen_test.go
rename to internal/integration/test_allof/oas_test_examples_gen_test.go
diff --git a/internal/test_allof/oas_unimplemented_gen.go b/internal/integration/test_allof/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_allof/oas_unimplemented_gen.go
rename to internal/integration/test_allof/oas_unimplemented_gen.go
diff --git a/internal/test_allof/oas_uri_gen.go b/internal/integration/test_allof/oas_uri_gen.go
similarity index 100%
rename from internal/test_allof/oas_uri_gen.go
rename to internal/integration/test_allof/oas_uri_gen.go
diff --git a/internal/test_allof/oas_validators_gen.go b/internal/integration/test_allof/oas_validators_gen.go
similarity index 100%
rename from internal/test_allof/oas_validators_gen.go
rename to internal/integration/test_allof/oas_validators_gen.go
diff --git a/internal/test_form/oas_cfg_gen.go b/internal/integration/test_form/oas_cfg_gen.go
similarity index 100%
rename from internal/test_form/oas_cfg_gen.go
rename to internal/integration/test_form/oas_cfg_gen.go
diff --git a/internal/test_form/oas_client_gen.go b/internal/integration/test_form/oas_client_gen.go
similarity index 100%
rename from internal/test_form/oas_client_gen.go
rename to internal/integration/test_form/oas_client_gen.go
diff --git a/internal/test_form/oas_handlers_gen.go b/internal/integration/test_form/oas_handlers_gen.go
similarity index 100%
rename from internal/test_form/oas_handlers_gen.go
rename to internal/integration/test_form/oas_handlers_gen.go
diff --git a/internal/test_form/oas_interfaces_gen.go b/internal/integration/test_form/oas_interfaces_gen.go
similarity index 100%
rename from internal/test_form/oas_interfaces_gen.go
rename to internal/integration/test_form/oas_interfaces_gen.go
diff --git a/internal/test_form/oas_json_gen.go b/internal/integration/test_form/oas_json_gen.go
similarity index 100%
rename from internal/test_form/oas_json_gen.go
rename to internal/integration/test_form/oas_json_gen.go
diff --git a/internal/test_form/oas_middleware_gen.go b/internal/integration/test_form/oas_middleware_gen.go
similarity index 100%
rename from internal/test_form/oas_middleware_gen.go
rename to internal/integration/test_form/oas_middleware_gen.go
diff --git a/internal/test_form/oas_request_decoders_gen.go b/internal/integration/test_form/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_form/oas_request_decoders_gen.go
rename to internal/integration/test_form/oas_request_decoders_gen.go
diff --git a/internal/test_form/oas_request_encoders_gen.go b/internal/integration/test_form/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_form/oas_request_encoders_gen.go
rename to internal/integration/test_form/oas_request_encoders_gen.go
diff --git a/internal/test_form/oas_response_decoders_gen.go b/internal/integration/test_form/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_form/oas_response_decoders_gen.go
rename to internal/integration/test_form/oas_response_decoders_gen.go
diff --git a/internal/test_form/oas_response_encoders_gen.go b/internal/integration/test_form/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_form/oas_response_encoders_gen.go
rename to internal/integration/test_form/oas_response_encoders_gen.go
diff --git a/internal/test_form/oas_router_gen.go b/internal/integration/test_form/oas_router_gen.go
similarity index 100%
rename from internal/test_form/oas_router_gen.go
rename to internal/integration/test_form/oas_router_gen.go
diff --git a/internal/test_form/oas_schemas_gen.go b/internal/integration/test_form/oas_schemas_gen.go
similarity index 100%
rename from internal/test_form/oas_schemas_gen.go
rename to internal/integration/test_form/oas_schemas_gen.go
diff --git a/internal/test_form/oas_server_gen.go b/internal/integration/test_form/oas_server_gen.go
similarity index 100%
rename from internal/test_form/oas_server_gen.go
rename to internal/integration/test_form/oas_server_gen.go
diff --git a/internal/test_form/oas_unimplemented_gen.go b/internal/integration/test_form/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_form/oas_unimplemented_gen.go
rename to internal/integration/test_form/oas_unimplemented_gen.go
diff --git a/internal/test_form/oas_uri_gen.go b/internal/integration/test_form/oas_uri_gen.go
similarity index 100%
rename from internal/test_form/oas_uri_gen.go
rename to internal/integration/test_form/oas_uri_gen.go
diff --git a/internal/test_form/oas_validators_gen.go b/internal/integration/test_form/oas_validators_gen.go
similarity index 100%
rename from internal/test_form/oas_validators_gen.go
rename to internal/integration/test_form/oas_validators_gen.go
diff --git a/internal/test_http_requests/oas_cfg_gen.go b/internal/integration/test_http_requests/oas_cfg_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_cfg_gen.go
rename to internal/integration/test_http_requests/oas_cfg_gen.go
diff --git a/internal/test_http_requests/oas_client_gen.go b/internal/integration/test_http_requests/oas_client_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_client_gen.go
rename to internal/integration/test_http_requests/oas_client_gen.go
diff --git a/internal/test_http_requests/oas_handlers_gen.go b/internal/integration/test_http_requests/oas_handlers_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_handlers_gen.go
rename to internal/integration/test_http_requests/oas_handlers_gen.go
diff --git a/internal/test_http_requests/oas_interfaces_gen.go b/internal/integration/test_http_requests/oas_interfaces_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_interfaces_gen.go
rename to internal/integration/test_http_requests/oas_interfaces_gen.go
diff --git a/internal/test_http_requests/oas_json_gen.go b/internal/integration/test_http_requests/oas_json_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_json_gen.go
rename to internal/integration/test_http_requests/oas_json_gen.go
diff --git a/internal/test_http_requests/oas_middleware_gen.go b/internal/integration/test_http_requests/oas_middleware_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_middleware_gen.go
rename to internal/integration/test_http_requests/oas_middleware_gen.go
diff --git a/internal/test_http_requests/oas_request_decoders_gen.go b/internal/integration/test_http_requests/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_request_decoders_gen.go
rename to internal/integration/test_http_requests/oas_request_decoders_gen.go
diff --git a/internal/test_http_requests/oas_request_encoders_gen.go b/internal/integration/test_http_requests/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_request_encoders_gen.go
rename to internal/integration/test_http_requests/oas_request_encoders_gen.go
diff --git a/internal/test_http_requests/oas_response_decoders_gen.go b/internal/integration/test_http_requests/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_response_decoders_gen.go
rename to internal/integration/test_http_requests/oas_response_decoders_gen.go
diff --git a/internal/test_http_requests/oas_response_encoders_gen.go b/internal/integration/test_http_requests/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_response_encoders_gen.go
rename to internal/integration/test_http_requests/oas_response_encoders_gen.go
diff --git a/internal/test_http_requests/oas_router_gen.go b/internal/integration/test_http_requests/oas_router_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_router_gen.go
rename to internal/integration/test_http_requests/oas_router_gen.go
diff --git a/internal/test_http_requests/oas_schemas_gen.go b/internal/integration/test_http_requests/oas_schemas_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_schemas_gen.go
rename to internal/integration/test_http_requests/oas_schemas_gen.go
diff --git a/internal/test_http_requests/oas_server_gen.go b/internal/integration/test_http_requests/oas_server_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_server_gen.go
rename to internal/integration/test_http_requests/oas_server_gen.go
diff --git a/internal/test_http_requests/oas_unimplemented_gen.go b/internal/integration/test_http_requests/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_http_requests/oas_unimplemented_gen.go
rename to internal/integration/test_http_requests/oas_unimplemented_gen.go
diff --git a/internal/test_http_responses/oas_cfg_gen.go b/internal/integration/test_http_responses/oas_cfg_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_cfg_gen.go
rename to internal/integration/test_http_responses/oas_cfg_gen.go
diff --git a/internal/test_http_responses/oas_client_gen.go b/internal/integration/test_http_responses/oas_client_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_client_gen.go
rename to internal/integration/test_http_responses/oas_client_gen.go
diff --git a/internal/test_http_responses/oas_handlers_gen.go b/internal/integration/test_http_responses/oas_handlers_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_handlers_gen.go
rename to internal/integration/test_http_responses/oas_handlers_gen.go
diff --git a/internal/test_http_responses/oas_interfaces_gen.go b/internal/integration/test_http_responses/oas_interfaces_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_interfaces_gen.go
rename to internal/integration/test_http_responses/oas_interfaces_gen.go
diff --git a/internal/test_http_responses/oas_json_gen.go b/internal/integration/test_http_responses/oas_json_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_json_gen.go
rename to internal/integration/test_http_responses/oas_json_gen.go
diff --git a/internal/test_http_responses/oas_middleware_gen.go b/internal/integration/test_http_responses/oas_middleware_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_middleware_gen.go
rename to internal/integration/test_http_responses/oas_middleware_gen.go
diff --git a/internal/test_http_responses/oas_parameters_gen.go b/internal/integration/test_http_responses/oas_parameters_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_parameters_gen.go
rename to internal/integration/test_http_responses/oas_parameters_gen.go
diff --git a/internal/test_http_responses/oas_request_decoders_gen.go b/internal/integration/test_http_responses/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_request_decoders_gen.go
rename to internal/integration/test_http_responses/oas_request_decoders_gen.go
diff --git a/internal/test_http_responses/oas_request_encoders_gen.go b/internal/integration/test_http_responses/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_request_encoders_gen.go
rename to internal/integration/test_http_responses/oas_request_encoders_gen.go
diff --git a/internal/test_http_responses/oas_response_decoders_gen.go b/internal/integration/test_http_responses/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_response_decoders_gen.go
rename to internal/integration/test_http_responses/oas_response_decoders_gen.go
diff --git a/internal/test_http_responses/oas_response_encoders_gen.go b/internal/integration/test_http_responses/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_response_encoders_gen.go
rename to internal/integration/test_http_responses/oas_response_encoders_gen.go
diff --git a/internal/test_http_responses/oas_router_gen.go b/internal/integration/test_http_responses/oas_router_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_router_gen.go
rename to internal/integration/test_http_responses/oas_router_gen.go
diff --git a/internal/test_http_responses/oas_schemas_gen.go b/internal/integration/test_http_responses/oas_schemas_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_schemas_gen.go
rename to internal/integration/test_http_responses/oas_schemas_gen.go
diff --git a/internal/test_http_responses/oas_server_gen.go b/internal/integration/test_http_responses/oas_server_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_server_gen.go
rename to internal/integration/test_http_responses/oas_server_gen.go
diff --git a/internal/test_http_responses/oas_unimplemented_gen.go b/internal/integration/test_http_responses/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_unimplemented_gen.go
rename to internal/integration/test_http_responses/oas_unimplemented_gen.go
diff --git a/internal/test_http_responses/oas_validators_gen.go b/internal/integration/test_http_responses/oas_validators_gen.go
similarity index 100%
rename from internal/test_http_responses/oas_validators_gen.go
rename to internal/integration/test_http_responses/oas_validators_gen.go
diff --git a/internal/test_servers/oas_cfg_gen.go b/internal/integration/test_servers/oas_cfg_gen.go
similarity index 100%
rename from internal/test_servers/oas_cfg_gen.go
rename to internal/integration/test_servers/oas_cfg_gen.go
diff --git a/internal/test_servers/oas_client_gen.go b/internal/integration/test_servers/oas_client_gen.go
similarity index 100%
rename from internal/test_servers/oas_client_gen.go
rename to internal/integration/test_servers/oas_client_gen.go
diff --git a/internal/test_servers/oas_handlers_gen.go b/internal/integration/test_servers/oas_handlers_gen.go
similarity index 100%
rename from internal/test_servers/oas_handlers_gen.go
rename to internal/integration/test_servers/oas_handlers_gen.go
diff --git a/internal/test_servers/oas_json_gen.go b/internal/integration/test_servers/oas_json_gen.go
similarity index 100%
rename from internal/test_servers/oas_json_gen.go
rename to internal/integration/test_servers/oas_json_gen.go
diff --git a/internal/test_servers/oas_middleware_gen.go b/internal/integration/test_servers/oas_middleware_gen.go
similarity index 100%
rename from internal/test_servers/oas_middleware_gen.go
rename to internal/integration/test_servers/oas_middleware_gen.go
diff --git a/internal/test_servers/oas_request_decoders_gen.go b/internal/integration/test_servers/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_servers/oas_request_decoders_gen.go
rename to internal/integration/test_servers/oas_request_decoders_gen.go
diff --git a/internal/test_servers/oas_request_encoders_gen.go b/internal/integration/test_servers/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_servers/oas_request_encoders_gen.go
rename to internal/integration/test_servers/oas_request_encoders_gen.go
diff --git a/internal/test_servers/oas_response_decoders_gen.go b/internal/integration/test_servers/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_servers/oas_response_decoders_gen.go
rename to internal/integration/test_servers/oas_response_decoders_gen.go
diff --git a/internal/test_servers/oas_response_encoders_gen.go b/internal/integration/test_servers/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_servers/oas_response_encoders_gen.go
rename to internal/integration/test_servers/oas_response_encoders_gen.go
diff --git a/internal/test_servers/oas_router_gen.go b/internal/integration/test_servers/oas_router_gen.go
similarity index 100%
rename from internal/test_servers/oas_router_gen.go
rename to internal/integration/test_servers/oas_router_gen.go
diff --git a/internal/test_servers/oas_schemas_gen.go b/internal/integration/test_servers/oas_schemas_gen.go
similarity index 100%
rename from internal/test_servers/oas_schemas_gen.go
rename to internal/integration/test_servers/oas_schemas_gen.go
diff --git a/internal/test_servers/oas_server_gen.go b/internal/integration/test_servers/oas_server_gen.go
similarity index 100%
rename from internal/test_servers/oas_server_gen.go
rename to internal/integration/test_servers/oas_server_gen.go
diff --git a/internal/test_servers/oas_servers_gen.go b/internal/integration/test_servers/oas_servers_gen.go
similarity index 100%
rename from internal/test_servers/oas_servers_gen.go
rename to internal/integration/test_servers/oas_servers_gen.go
diff --git a/internal/test_servers/oas_unimplemented_gen.go b/internal/integration/test_servers/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_servers/oas_unimplemented_gen.go
rename to internal/integration/test_servers/oas_unimplemented_gen.go
diff --git a/internal/test_single_endpoint/oas_cfg_gen.go b/internal/integration/test_single_endpoint/oas_cfg_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_cfg_gen.go
rename to internal/integration/test_single_endpoint/oas_cfg_gen.go
diff --git a/internal/test_single_endpoint/oas_client_gen.go b/internal/integration/test_single_endpoint/oas_client_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_client_gen.go
rename to internal/integration/test_single_endpoint/oas_client_gen.go
diff --git a/internal/test_single_endpoint/oas_handlers_gen.go b/internal/integration/test_single_endpoint/oas_handlers_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_handlers_gen.go
rename to internal/integration/test_single_endpoint/oas_handlers_gen.go
diff --git a/internal/test_single_endpoint/oas_json_gen.go b/internal/integration/test_single_endpoint/oas_json_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_json_gen.go
rename to internal/integration/test_single_endpoint/oas_json_gen.go
diff --git a/internal/test_single_endpoint/oas_middleware_gen.go b/internal/integration/test_single_endpoint/oas_middleware_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_middleware_gen.go
rename to internal/integration/test_single_endpoint/oas_middleware_gen.go
diff --git a/internal/test_single_endpoint/oas_request_decoders_gen.go b/internal/integration/test_single_endpoint/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_request_decoders_gen.go
rename to internal/integration/test_single_endpoint/oas_request_decoders_gen.go
diff --git a/internal/test_single_endpoint/oas_request_encoders_gen.go b/internal/integration/test_single_endpoint/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_request_encoders_gen.go
rename to internal/integration/test_single_endpoint/oas_request_encoders_gen.go
diff --git a/internal/test_single_endpoint/oas_response_decoders_gen.go b/internal/integration/test_single_endpoint/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_response_decoders_gen.go
rename to internal/integration/test_single_endpoint/oas_response_decoders_gen.go
diff --git a/internal/test_single_endpoint/oas_response_encoders_gen.go b/internal/integration/test_single_endpoint/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_response_encoders_gen.go
rename to internal/integration/test_single_endpoint/oas_response_encoders_gen.go
diff --git a/internal/test_single_endpoint/oas_router_gen.go b/internal/integration/test_single_endpoint/oas_router_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_router_gen.go
rename to internal/integration/test_single_endpoint/oas_router_gen.go
diff --git a/internal/test_single_endpoint/oas_schemas_gen.go b/internal/integration/test_single_endpoint/oas_schemas_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_schemas_gen.go
rename to internal/integration/test_single_endpoint/oas_schemas_gen.go
diff --git a/internal/test_single_endpoint/oas_server_gen.go b/internal/integration/test_single_endpoint/oas_server_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_server_gen.go
rename to internal/integration/test_single_endpoint/oas_server_gen.go
diff --git a/internal/test_single_endpoint/oas_unimplemented_gen.go b/internal/integration/test_single_endpoint/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_single_endpoint/oas_unimplemented_gen.go
rename to internal/integration/test_single_endpoint/oas_unimplemented_gen.go
diff --git a/internal/test_webhooks/oas_cfg_gen.go b/internal/integration/test_webhooks/oas_cfg_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_cfg_gen.go
rename to internal/integration/test_webhooks/oas_cfg_gen.go
diff --git a/internal/test_webhooks/oas_client_gen.go b/internal/integration/test_webhooks/oas_client_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_client_gen.go
rename to internal/integration/test_webhooks/oas_client_gen.go
diff --git a/internal/test_webhooks/oas_handlers_gen.go b/internal/integration/test_webhooks/oas_handlers_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_handlers_gen.go
rename to internal/integration/test_webhooks/oas_handlers_gen.go
diff --git a/internal/test_webhooks/oas_interfaces_gen.go b/internal/integration/test_webhooks/oas_interfaces_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_interfaces_gen.go
rename to internal/integration/test_webhooks/oas_interfaces_gen.go
diff --git a/internal/test_webhooks/oas_json_gen.go b/internal/integration/test_webhooks/oas_json_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_json_gen.go
rename to internal/integration/test_webhooks/oas_json_gen.go
diff --git a/internal/test_webhooks/oas_middleware_gen.go b/internal/integration/test_webhooks/oas_middleware_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_middleware_gen.go
rename to internal/integration/test_webhooks/oas_middleware_gen.go
diff --git a/internal/test_webhooks/oas_parameters_gen.go b/internal/integration/test_webhooks/oas_parameters_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_parameters_gen.go
rename to internal/integration/test_webhooks/oas_parameters_gen.go
diff --git a/internal/test_webhooks/oas_request_decoders_gen.go b/internal/integration/test_webhooks/oas_request_decoders_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_request_decoders_gen.go
rename to internal/integration/test_webhooks/oas_request_decoders_gen.go
diff --git a/internal/test_webhooks/oas_request_encoders_gen.go b/internal/integration/test_webhooks/oas_request_encoders_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_request_encoders_gen.go
rename to internal/integration/test_webhooks/oas_request_encoders_gen.go
diff --git a/internal/test_webhooks/oas_response_decoders_gen.go b/internal/integration/test_webhooks/oas_response_decoders_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_response_decoders_gen.go
rename to internal/integration/test_webhooks/oas_response_decoders_gen.go
diff --git a/internal/test_webhooks/oas_response_encoders_gen.go b/internal/integration/test_webhooks/oas_response_encoders_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_response_encoders_gen.go
rename to internal/integration/test_webhooks/oas_response_encoders_gen.go
diff --git a/internal/test_webhooks/oas_router_gen.go b/internal/integration/test_webhooks/oas_router_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_router_gen.go
rename to internal/integration/test_webhooks/oas_router_gen.go
diff --git a/internal/test_webhooks/oas_schemas_gen.go b/internal/integration/test_webhooks/oas_schemas_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_schemas_gen.go
rename to internal/integration/test_webhooks/oas_schemas_gen.go
diff --git a/internal/test_webhooks/oas_server_gen.go b/internal/integration/test_webhooks/oas_server_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_server_gen.go
rename to internal/integration/test_webhooks/oas_server_gen.go
diff --git a/internal/test_webhooks/oas_unimplemented_gen.go b/internal/integration/test_webhooks/oas_unimplemented_gen.go
similarity index 100%
rename from internal/test_webhooks/oas_unimplemented_gen.go
rename to internal/integration/test_webhooks/oas_unimplemented_gen.go
diff --git a/internal/validate_test.go b/internal/integration/validate_test.go
similarity index 97%
rename from internal/validate_test.go
rename to internal/integration/validate_test.go
index 17d4fd97..3730db27 100644
--- a/internal/validate_test.go
+++ b/internal/integration/validate_test.go
@@ -1,4 +1,4 @@
-package internal
+package integration
 
 import (
 	"fmt"
@@ -7,7 +7,7 @@ import (
 	"github.com/go-faster/jx"
 	"github.com/stretchr/testify/require"
 
-	api "github.com/ogen-go/ogen/internal/sample_api"
+	api "github.com/ogen-go/ogen/internal/integration/sample_api"
 	"github.com/ogen-go/ogen/json"
 	"github.com/ogen-go/ogen/validate"
 )