Skip to content

feat: bump openapi-flatten, which names a list of a component - #91

Merged
MarkRosemaker merged 1 commit into
mainfrom
feat/named-lists
Nov 26, 2026
Merged

MarkRosemaker merged 1 commit into
mainfrom
feat/named-lists

Conversation

@MarkRosemaker

Copy link
Copy Markdown
Owner

This bumps openapi-flatten to include MarkRosemaker/openapi-flatten#17. That change moves an inline array of a component schema into the components under the component's plural name, or reuses an existing component of that name if it lists the same component.

The golden and debug outputs are updated by hand to match:

  • golden: Entries, Members, PageOrPartials, PropertyFilters and ScheduleFormats are new named list types. The fields, query parameters and return values that used them now use those names, so Search, for example, returns PageOrPartials.
  • debug: Item.Events is now Events, which gets its own unknownEnum method.

Without this PR, the scheduled dependency bump would fail these golden tests.

make ready passes.


Generated by Claude Code

Flatten now moves an inline array of a component to the components as
the component's plural, so the generated code says Entries, Members,
PropertyFilters and ScheduleFormats rather than []Entry, []Member,
[]PropertyFilter and []ScheduleFormat. The golden and debug outputs are
updated to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QCb1AfnATvpBQCH3PrX7Y
@MarkRosemaker
MarkRosemaker merged commit 397dfcd into main Nov 26, 2026
1 check passed
@MarkRosemaker
MarkRosemaker deleted the feat/named-lists branch November 26, 2026 01:52
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