Added cursor pagination support to paged operations.

This commit is contained in:
javier committed 2026-10-25 17:37:05 +01:00
1 parent fde2382056
commit c984be3263
7 files changed
+4340 -4

No files matched your search

+2 -4
View File
@@ -103,10 +103,8 @@ oas-download: ## Downloads the latest App Store Connect OpenAPI specification do
@rm -rf "$(OAS_DOWNLOAD_FOLDER)"
@$(MAKE) --no-print-directory oas-patch
oas-patch: # Patches the OpenAPI specification document so the generated code compiles
@# Removes empty enums (e.g. `fields[appKeywords]`), as they generate case-less Swift enums that do not compile.
@jq '(.. | objects | select(.enum == [])) |= del(.enum)' \
"$(OAS_DOWNLOAD_OUTPUT)" > "$(OAS_DOWNLOAD_OUTPUT).tmp"
oas-patch: # Patches the OpenAPI specification document with the patches in Scripts/patch-oas.jq
@jq --from-file Scripts/patch-oas.jq "$(OAS_DOWNLOAD_OUTPUT)" > "$(OAS_DOWNLOAD_OUTPUT).tmp"
@mv "$(OAS_DOWNLOAD_OUTPUT).tmp" "$(OAS_DOWNLOAD_OUTPUT)"
# IDE