The Twig template for the Swagger UI now contains blocks to make it easier to overwrite certain parts.
See the official documentation how to do this.
3.2.0 (2018-03-24)
Add a documentation form extension. Use the documentation option to define how a form field is documented.
Allow references to config definitions in controllers.
Using @Model implicitely in @SWG\Schema, @SWG\Items and @SWG\Property is deprecated. Use ref=@Model() instead.
Before:
/**
* This was considered as an array of models.
*
* @SWG\Property(@Model(type=FooClass::class))
*/
After:
/**
* For an individual object:
* @SWG\Property(ref=@Model(type=FooClass::class))
*
* For an array:
* @SWG\Property(type="array", @SWG\Items(ref=@Model(type=FooClass::class)))
*/
... (truncated)
Commits
da9fd01 Do not call ReflectionMethod::getAttributes on php <8 (#2072)
a9716c6 defaultRouteDisabled to handle attributes (#2010)
a8a6418 Adds enum support for Choice Constraint in QueryParam (#2067)
f25afb5 Merge pull request #2068 from Apipa169/fix-path-parameter-attribute-assertion
c2d482a Fixes assertion in to make it compatible with zircote/swagger-php >=4.5.5.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps nelmio/api-doc-bundle from 3.10.1 to 4.11.0.
Release notes
Sourced from nelmio/api-doc-bundle's releases.
... (truncated)
Changelog
Sourced from nelmio/api-doc-bundle's changelog.
... (truncated)
Commits
da9fd01
Do not call ReflectionMethod::getAttributes on php <8 (#2072)a9716c6
defaultRouteDisabled to handle attributes (#2010)a8a6418
Adds enum support for Choice Constraint in QueryParam (#2067)f25afb5
Merge pull request #2068 from Apipa169/fix-path-parameter-attribute-assertionc2d482a
Fixes assertion in to make it compatible with zircote/swagger-php >=4.5.5.1eb857a
Update shields badge URL3eb69a7
Add self-describing model describer (#1870)a44477b
Fixphpdocumentor/reflection-docblock
usage fordev
(#2055)1aa2cbd
Add enum description to route parameter if possible. (#2062)700b52e
Merge pull request #2059 from akalineskou/masterDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)