References to incorrect components should be considered invalid
- Dominant language
- PHP
- Stars
- 500
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
## Expected
Referencing a component that does not meet the criteria an object requires should be considered invalid.
### Example
A Response object referencing a component that does not contain a "description" should be considered invalid.

### Reasoning
["description" is a **REQUIRED** property for a Response object](https://spec.openapis.org/oas/v3.1.0#response-object).
## Actual
Referencing a component that does not meet the criteria an object requires is considered valid.
### Example
```php
$api = Reader::readFromJson(<<validate()); // bool(true)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.