-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fake Values are set On Read-Only fields in the Open API spec. #628
Comments
hi @harajara Thanks for reporting this. Could you share a minimal example of an OpenAPI with your read-only properties and the expected result of the Postman request body? We can use your case to investigate the issue and think of a fix. Depending on our finding, we could contribute the fix to the openapi-to-postman module OR extend Portman to handle the read-only properties. As a work-a-round for your case, we would suggest to use Portman 1.28.0, while we investigate the issue. The v1.29.0 introduces a bug fix for the fuzzing feature and an improvement of the conversion for multiple request bodies, which sound like not relevant for your current case. |
Update: the openapi-to-postman has fix in review for this issue. As soon as this lands, we will update Portman to use the new version of openapi-to-postman. |
hi @harajara We just released Portman 1.29.2, which contains the fix for the proper readonly handling. This should skip the readonly properties from the generated request body. We always appreciate input from the Portman users, so if you have more issue or improvements, please let us know. |
I have ran the postman collection via newman collection runner created by portman with the latest version fand found out it has a broken functionality.
The read only fields are not sent in the request earlier, but it is present with the recent release. Kindly address this issue.
Working Version: 1.28.0
Failed Version: 1.29.0
Request Body
Error Reported
The text was updated successfully, but these errors were encountered: