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

Trims Components from input document in plugin generation #4748

Merged
merged 6 commits into from
Jun 4, 2024

Conversation

andrueastman
Copy link
Member

@andrueastman andrueastman commented May 31, 2024

Fixes #4672

On plugin generation, this PR leverages the OpenApi.Net library to trim unused component in the document similar to Hidi using the OpenApiFilterService.CreateFilteredDocument operation.

It also replaces all responses in the input document with a single 2XX response to reduce the size.

Copy link

sonarcloud bot commented Jun 4, 2024

auto-merge was automatically disabled June 4, 2024 08:33

Pull Request is not mergeable

@andrueastman andrueastman merged commit e1eee1b into main Jun 4, 2024
207 checks passed
@andrueastman andrueastman deleted the andrueastman/pluginDocumentTrimming branch June 4, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants