Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(type-safe-api): mock data generation for recursive references #596

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

cogwirrel
Copy link
Member

The mock data generation library we were using previously stackoverflowed when recursive references were used (which is perfectly valid in openapi). We replace this library with our own implementation, which additionally better conforms to the spec by taking into account min/max/pattern etc constraints.

Fixes #545

The mock data generation library we were using previously stackoverflowed when recursive references
were used (which is perfectly valid in openapi). We replace this library with our own
implementation, which additionally better conforms to the spec by taking into account
min/max/pattern etc constraints.

Fixes #545
@cogwirrel cogwirrel merged commit 51b68a9 into mainline Oct 16, 2023
3 checks passed
@cogwirrel cogwirrel deleted the fix/tsapi-mocks branch October 16, 2023 01:24
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.

[BUG] (type-safe-api) mock data generation stackoverflows for recursive structures
2 participants