cebe / cebe/php-openapi

ref nullable false

Open
#215 1 comment 0 reactions 0 assignees View on GitHub
openapi 3.1
Dominant language
PHP
Stars
500
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Minimal repoduce:

```json
{
"openapi": "3.1.0",
"info": {
"title": "Test",
"description": "Test",
"version": "1.0"
},
"components": {
"schemas": {
"Test": {
"type": "object",
"properties": {
"A": {
"$ref": "#/components/schemas/TestB",
"nullable": true
}
}
},
"TestB": {
"type": "object",
"properties": {
"join": {
"type": "string"
}
}
}
}
}
}
```

Test case

```php

components->schemas['Test']->properties['A']->nullable == true, 'Property A is not null');
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.