Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit d066c9e

Browse files
mromaszewiczclaude
andcommitted
chore: restructure experimental test suite by topic
Eliminate the previous_version/ directory and reorganize all tests into a topic-based hierarchy matching the original chore/refactor-tests structure. Add new webhook and callback test categories for features unique to the experimental codegen. Structure changes: - Park allOf/anyOf/oneOf tests in _parked/ (pending reimplementation) - Redistribute 22 issue tests into topical directories: components/, extensions/, output_options/, parameters/, request_response/, name_conflict_resolution/ - Move 6 multi-package external ref tests with import-mapping rewrites - Move 3 monolithic specs (schemas, components, parameters) to new homes - Create webhooks/ and callbacks/ tests with instantiation-based verification of initiator/receiver code generation - Delete previous_version/ entirely All 41 test packages pass (39 original + 2 new), 0 failures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e87c2fb commit d066c9e

255 files changed

Lines changed: 2613 additions & 702 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Package all_of tests allOf schema composition from the V2 test suite.
2+
package all_of
3+

experimental/codegen/internal/test/previous_version/all_of/output/types.gen.go renamed to experimental/codegen/internal/test/_parked/all_of/output/types.gen.go

File renamed without changes.

experimental/codegen/internal/test/previous_version/all_of/output/types_test.go renamed to experimental/codegen/internal/test/_parked/all_of/output/types_test.go

File renamed without changes.

experimental/codegen/internal/test/previous_version/all_of/spec.yaml renamed to experimental/codegen/internal/test/_parked/all_of/spec.yaml

File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Package inline tests inline anyOf schema composition from the V2 test suite.
2+
package inline
3+

experimental/codegen/internal/test/previous_version/any_of/inline/output/types.gen.go renamed to experimental/codegen/internal/test/_parked/any_of/inline/output/types.gen.go

File renamed without changes.

experimental/codegen/internal/test/previous_version/any_of/inline/output/types_test.go renamed to experimental/codegen/internal/test/_parked/any_of/inline/output/types_test.go

File renamed without changes.

experimental/codegen/internal/test/previous_version/any_of/inline/spec.yaml renamed to experimental/codegen/internal/test/_parked/any_of/inline/spec.yaml

File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Package param tests anyOf/oneOf in parameters from the V2 test suite.
2+
package param
3+

experimental/codegen/internal/test/previous_version/any_of/param/output/types.gen.go renamed to experimental/codegen/internal/test/_parked/any_of/param/output/types.gen.go

File renamed without changes.

0 commit comments

Comments
 (0)