소스 검색

Remove pretty print from raw body data - it's going to get encoded anyway

shalvah 5 년 전
부모
커밋
427e80603d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Writing/PostmanCollectionWriter.php

+ 1 - 1
src/Writing/PostmanCollectionWriter.php

@@ -74,7 +74,7 @@ class PostmanCollectionWriter
                                     ->values()->all(),
                                 'body' => [
                                     'mode' => $mode,
-                                    $mode => json_encode($route['cleanBodyParameters'], JSON_PRETTY_PRINT)
+                                    $mode => json_encode($route['cleanBodyParameters'])
                                 ],
                                 'description' => $route['metadata']['description'],
                                 'response' => [],