You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The OpenAPI spec's version lags the release version (1.1.1 on main at v1.2.0rc3) #2950
flexmeasures/ui/static/openapi-specs.json says "version": "1.1.1" on main, while main is at v1.2.0rc3.
The spec's version is written from the installed FlexMeasures version (major.minor.micro, see flexmeasures/api/v3_0/__init__.py),
but only when someone regenerates the spec (the generate-openapi-specs pre-commit hook, local only and skipped in CI),
and PRs are asked to revert unrelated changes to the spec, such as its version. So nobody bumps it, and it lags behind the releases.
Proposal: regenerate the spec (or at least its version) as a release step, or add a CI check that the spec's version matches the version being released.
Noticed while re-checking #2884, which kept main's 1.1.1 on purpose.
Activity