Skip to content

fix(config): match previous TrustedIssuersLists API output format - #113

Open
Mortega5 wants to merge 1 commit into
mainfrom
fix/api-format
Open

fix(config): match previous TrustedIssuersLists API output format#113
Mortega5 wants to merge 1 commit into
mainfrom
fix/api-format

Conversation

@Mortega5

Copy link
Copy Markdown
Collaborator

TrustedIssuersLists was serializing as a list of {type,url} objects in API responses, changing the previously exposed shape. Add MarshalJSON so it always outputs a plain list of endpoint URLs, matching the prior format, while UnmarshalJSON keeps accepting both formats to avoid breaking existing callers that already send the structured shape.

TrustedIssuersLists was serializing as a list of {type,url} objects in API
responses, changing the previously exposed shape. Add MarshalJSON so it
always outputs a plain list of endpoint URLs, matching the prior format,
while UnmarshalJSON keeps accepting both formats to avoid breaking existing
callers that already send the structured shape.
@Mortega5
Mortega5 requested a review from wistefan August 17, 2026 11:32
@Mortega5 Mortega5 added the patch Should be applied for dependency updates and small bugfixes. label Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Should be applied for dependency updates and small bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant