<#3348 feat(taps): Automatic normalization of Open...
# meltano-repo-activity
g
#3348 feat(taps): Automatic normalization of OpenAPI schema features Pull request opened by edgarrmondragon ## Summary by Sourcery Introduce automatic normalization of OpenAPI schemas to standard JSON Schema by adding a normalization pipeline in OpenAPISchema and enabling optional normalization in StreamSchema. New Features: • Add a normalization pipeline to OpenAPISchema with steps to flatten single-item oneOf, convert nullable attributes to type arrays, normalize object properties and array items, and remove enum keywords • Add a normalize flag to StreamSchema descriptor to apply OpenAPISchema normalization automatically when retrieving schemas Enhancements: • Allow customization of the normalization pipeline order by overriding get_normalization_pipeline or individual normalization methods Documentation: • Update StreamSchema docstring with examples of enabling OpenAPI normalization Tests: • Add comprehensive tests for OpenAPI schema normalization covering nullable conversion, key property handling, oneOf simplification, enum removal, recursive object and array normalization, custom pipelines, and StreamSchema integration meltano/sdk