joolfe / postman-to-openapi

🛸 Convert postman collection to OpenAPI
MIT License
575 stars 99 forks source link

fix versions being infered as numbers #187

Closed n-dipasquale closed 2 years ago

n-dipasquale commented 2 years ago

Fixes an issue where versions are inferred as numbers. Example 1.41.1.1 is classified as a number, when it is a string. Added a check to make sure there is no more than one ".n" in a number

n-dipasquale-philips commented 2 years ago

Any updates on this?

joolfe commented 2 years ago

@n-dipasquale this regexp is not correct is selecting as number string like "1.1 vegur", so this PR is not going to be merged, if you want to make a fix and add some test I would review again, thanks!