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
Minimal repoduce:
{ "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 declare(strict_types=1); require __DIR__ . '/vendor/autoload.php'; use cebe\openapi\Reader; $openapi = Reader::readFromJsonFile(realpath('openapi.json')); assert($openapi->components->schemas['Test']->properties['A']->nullable == true, 'Property A is not null');
The text was updated successfully, but these errors were encountered:
Current implementation does not fully support OpenAPI 3.1.
Sorry, something went wrong.
No branches or pull requests
Minimal repoduce:
Test case
The text was updated successfully, but these errors were encountered: