0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-09-08 04:55:36 +02:00
Akhan Zhakiyanov 87362b4dc1
fix: add author.name field to Swift Package Registry API response (#35410)
Fixes #35159

Swift Package Manager expects an 'author.name' field in package
metadata, but Gitea was only providing schema.org format fields
(givenName, middleName, familyName). This caused SPM to fail with
keyNotFound error when fetching package metadata.

Changes:
- Add 'name' field to Person struct (inherited from
https://schema.org/Thing)
- Populate 'name' field in API response using existing String() method
- Maintains backward compatibility with existing schema.org fields
- Provides both formats for maximum compatibility

The fix ensures Swift Package Manager can successfully resolve packages
while preserving full schema.org compliance.
2025-09-07 18:24:25 +00:00
..
2025-08-27 11:00:01 +00:00
2025-08-27 11:00:01 +00:00
2025-09-02 23:13:38 -04:00
2025-06-24 15:49:31 +00:00
2025-08-11 13:00:20 +02:00
2025-07-30 07:08:59 +00:00