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
- GET from the accounting endpoint with no row limit parameter specified.
- Receive no accounting records
- Repeat step 1, specifying a row limit of 100
- Receive accounting records
Priority
Medium
Logs/Incident Identifier
No response
CURL Commands
CDA Version
latest-dev
Additional context
No response
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.
cwms-data-api/cwms-data-api/src/main/java/cwms/cda/api/watersupply/AccountingCatalogController.java
Line 119 in 92c63e6
Expected behavior
I would expect no row limit when the default value of 0 is used.
To Reproduce
Priority
Medium
Logs/Incident Identifier
No response
CURL Commands
CDA Version
latest-dev
Additional context
No response