Skip to content

[Bug]: Water Supply Accounting catalog endpoint not respecting default row limit #1920

Description

@zack-rma

Describe the bug

When querying the water supply contract accounting catalog endpoint, the default row limit is 0. This is documented as being equivalent to no limit, but testing shows that no results are returned unless a value greater than 0 is provided.

@OpenApiParam(name = ROW_LIMIT, description = "The maximum number of rows to return. "

Expected behavior

I would expect no row limit when the default value of 0 is used.

To Reproduce

  1. GET from the accounting endpoint with no row limit parameter specified.
  2. Receive no accounting records
  3. Repeat step 1, specifying a row limit of 100
  4. Receive accounting records

Priority

Medium

Logs/Incident Identifier

No response

CURL Commands

CDA Version

latest-dev

Additional context

No response

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

    bugSomething isn't workingpriority:mediumWe care, and will try and get to it soon.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions