Skip to content

fix(all): Aligning http headers, autogenerate API clients#583

Merged
najuna-brian merged 19 commits intoOpenDataEnsemble:devfrom
HelloSapiens:fix/align-http-version-header
Mar 28, 2026
Merged

fix(all): Aligning http headers, autogenerate API clients#583
najuna-brian merged 19 commits intoOpenDataEnsemble:devfrom
HelloSapiens:fix/align-http-version-header

Conversation

@r0ssing
Copy link
Copy Markdown
Contributor

@r0ssing r0ssing commented Mar 28, 2026

Autogenerate API clients

Description

  • This PR aligns the version header to be x-ode-version (instead of the mixed x-formulus-version and x-api-version headers used previously).
  • Updates synkronus-portal to use the same autogeneration tooling as formulus (instead of a manually created and maintained
    client)
  • Updates the CLI to use go oapi to generate a client for the open api spec.
  • Fixes an error in the open api spec (missing "responses" ref)

Type of Change

  • Bug Fix
  • New Feature / Enhancement
  • Refactor / Code Cleanup
  • Documentation Update
  • Maintenance / Chore
  • Other (please specify):

Component(s) Affected

  • formulus (React Native mobile app)
  • formulus-formplayer (React web app)
  • synkronus (Go backend server)
  • synkronus-cli (Command-line utility)
  • Documentation
  • DevOps / CI/CD
  • Other:

Related Issue(s)

Closes/Fixes/Resolves:


Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manually tested
  • Tested on multiple platforms (if applicable)
  • Not applicable

Breaking Changes

  • This PR introduces breaking changes
  • This PR does NOT introduce breaking changes

If breaking changes, please describe migration steps:


Documentation Updates

  • Documentation has been updated
  • Documentation update is not required

@r0ssing r0ssing requested a review from najuna-brian March 28, 2026 13:02
@r0ssing
Copy link
Copy Markdown
Contributor Author

r0ssing commented Mar 28, 2026

This PR now also adds;

  • a way to create an admin user on synkronus in case of lock-out
  • an option in synkronus to allow for resizing/compression of images on push

@najuna-brian najuna-brian merged commit c795759 into OpenDataEnsemble:dev Mar 28, 2026
18 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.

2 participants