Skip to content

The OpenAPI spec's version lags the release version (1.1.1 on main at v1.2.0rc3) #2950

Backlog

Description

@Flix6x

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions