소스 검색

Remove ungrouped_name

shalvah 6 년 전
부모
커밋
06695fb833
3개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      CHANGELOG.md
  2. 0 1
      TODO.md
  3. 1 2
      src/Tools/Generator.php

+ 1 - 1
CHANGELOG.md

@@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ## [3.6.0] - Monday, 29 April 2019
 ### Added
 - Support for `@ueryParams` in FormRequests (https://github.com/mpociot/laravel-apidoc-generator/pull/504)
-- Added `default_group` key to (eventually) replace `ungrouped_name` (https://github.com/mpociot/laravel-apidoc-generator/commit/72b5f546c1b84e69fe43c720a04f448c3b96e345)
+- Added `default_group` key to replace `ungrouped_name` (https://github.com/mpociot/laravel-apidoc-generator/commit/72b5f546c1b84e69fe43c720a04f448c3b96e345)
 
 ## [3.5.0] - Tuesday, 23 April 2019
 ### Added

+ 0 - 1
TODO.md

@@ -2,6 +2,5 @@
 - Add tests for config overrides
 - Add tests for faker seed
 - Add tests on output (deterministic)
-- Remove ungrouped_name for default_group
 - Bring `bindings` outside of `response_calls`
 - Should `routes.*.apply.response_calls.headers` be replaced by `routes.*.apply.headers`?

+ 1 - 2
src/Tools/Generator.php

@@ -297,8 +297,7 @@ class Generator
             }
         }
 
-        // TODO: get rid of ungrouped_name in next major release
-        return config('apidoc.default_group', config('apidoc.ungrouped_name', 'general'));
+        return config('apidoc.default_group', 'general');
     }
 
     private function normalizeParameterType($type)