diff --git a/tests/Functional/ModelDescriber/Fixtures/NullableScalar.json b/tests/Functional/ModelDescriber/Fixtures/NullableScalar.json new file mode 100644 index 000000000..d840fb22d --- /dev/null +++ b/tests/Functional/ModelDescriber/Fixtures/NullableScalar.json @@ -0,0 +1,22 @@ +{ + "properties": { + "int": { + "type": "integer", + "nullable": true + }, + "float": { + "type": "number", + "format": "float", + "nullable": true + }, + "string": { + "type": "string", + "nullable": true + }, + "bool": { + "type": "boolean", + "nullable": true + } + }, + "type": "object" +} \ No newline at end of file diff --git a/tests/Functional/ModelDescriber/Fixtures/NullableScalar.php b/tests/Functional/ModelDescriber/Fixtures/NullableScalar.php new file mode 100644 index 000000000..3f7efbd2a --- /dev/null +++ b/tests/Functional/ModelDescriber/Fixtures/NullableScalar.php @@ -0,0 +1,20 @@ +