vertx-web icon indicating copy to clipboard operation
vertx-web copied to clipboard

Openapi verification SchemaValidationException: Reason: Instance type number is invalid. Expected string

Open rzorzorzo opened this issue 9 months ago • 1 comments

Version

5.0.0.CR3

Context

in openapi route /users/{id} define id as path parameter of type string invoke /users/-1

this results in a validation exception: SchemaValidationException: Reason: Instance type number is invalid. Expected string

according to openapi spec this should not throw an error but should set id="-1"

rzorzorzo avatar Jan 22 '25 10:01 rzorzorzo