We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f65031 commit 0c532a7Copy full SHA for 0c532a7
src/Writer.php
@@ -36,7 +36,6 @@ public static function writeToJson(SpecObjectInterface $object, int $flags = JSO
36
public static function writeToYaml(SpecObjectInterface $object): string
37
{
38
return Yaml::dump($object->getSerializableData(), 256, 2, Yaml::DUMP_OBJECT_AS_MAP | Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
39
-// return Yaml::dump(json_decode(json_encode($object->getSerializableData()), true), 256, 2, Yaml::DUMP_OBJECT_AS_MAP | Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
40
}
41
42
/**
0 commit comments