From b5cb6b4f8b43fe35d6527f1bbe1ceed7365b9a31 Mon Sep 17 00:00:00 2001 From: yasima-csiro <72474143+yasima-csiro@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:15:08 +1100 Subject: [PATCH] Update swagger documentation #902 #914 (#915) * Update swagger documentation #902 #914 * Update API description * Update search api description --- .../java/au/org/ala/biocache/web/OccurrenceController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/au/org/ala/biocache/web/OccurrenceController.java b/src/main/java/au/org/ala/biocache/web/OccurrenceController.java index e2dfa5e10..da627cbc1 100644 --- a/src/main/java/au/org/ala/biocache/web/OccurrenceController.java +++ b/src/main/java/au/org/ala/biocache/web/OccurrenceController.java @@ -871,9 +871,8 @@ SearchResultDTO occurrenceSearchDeprecated( * @return * @throws Exception */ - @SecurityRequirement(name = "JWT") @Operation(summary = "Occurrence search", - description = "Occurrence search service that supports facets", + description = "Occurrence search service that supports facets. Please note that results are limited to a maximum of 5,000 records, though this limit may vary. No additional records will be returned beyond this cap, regardless of the start or pageSize parameters. To retrieve more than the specified limit, consider using the download API instead.", tags = "Occurrence" ) @RequestMapping(value = {