Skip to content

Commit 2f65031

Browse files
committed
In progress...
1 parent e5751c2 commit 2f65031

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
"phpunit/phpunit": "^6.5 || ^7.5 || ^8.5 || ^9.4",
2929
"oai/openapi-specification": "3.0.3",
3030
"mermade/openapi3-examples": "1.0.0",
31-
"apis-guru/openapi-directory": "1.0.0",
32-
"nexmo/api-specification": "1.0.0",
3331
"phpstan/phpstan": "^0.12.0"
3432
},
3533
"conflict": {

src/Writer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public static function writeToJson(SpecObjectInterface $object, int $flags = JSO
3636
public static function writeToYaml(SpecObjectInterface $object): string
3737
{
3838
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);
3940
}
4041

4142
/**

0 commit comments

Comments
 (0)