Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update conflict constraint for "nelmio/api-doc-bundle" in order to allow version 3 #574

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

wbloszyk
Copy link
Member

@wbloszyk wbloszyk commented Sep 2, 2020

Subject

Update conflict constraint for "nelmio/api-doc-bundle" in order to allow version 3.

I am targeting this branch, because these changes almost respect BC (with one, very little BC-break potential).

Changelog

### Added
- support for `nelmio/api-doc-bundle` >= 3.6

@wbloszyk wbloszyk force-pushed the nelmio_3 branch 3 times, most recently from 7a3055f to 59804e5 Compare September 4, 2020 18:52
@wbloszyk wbloszyk marked this pull request as ready for review September 4, 2020 19:08
UPGRADE-3.x.md Outdated Show resolved Hide resolved
docs/reference/api.rst Outdated Show resolved Hide resolved
docs/reference/api.rst Show resolved Hide resolved
docs/reference/api.rst Outdated Show resolved Hide resolved
docs/reference/api.rst Outdated Show resolved Hide resolved
docs/reference/api.rst Outdated Show resolved Hide resolved
docs/reference/api.rst Outdated Show resolved Hide resolved
UPGRADE-3.x.md Outdated Show resolved Hide resolved
UPGRADE-3.x.md Outdated Show resolved Hide resolved
docs/reference/api.rst Outdated Show resolved Hide resolved
src/Controller/Api/CategoryController.php Outdated Show resolved Hide resolved
src/Controller/Api/CategoryController.php Outdated Show resolved Hide resolved
* @SWG\Response(
* response="200",
* description="Returned when successful",
* @SWG\Schema(ref=@Model(type="Sonata\DatagridBundle\Pager\PagerInterface"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, we could use the ::class pseudo-constant where possible.

Suggested change
* @SWG\Schema(ref=@Model(type="Sonata\DatagridBundle\Pager\PagerInterface"))
* @SWG\Schema(ref=@Model(type=Sonata\DatagridBundle\Pager\PagerInterface::class))

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This I will do in next PR (also models should be fix/improve in swagger).

src/Controller/Api/Legacy/ContextController.php Outdated Show resolved Hide resolved
src/Controller/Api/Legacy/TagController.php Outdated Show resolved Hide resolved
src/Controller/Api/Legacy/TagController.php Outdated Show resolved Hide resolved
src/Controller/Api/Legacy/TagController.php Outdated Show resolved Hide resolved
src/Controller/Api/Legacy/TagController.php Outdated Show resolved Hide resolved
…low version 3

Update docs/reference/api.rst

Co-authored-by: Javier Spagnoletti <phansys@gmail.com>

Update docs/reference/api.rst

Co-authored-by: Javier Spagnoletti <phansys@gmail.com>
@wbloszyk wbloszyk requested a review from a team September 14, 2020 13:31
@wbloszyk wbloszyk merged commit df7ad0c into sonata-project:3.x Sep 15, 2020
@wbloszyk wbloszyk deleted the nelmio_3 branch September 15, 2020 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants