components/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2026 License: Apache-2.0

Directories

Path Synopsis
Package all_of tests allOf schema composition including inheritance chains, required field merging, and nested allOf with additional properties.
Package all_of tests allOf schema composition including inheritance chains, required field merging, and nested allOf with additional properties.
allof_with_properties
additional_properties
Package additional_properties tests allOf composition where members have additionalProperties: true.
Package additional_properties tests allOf composition where members have additionalProperties: true.
additional_properties_merge
Package additional_properties_merge tests all combinations of allOf merging with different additionalProperties configurations (true, false, typed, default).
Package additional_properties_merge tests all combinations of allOf merging with different additionalProperties configurations (true, false, typed, default).
format
Package format tests allOf used to apply format constraints (uuid, date) to a base string type.
Package format tests allOf used to apply format constraints (uuid, date) to a base string type.
same_level
Package same_level tests that properties defined at the same level as allOf are included in the generated type, not ignored.
Package same_level tests that properties defined at the same level as allOf are included in the generated type, not ignored.
Package any_of_enums tests that enum types are generated for properties inside anyOf member schemas.
Package any_of_enums tests that enum types are generated for properties inside anyOf member schemas.
Package any_of_inline tests inline anyOf schema composition with response schemas containing multiple object variants.
Package any_of_inline tests inline anyOf schema composition with response schemas containing multiple object variants.
Package any_of_single_ref tests anyOf with a single $ref — should generate a typed property, not interface{}.
Package any_of_single_ref tests anyOf with a single $ref — should generate a typed property, not interface{}.
Package composition tests complex component schemas including additionalProperties, oneOf/anyOf patterns, enums, readOnly/writeOnly, and x-go-name.
Package composition tests complex component schemas including additionalProperties, oneOf/anyOf patterns, enums, readOnly/writeOnly, and x-go-name.
Package default_values tests default value handling in generated types.
Package default_values tests default value handling in generated types.
enums
illegal_names
Package illegal_names tests enum constant generation with edge cases.
Package illegal_names tests enum constant generation with edge cases.
Package nested_aggregate tests complex nesting of allOf, anyOf, and oneOf: arrays of anyOf, objects with anyOf/oneOf properties, allOf containing oneOf, oneOf with nested allOf and field preservation, and composition with enums.
Package nested_aggregate tests complex nesting of allOf, anyOf, and oneOf: arrays of anyOf, objects with anyOf/oneOf properties, allOf containing oneOf, oneOf with nested allOf and field preservation, and composition with enums.
Package nullable tests nullable type generation with required/optional combinations.
Package nullable tests nullable type generation with required/optional combinations.
Package objects tests object schemas with additionalProperties configurations.
Package objects tests object schemas with additionalProperties configurations.
Package one_of_discriminator_multi_mapping tests oneOf with a discriminator having multiple mapping entries pointing to the same schema.
Package one_of_discriminator_multi_mapping tests oneOf with a discriminator having multiple mapping entries pointing to the same schema.
Package one_of_string_enums tests oneOf with single-value string enum variants (undefined, registered, pending, active).
Package one_of_string_enums tests oneOf with single-value string enum variants (undefined, registered, pending, active).
primitives
aliased_date
Package aliased_date tests aliased date-format types.
Package aliased_date tests aliased date-format types.
untyped_properties
Package untyped_properties tests properties with no type field.
Package untyped_properties tests properties with no type field.
Package recursive tests that recursive types are handled properly.
Package recursive tests that recursive types are handled properly.
Package recursive_all_of tests recursive allOf self-references in schema definitions without causing a stack overflow.
Package recursive_all_of tests recursive allOf self-references in schema definitions without causing a stack overflow.
Package recursive_one_of tests recursive/circular oneOf schema references (FilterPredicate pattern).
Package recursive_one_of tests recursive/circular oneOf schema references (FilterPredicate pattern).
Package schemas tests comprehensive schema generation including generic objects, nullable properties, custom formats, extra-tags, deprecated fields, and x-go-type-name.
Package schemas tests comprehensive schema generation including generic objects, nullable properties, custom formats, extra-tags, deprecated fields, and x-go-type-name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL