Skip to content

chore: bump dependencies and regenerate - #26

Merged
MarkRosemaker merged 1 commit into
mainfrom
chore/bump-deps-regenerate
Nov 27, 2026
Merged

MarkRosemaker merged 1 commit into
mainfrom
chore/bump-deps-regenerate

Conversation

@MarkRosemaker

Copy link
Copy Markdown
Contributor

Fixes #25

devtool's "update dependencies" task changes only go.mod, go.sum and vendor/. With the new openapi-flatten, the generator now produces different output, so TestGenerate found the committed api/openapi.json and types.gen.go stale. This PR bumps the dependencies and commits the regenerated files with them.

What changes in the generated code comes from MarkRosemaker/openapi-flatten#18 and #19:

  • Numbered copies: a list that differs only in its description now reuses the existing list type. AccessibleByItems2, AgentConnectionsItems2/3, QueryAgentsFilterOrItems2, QueryAgentsFilterOrItemOrItems2 and SessionNestedFilterOrItems2 are gone.
  • Doubled plurals: a list of a list, or of a name that takes no s, is now named with List:
    • RichTextItemses becomes RichTextItemsList.
    • RichTextses becomes RichTextsList.
    • BlockObjectWithSingleLevelOfChildrens becomes BlockObjectWithSingleLevelOfChildrenList.
    • ColumnBlockWithChildrens becomes ColumnBlockWithChildrenList.
    • The same applies to the tab item lists.
  • Taken plurals: a list whose plural another list with different bounds already holds is named after its property, so idResponses3 becomes OtherMeetingNoteIds.

make ready passes, including TestGenerate.


Generated by Claude Code

openapi-flatten reuses a list that differs only in its description,
names a list of a list or of a name that takes no s with List, and
names a list whose plural another list holds after its property: the
numbered and doubled names (AgentConnectionsItems2, RichTextItemses,
BlockObjectWithSingleLevelOfChildrens, idResponses3) are gone. The
update left the generated files as they were, so TestGenerate found
them stale; they are regenerated with it.

Fixes #25

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QCb1AfnATvpBQCH3PrX7Y
@MarkRosemaker
MarkRosemaker merged commit d510704 into main Nov 27, 2026
1 check passed
@MarkRosemaker
MarkRosemaker deleted the chore/bump-deps-regenerate branch November 27, 2026 01:22
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.

Tests fail after "update dependencies": TestGenerate

2 participants