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

Test failure on unknown formats #2608

Open
mhpkmd opened this issue Sep 18, 2024 · 1 comment
Open

Test failure on unknown formats #2608

mhpkmd opened this issue Sep 18, 2024 · 1 comment

Comments

@mhpkmd
Copy link

mhpkmd commented Sep 18, 2024

Context

When I'm looking into the source, it seems like the default FAKER configuration is overridden and set to false like this:
image

Current Behavior

The response is resulting in a failure due to unknown format, with following response message:

unknown format "decimal" is used in schema at path "..."

Expected Behavior

Expected it to be 2XX response without an error, as the FAKER setting seems to be set to failOnInvalidFormat: false

@mhpkmd
Copy link
Author

mhpkmd commented Sep 18, 2024

It seems to be related to response validation, as this only is an issue on GET endpoints.

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

No branches or pull requests

1 participant