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

Add summary configuration #908

Closed
wants to merge 970 commits into from
Closed

Conversation

muchar
Copy link

@muchar muchar commented Sep 8, 2016

Added configuration parameter summary which allows to turn of anchors with links on top of site.

avevlad and others added 30 commits September 21, 2014 05:04
Don't let empty arrays get passed through as defaults.
Update parser to convert empty array defaults to null
Fix parsing of filters, default values and base path in SwaggerFormatter
…ameters-for-put-requests

Fix no required parameters for PUT requests
Honor body format before uploading file type parameters
…Made sure that FieldErrors is not duplicated.
FOSRest integration: Form errors format
Display select to choose http method in sandbox
Fix the PhpDoc Handler for `@link` annotation and add tests
suggested change in nelmio#353 is not working
(avoid triggering warning on IDEs like PhpStorm
[doc] missing "sandbox:" in the authentication yaml examples
miholeus and others added 28 commits May 19, 2016 14:28
Links from index.rst to the other doc files
Usage of OUTPUT_RAW to avoid javascript syntax error when dumping HTML
Add navigation index for resources
Allow filter descriptions to be used in conjunction with POST/PUT inp…
Key "statusCodes" for array with keys "method, uri, description, documentation, filters, requirements, parsedResponseMap, https, authentication, authenticationRoles, deprecated, id" does not exist in NelmioApiDocBundle::method.html.twig at line 182.

Sample:

 /**
     * Retrieves the list of categories (paginated) based on criteria.
     *
     * @apidoc(
     *  resource=true,
     *  output={"class"="Sonata\DatagridBundle\Pager\PagerInterface", "groups"={"sonata_api_read"}}
     * )
     *
     *
     * @QueryParam(name="page", requirements="\d+", default="1", description="Page for category list pagination")
     * @QueryParam(name="count", requirements="\d+", default="10", description="Number of categories by page")
     * @QueryParam(name="enabled", requirements="0|1", nullable=true, strict=true, description="Enabled/Disabled categories filter")
     * @QueryParam(name="context", requirements="\S+", nullable=true, strict=true, description="Context of categories")
     *
     * @view(serializerGroups="sonata_api_read", serializerEnableMaxDepthChecks=true)
     *
     * @param ParamFetcherInterface $paramFetcher
     *
     * @return PagerInterface
     */
Fix error: Key "statusCodes" for array with keys...
Fixes not working anchors on website.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet