Skip to content

Update OpenAPI spec and regenerate SDK#8

Merged
Bucknalla merged 1 commit intomainfrom
alex-update-openapi-spec
Mar 14, 2026
Merged

Update OpenAPI spec and regenerate SDK#8
Bucknalla merged 1 commit intomainfrom
alex-update-openapi-spec

Conversation

@Bucknalla
Copy link
Copy Markdown
Collaborator

@Bucknalla Bucknalla commented Mar 14, 2026

Summary

  • Updates the OpenAPI spec with the latest Notehub API changes
  • Disables disallowAdditionalPropertiesIfNotPresent so generated models accept unknown JSON fields, preventing deserialization errors when the spec lags behind the API
  • Adds rm -rf test/ to generate_and_format workflow so stale test cases are cleaned up during regeneration
  • Regenerates all models, API clients, docs, and tests

Test plan

  • go build ./... passes
  • go test ./... passes
  • Verify generated models include AdditionalProperties field
  • Confirm CLI consuming this SDK handles new/unknown API fields gracefully

🤖 Generated with Claude Code

- Update OpenAPI spec with latest Notehub API changes
- Disable disallowAdditionalPropertiesIfNotPresent so models accept unknown fields
- Clear test/ before regenerating to remove stale test cases
- Regenerate all models, API clients, and docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Bucknalla Bucknalla merged commit 7ceb469 into main Mar 14, 2026
1 check passed
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