hotmeteor / spectator

OpenAPI testing for PHP
MIT License
285 stars 52 forks source link

Nullable seems to fail? #99

Closed ronaldwanink closed 7 months ago

ronaldwanink commented 2 years ago

I suddenly get an error on code that has worked before.

response->dump() returns the following

email_verified_at: string? <== The data (null) must match the type: string

This seems wrong to me.. the string? type clearly states the nullable attribute is set.

The property is defined as

@OA\Property(property="email_verified_at",description="Email verified at",example="2021-01-27 11:23:45", format="date-time", type="string", nullable=true )

Any clue how to figure out what is going on?

jeserga commented 2 years ago

+1

SofLesc commented 2 years ago

Duplicate of #68 ?

absoftware commented 10 months ago

+1