We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c4abf6 commit e4e00c1Copy full SHA for e4e00c1
src/Writer.php
@@ -20,7 +20,7 @@ class Writer
20
/**
21
* Convert OpenAPI spec object to JSON data.
22
* @param SpecObjectInterface|OpenApi $object the OpenApi object instance.
23
- * @param int $flags json_encode() flags
+ * @param int $flags json_encode() flags. Parameter available since version 1.7.0.
24
* @return string JSON string.
25
*/
26
public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE): string
0 commit comments