Skip to content

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

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions