We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$schema->nullable
null
Hello,
I just updated to cebe/php-openapi 1.6.0 and got an error in my test suite.
cebe/php-openapi
As of 1.6.0, $schema->nullable can be null : https://github.com/cebe/php-openapi/blob/master/src/spec/Schema.php#L130
This causes error here: https://github.com/thephpleague/openapi-psr7-validator/blob/master/src/Schema/SchemaValidator.php#L60 Argument #2 ($nullable) must be of type bool, null given
Argument #2 ($nullable) must be of type bool, null given
Currently I don't have time send a PR with a fix. So just reporting it.
The text was updated successfully, but these errors were encountered:
Linking related discussions for reference:
Sorry, something went wrong.
Implemented quick fix
Successfully merging a pull request may close this issue.
Hello,
I just updated to
cebe/php-openapi
1.6.0 and got an error in my test suite.As of 1.6.0,
$schema->nullable
can benull
: https://github.com/cebe/php-openapi/blob/master/src/spec/Schema.php#L130This causes error here: https://github.com/thephpleague/openapi-psr7-validator/blob/master/src/Schema/SchemaValidator.php#L60
Argument #2 ($nullable) must be of type bool, null given
Currently I don't have time send a PR with a fix. So just reporting it.
The text was updated successfully, but these errors were encountered: