Skip to content

Fix type for mod->isFeatured - #9

Merged
pavog merged 1 commit into
masterfrom
fix-is-featured-type
Oct 15, 2026
Merged

pavog merged 1 commit into
masterfrom
fix-is-featured-type

Conversation

@pavog

@pavog pavog commented Oct 14, 2026

Copy link
Copy Markdown
Member

isFeatured of Mod only had format: boolean but no type in openapi.yaml, so the generator created getIsFeatured(): mixed and setIsFeatured(mixed).

The spec now uses type: boolean, like the official spec at https://api.curseforge.com/swagger/v1/swagger.json. Only src/Model/Mod.php and docs/Model/Mod.md were regenerated, getIsFeatured() now returns ?bool.

@pavog
pavog requested a review from JulianVennen October 14, 2026 16:50
@pavog
pavog merged commit 986d911 into master Oct 15, 2026
4 checks passed
@pavog
pavog deleted the fix-is-featured-type branch October 15, 2026 09:30
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