Skip to content

Update openapi spec and generated classes (09-2026) - #7

Merged
pavog merged 4 commits into
masterfrom
update-09-2026
Sep 16, 2026
Merged

pavog merged 4 commits into
masterfrom
update-09-2026

Conversation

@pavog

@pavog pavog commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Syncs openapi.yaml with the latest upstream CurseForge Core API spec (as of 09-2026) for the endpoints already covered by this client, and regenerates the client code accordingly.

Added

Generated code:

  • clientCompatible and modsSearchEnhancedFeatures query parameters on GET /v1/mods/search
  • clientCompatible query parameter on GET /v1/mods/{modId}/files
  • lang query parameter on GET /v1/mods/{modId}/description
  • raw, stripped, markup query parameters on GET /v1/mods/{modId}/files/{fileId}/changelog
  • devModIds and filterPcOnly fields on GetModsByIdsListRequestBody
  • clientCompatible field on GetFeaturedModsRequestBody
  • supportsCrossPlatform and featuredProjectTag fields on Mod (new ClientFeaturedProjectTag enum)
  • supportedFeatures field on Game (new GameSupportedFeatures schema)
  • cookingInfo field on File (new CookerInfo schema)
  • Relevancy (13) value on ModSearchSortField
  • Paypal, PaypalHosted, GithubSponsors, Kofi, BuyMeACoffee (15-19) values on SocialLinkType

Client wrapper:

  • clientCompatible and modsSearchEnhancedFeatures options on ModSearchOptions
  • clientCompatible option on ModFilesOptions
  • $lang parameter on CurseForgeAPIClient::getModDescription() and Mod::getDescription()
  • $raw/$stripped/$markup parameters on CurseForgeAPIClient::getModFileChangelog() and File::getChangelog()
  • $devModIds/$filterPcOnly parameters on CurseForgeAPIClient::getMods()
  • $clientCompatible parameter on CurseForgeAPIClient::getFeaturedMods() and Game::getFeaturedMods()

Also bumped the OpenAPI Generator used for codegen from 7.17.0 to 7.25.0, which also reformatted PHPDoc blocks across all generated files.
No breaking changes.

@pavog
pavog requested a review from JulianVennen September 16, 2026 13:49
@pavog
pavog merged commit 3ae9cf5 into master Sep 16, 2026
4 checks passed
@pavog
pavog deleted the update-09-2026 branch September 16, 2026 15:01
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