Skip to content

Note about need request body json props in mgmt api openapi spec (MgmtRolloutRestRequestBodyPost) #2747

Open

Description

@fkromer

Responses of POST /rest/v1/rollouts would be less misleading if we'd provide a note about the need for either amountGroups or for groups in the MgmtRolloutRestRequestBodyPost schema. Alternatively setting a default value for amountGroups (groups the rollout should split targets into) of 1 would be reasonable as well.

{
    "exceptionClass": "jakarta.validation.ValidationException",
    "errorCode": "hawkbit.server.error.repo.constraintViolation",
    "message": "Either 'amountGroups' or 'groups' must be defined in the request"
}

Activity

  1. vasilchev commented on Jan 26, 2026

    @vasilchev
    Contributor

    Hello,
    since Dec 2025, 'amountGroups' has default value of 1

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