Skip to content

Client side validation for rhoas service-registry list #1111

@rkpattnaik780

Description

@rkpattnaik780

Description

CLI should validate inputs provided for flags --page and --limit.

Providing a non-positive value throws error 500 with reason Unspecified error

Steps to reproduce

  1. Run service-registry list command with limit = 0.
./rhoas service-registry list --limit 0 

Expected behaviour

Client should throw error that positive values are to be provided.

Logs

Screenshot from 2021-09-23 18-26-48

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions