Skip to content

Commit

Permalink
Link totalRecords documentation. Explain limit=0.
Browse files Browse the repository at this point in the history
  • Loading branch information
julianladisch committed Oct 4, 2024
1 parent c113f10 commit d8be631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schemas/resultInfo.schema
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"properties": {
"totalRecords": {
"type": "integer",
"description": "Estimated or exact total number of records"
"description": "Estimated or exact total number of records. For details see https://github.com/folio-org/raml-module-builder#estimated-totalrecords"
},
"totalRecordsEstimated": {
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion traits/pageable.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
minimum: 0
maximum: 2147483647
limit:
description: Limit the number of elements returned in the response
description: Limit the number of elements returned in the response. Using limit=0 will return totalRecords with the exact value. For details about totalRecords see https://github.com/folio-org/raml-module-builder#estimated-totalrecords
type: integer
required: false
example: 10
Expand Down

0 comments on commit d8be631

Please sign in to comment.