open-traffic-generator / openapiart

OpenAPI artifact generator
MIT License
6 stars 4 forks source link

Validation throws an error stating invalid type str when an out-of-range int (64 in this case) is passed in ("property port_number shall be of type <class 'int'> at <class 'port_model.Port'> \n got bad of type <class 'str'> , expected min 1, expected max 32"). Error message must not mention type if type is not an issue #420

Open lylefile opened 1 year ago

lylefile commented 1 year ago

Version information The pypi version or branch of openapiart.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior. Prefer code snippets, pytest test cases.

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.