Skip to content

Regenerate API models for file fields#19

Merged
giordano-lucas merged 1 commit intomainfrom
feature/api-model-regeneration
Mar 20, 2026
Merged

Regenerate API models for file fields#19
giordano-lucas merged 1 commit intomainfrom
feature/api-model-regeneration

Conversation

@giordano-lucas
Copy link
Copy Markdown
Member

Summary

  • Regenerated internal/api/client.gen.go to align the models with the current OpenAPI schema.
  • Updated file-bearing request and response models to use string fields instead of openapi_types.File.
  • Expanded ValidationError to include the new optional ctx and input fields.

Testing

  • Not run (generated code update only).
  • Reviewed the diff to confirm the regenerated model fields match the schema changes.

- Replace file-typed payload fields with strings
- Add newer validation error fields from generated schema
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 20, 2026

Greptile encountered an error while reviewing this PR. Please reach out to support@greptile.com for assistance.

@giordano-lucas giordano-lucas merged commit 29ea2fc into main Mar 20, 2026
3 checks 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