Skip to content
New issue

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

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

Already on GitHub? # to your account

Unknown format "byte" is used in schema and Unknown format "decimal" is used in schema #3284

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

Comments

@mhpkmd
Copy link

mhpkmd commented Sep 18, 2024

Like in previous reported bug in float formats (#2939) it seems to be the same issue on formats like:

  • byte
  • decimal

Formats of either of these is resulting int an invalid schema test within Newman. The API description is based on OAS 3.0.3.

  1. Newman Version (can be found via newman -v): 6.2.1
  2. OS details (type, version, and architecture): Windows, Linux
  3. Are you using Newman as a library, or via the CLI? CLI
  4. Did you encounter this recently, or has this bug always been there: Discovered it recently but has probably always been there (only shown on GET endpoints when data in response has unknown formats).
  5. Expected behaviour: Valid Schema because other Validators result into a valid schema
@mhpkmd
Copy link
Author

mhpkmd commented Sep 18, 2024

In addtion to this issue, does anyone know if it is possible to add post-response scripts to newman cli configuration files? I know there is a collectionPreRequestScripts, but I cannot find the collectionPostResponseScripts?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant