Skip to content

Fix regeneration for OpenAPI specs over 3 MiB - #2

Merged
mikipalet merged 1 commit into
mainfrom
fix/openapi-json-input
Sep 21, 2026
Merged

mikipalet merged 1 commit into
mainfrom
fix/openapi-json-input

Conversation

@mikipalet

Copy link
Copy Markdown
Member

The hosted YAML OpenAPI document now exceeds SnakeYAML's 3 MiB default code-point limit, causing regeneration to fail before code generation. Fetch the equivalent JSON representation from the same API endpoint so OpenAPI Generator uses its JSON parser while preserving the existing local filename and downstream workflow behavior.

Validation:

  • Reproduced the YAML parser limit with OpenAPI Generator 7.23.0
  • Generated this SDK language successfully from the JSON response
  • Parsed the updated workflow as YAML
  • git diff --check

@mikipalet
mikipalet merged commit e545a17 into main Sep 21, 2026
1 check passed
@mikipalet
mikipalet deleted the fix/openapi-json-input branch September 21, 2026 09:32
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.

1 participant