Retire allowFhirApi and resourceTypes off the share-link response

iOS green-lit removal on 2026-07-30 (their decoder treats both as
optional, confirmed at ShareLinkDTO.swift:105-106) and confirmed no
shipped build breaks. Drops RETIRED_FHIR_SCOPE_FIELDS and its spread
from the create and list responses, removes the two properties and
their required-list entries from ShareLinkCreated/ShareLinkList in
the OpenAPI source, and regenerates the spec. The request side was
already closed off by .strict() in an earlier pass; this finishes it
on the response side.

Route tests now assert the fields are absent from both responses
instead of asserting the constants they used to carry.
This commit is contained in:
Marc-André Bombeck committed 2026-08-01 11:38:16 +02:00
1 parent fb1bf710e6
commit 5767e0330b
5 files changed
+12 -71

No files matched your search

-16
View File
@@ -16518,12 +16518,6 @@ components:
type: boolean
needsReselection:
type: boolean
allowFhirApi:
type: boolean
resourceTypes:
type: array
items:
type: string
expiresAt:
type: string
createdAt:
@@ -16562,8 +16556,6 @@ components:
- documentCount
- documentOnly
- needsReselection
- allowFhirApi
- resourceTypes
- expiresAt
- createdAt
- revokedAt
@@ -16616,12 +16608,6 @@ components:
type: boolean
needsReselection:
type: boolean
allowFhirApi:
type: boolean
resourceTypes:
type: array
items:
type: string
expiresAt:
type: string
createdAt:
@@ -16647,8 +16633,6 @@ components:
- documentCount
- documentOnly
- needsReselection
- allowFhirApi
- resourceTypes
- expiresAt
- createdAt
- revokedAt