olivierlsc/swagger-express-ts

Wrong type for `example` field in IApiModelPropertyArgs

XanderEmu opened this issue · 0 comments

Field example in IApiModelPropertyArgs has type any[]. That means I cannot set a proper example for e.g. strings or numbers. Casting the value to any works.

It's related to #37 but author settled down for a workaround and closed the issue.

I can see that you have a related PR that fixes it waiting for its turn:
#38