浏览代码

Merge remote-tracking branch 'remotes/master/master'

shalvah 6 年之前
父节点
当前提交
4a0131eef9
共有 3 个文件被更改,包括 6 次插入3 次删除
  1. 4 1
      CHANGELOG.md
  2. 1 1
      README.md
  3. 1 1
      resources/views/partials/route.blade.php

+ 4 - 1
CHANGELOG.md

@@ -14,20 +14,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Removed
 
 
-## [3.0] - unreleased
+## [3.0] - Sunday, 21 October 2018
 ### Added
 - Official Lumen support (https://github.com/mpociot/laravel-apidoc-generator/pull/382)
 - `@queryParam` annotation (https://github.com/mpociot/laravel-apidoc-generator/pull/383)
 - `@bodyParam` annotation (https://github.com/mpociot/laravel-apidoc-generator/pull/362, https://github.com/mpociot/laravel-apidoc-generator/pull/366)
 - `@authenticated` annotation (https://github.com/mpociot/laravel-apidoc-generator/pull/369)
 - Ability to override the controller `@group` from the method. (https://github.com/mpociot/laravel-apidoc-generator/pull/372)
+- Ability to use a custom logo (https://github.com/mpociot/laravel-apidoc-generator/pull/368)
 
 ### Changed
 - Moved from command-line options to a config file  (https://github.com/mpociot/laravel-apidoc-generator/pull/362)
 - Commands have been renamed to the `apidoc` namespace (previously `api`). (https://github.com/mpociot/laravel-apidoc-generator/pull/350)
 - The `update` command has been renamed to `rebuild` and now uses the output path configured in the config file. (https://github.com/mpociot/laravel-apidoc-generator/pull/370)
 - `@resource` renamed to `@group` (https://github.com/mpociot/laravel-apidoc-generator/pull/371)
+- Added more configuration options for response calls (https://github.com/mpociot/laravel-apidoc-generator/pull/377)
 
 ### Fixed
 
 ### Removed
+- FormRequest parsing is no longer supported (https://github.com/mpociot/laravel-apidoc-generator/pull/362)

+ 1 - 1
README.md

@@ -17,7 +17,7 @@ Automatically generate your API documentation from your existing Laravel/Lumen/[
 > Note: PHP 7 and Laravel 5.5 or higher are required.
 
 ```sh
-$ composer require mpociot/laravel-apidoc-generator:dev-master
+$ composer require mpociot/laravel-apidoc-generator
 ```
 
 ### Laravel

+ 1 - 1
resources/views/partials/route.blade.php

@@ -84,7 +84,7 @@ Parameter | Type | Status | Description
 Parameter | Status | Description
 --------- | ------- | ------- | -----------
 @foreach($route['queryParameters'] as $attribute => $parameter)
-    {{$attribute}} | @if($parameter['required']) required @else optional @endif | {!! implode(' ',$parameter['description']) !!}
+    {{$attribute}} | @if($parameter['required']) required @else optional @endif | {!! $parameter['description'] !!}
 @endforeach
 @endif