Skip to content

Conversation

@harrysolovay
Copy link
Contributor

Closes #67

Solves issue wherein Schema.Class gen was being skipped for 4xx responses with empty schemas. Was able to resolve by passing in an empty object JSON schema as a fallback schema in the toSource call.

@tim-smart
Copy link
Owner

Thanks, if you add a change log with pnpm changeset and we can merge :)

@harrysolovay harrysolovay changed the title Ensure 4xx Class Generated Event When Schema Empty Ensure 4xx Class Generated Even When Schema Empty Jul 13, 2025
@harrysolovay
Copy link
Contributor Author

Done!

@tim-smart tim-smart merged commit 9a81544 into tim-smart:main Jul 13, 2025
@github-actions github-actions bot mentioned this pull request Jul 13, 2025
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.

Skipping Client-Referenced Types

2 participants