-
Notifications
You must be signed in to change notification settings - Fork 55
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
TestWriter: Decimal values given in the example are ignored in the generated tests #289
Comments
@kerrykimbrough Can you pls. help with this, did we missed anything here or any other way to define decimals. |
Investigating now. Stay tuned. |
Not sure why this is happening, but I don't think it's an error in your OpenAPI definition. |
I have found the source of the problem, which also exists in the latest version=4.0.3. A fix will be coming soon. BTW, why are you not using version 4.0.3? |
Fixed in release 4.0.4 |
Thank you @kerrykimbrough .. |
Tcases Version: 4.0.2
OpenAPI Version: 3.0.0
OpenAPI Spec File: Attached - openapi-example.json
Writing API tests using `TestNgTestWriter[] and RestAssuredTestCaseWriter[]
We have a decimal value in example for post api call field -- "paymentAmount": 10.03. In the generated test body, decimal value .03 is ignored.
The text was updated successfully, but these errors were encountered: