postman2openapi
postman2openapi copied to clipboard
Resolve dynamic variables while converting to OAS
Postman uses the faker library to generate sample data, including random names, addresses, email addresses, and much more. These are present as dynamic variables in the Postman collection. However, when converting the collection containing these variables, it is necessary to resolve them accurately.
Presently, the conversion process converts {{$randomInt}} into a string i.e. "{{$randomInt}}" , instead of a random number like 802, which is the expected behavior.
Here's the list of supported dynamic variables.
We can see if this dependency will work for faker-like functionality: https://crates.io/crates/fake