Skip to content

Conversation

@fabiopellegrini
Copy link
Collaborator

@fabiopellegrini fabiopellegrini commented Apr 10, 2025

I discovered that OpenApiSpex has a example function for generating meaningful examples for schemas.

It turns out the impelmentation is not so good, so I cannot use it for enums, arrays and numbers, but I think it makes sense to use it when possible.

I also deprecated some functions that I don't think are useful anymore as the options they implement are already inferred from schema, but if you prefer we can keep them for retro-compatibility 👍

@fabiopellegrini fabiopellegrini force-pushed the refactor/legerage-open-api-spex-examples branch from 3eedbc4 to a5e6a7b Compare April 10, 2025 11:08
@silvadanilo silvadanilo merged commit 6c44c1d into silvadanilo:master Apr 11, 2025
1 check passed
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