Skip to content

Conversation

@heckj
Copy link
Member

@heckj heckj commented Nov 26, 2025

Fixes to the declarations for the JSON data structures as encoded in the DocC Archive

  • Metadata.json : bundleIdentifier -> bundleID

"required": [
"bundleDisplayName",
"bundleIdentifier",
"bundleID",
Copy link
Contributor

@d-ronnqvist d-ronnqvist Nov 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the model used to spell out "identifier" then I think that it could be worth updating the model so that it does that again.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't looked at what DocC Render expects there and if that would have negative downstream impacts. I was basing this on https://github.com/swiftlang/swift-docc/blob/main/Sources/SwiftDocC/Indexing/RenderIndexJSON/RenderIndex.swift#L24 and the content that was explicitly in a generated DocC archive to support decoding it.

@heckj
Copy link
Member Author

heckj commented Dec 1, 2025

I have no idea why I closed this...

@heckj
Copy link
Member Author

heckj commented Dec 1, 2025

@swift-ci please test

@heckj heckj closed this Dec 1, 2025
@heckj heckj mentioned this pull request Dec 1, 2025
1 task
@heckj heckj reopened this Dec 1, 2025
@heckj heckj force-pushed the decodingArchiveFix branch from 8e98f29 to 3225155 Compare December 1, 2025 18:24
@heckj
Copy link
Member Author

heckj commented Dec 1, 2025

@swift-ci please test

@heckj heckj requested a review from d-ronnqvist December 1, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants