Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: register the transforms for use in workflows #1178

Merged
merged 6 commits into from
Dec 23, 2024
Merged

Conversation

LukeHagar
Copy link
Contributor

@LukeHagar LukeHagar commented Dec 21, 2024

This pull request includes several changes to the normalization process and the structure of the NormalizeDocument function. The most important changes involve modifying function signatures to simplify parameters and adding new functionality for document formatting.

Normalization process improvements:

  • cmd/openapi/transform.go: Simplified the NormalizeDocument function call by merging NormalizeOptions into direct parameters.
  • internal/transform/normalize.go: Updated NormalizeDocument and NormalizeFromReader functions to accept prefixItems as a direct parameter instead of part of NormalizeOptions. [1] [2]

Additional functionality:

  • internal/run/transform.go: Added new substeps for document formatting and normalization within the Do function to enhance processing capabilities.

Code organization:

Testing updates:

@LukeHagar LukeHagar changed the title fix: register the transforms for us in workflows fix: register the transforms for use in workflows Dec 23, 2024
@LukeHagar LukeHagar merged commit 4844279 into main Dec 23, 2024
2 of 3 checks passed
@LukeHagar LukeHagar deleted the register-transforms branch December 23, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants