1016 Commits

Author SHA1 Message Date
William Durand
463dea9af6 Merge pull request #874 from rmzamora/master
Fix error: Key "statusCodes" for array with keys...
2016-06-16 17:04:18 +02:00
mellzamora
f5e38a283a Fix error:
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
     */
2016-06-16 22:44:56 +08:00
William Durand
a3a9bb3b70
Prepare 2.13.0 release 2016-06-13 11:12:09 +02:00
William Durand
79716d49f5
Remove a test since #811 changes the behavior 2016-06-13 11:04:16 +02:00
William Durand
4b16f4e068
Do not fail on Symfony 4.0 deprecation messages 2016-06-13 10:53:00 +02:00
William Durand
7aeea0871c Merge pull request #811 from InputOutput/allow-input-and-filters
Allow filter descriptions to be used in conjunction with POST/PUT inp…
2016-06-13 10:01:34 +02:00
William Durand
9444172abc Merge pull request #857 from zanardigit/master
Add navigation index for resources
2016-06-13 10:01:12 +02:00
William Durand
e6ea85157e Merge pull request #868 from dpcat237/502_hide-requirement-when-empty
#502 hide requirement when empty
2016-06-13 10:00:49 +02:00
Denys Pasishnyi
1256275185 #502 Test for the improvement 2016-06-13 00:30:40 +02:00
Denys Pasishnyi
725e4d9dda #502 Hide Requirement when not set 2016-06-13 00:29:59 +02:00
William Durand
a009e97382 Merge pull request #866 from Gregoire-M/master
Usage of OUTPUT_RAW to avoid javascript syntax error when dumping HTML
2016-06-10 13:30:55 +02:00
gmarchal
05d3a51259 Usage of OUTPUT_RAW to avoid javascript syntax error when dumping HTML API doc. Fixes issue #864. 2016-06-10 10:47:43 +02:00
William Durand
6d16486abb Merge pull request #865 from javiereguiluz/fix_doc_links
Fixed the links to some doc articles
2016-06-09 16:50:28 +02:00
Javier Eguiluz
4a37d638f8 Fixed the links to some doc articles 2016-06-09 15:56:07 +02:00
William Durand
d0eaafadcb Merge pull request #861 from Uplink03/master
Links from index.rst to the other doc files
2016-06-03 17:50:40 +02:00
Uplink03
8eee7fec49 Added links form index.rst to the other doc files 2016-06-02 16:30:54 +01:00
William Durand
970a78c614 Merge pull request #860 from jupeter/format-wrapping
Fix wrapping of format table row
2016-06-02 11:29:59 +02:00
Piotr Plenik
12c067154c fix format wrapping 2016-06-02 10:33:39 +02:00
Francesco Abeni
df04b5c871 Add navigation index for resources 2016-05-24 13:13:39 +02:00
William Durand
7288ccad07 Merge pull request #853 from miholeus/master
Headers support
2016-05-19 21:43:45 +02:00
miholeus
5123b49bf7 added tests for headers support 2016-05-19 18:20:41 +03:00
miholeus
d5c1c57cc9 added headers documentation example 2016-05-19 14:35:55 +03:00
miholeus
e141ffd291 added headers support 2016-05-19 14:28:32 +03:00
William Durand
a7ad7ff144 Merge pull request #851 from blitzr/master
Allow custom ApiDoc annotation
2016-05-16 21:08:35 +02:00
Martin Le Guillou
aada3151aa enable ApiDocExtractor overriding 2016-05-16 15:59:41 +02:00
William Durand
b494d8e1ab Merge pull request #821 from tcz/sandbox_output_improvements
Adding request body and curl command to sandbox
2016-05-11 17:32:04 +02:00
William Durand
6c77f6f422 Merge pull request #824 from fstr/master
Change visibility of markdownParser property to protected
2016-05-11 17:18:13 +02:00
William Durand
9dfd984c68 Merge pull request #832 from ismailbaskin/vich-compat
Allow sending empty file data
2016-05-11 17:16:17 +02:00
William Durand
4660805291 Merge pull request #823 from ImmRanneft/master
Little template fixes for sandbox
2016-05-11 17:15:43 +02:00
flip111
8921c48b32 Update ApiDocExtractor.php 2016-04-29 18:29:39 +02:00
William Durand
2d214fc934 Merge pull request #775 from DonPrus/master
Fix problem with cyrillic chars in docs
2016-04-21 17:38:04 +02:00
William Durand
9caa2816e7 Merge pull request #837 from timhovius/master
Added translation to description
2016-04-20 13:41:39 +02:00
Tim Hovius
96cfab973c Added translation to description
The labels of a field are usually always translated. But this does not happen in the documentation.
2016-04-19 21:37:22 +02:00
İsmail BASKIN
246babf209 Allow sending empty file data 2016-04-08 15:26:31 +03:00
Jelte Werkhoven
fcd4d8fa2a Allow filter descriptions to be used in conjunction with POST/PUT input descriptions 2016-03-31 10:16:50 +02:00
Florian Strübe
b510dd2c70 Change visibility of markdownParser property to protected, to improve extendability 2016-03-23 10:25:51 +01:00
William Durand
718dfc6e9c Merge pull request #827 from TannerPO/patch-1
Rename other-bundle-annotations.Rst to other-bundle-annotations.rst
2016-03-22 08:28:24 +01:00
Tanner Newton
8cb2847af4 Rename other-bundle-annotations.Rst to other-bundle-annotations.rst 2016-03-21 19:30:50 -07:00
William Durand
4ed06b40f8 Merge pull request #826 from crazyball/patch-1
Fixed link to documentation
2016-03-21 15:01:15 +01:00
Ambrosini Loïc
f6ec8ba6b1 Fixed link to documentation
Link to ApiDoc documentation is now with ReST format instead of Markdown
2016-03-21 14:47:18 +01:00
William Durand
6793b70157
Prepare 2.12.0 release 2016-03-21 12:19:12 +01:00
William Durand
4a95c81914 Merge pull request #814 from javiereguiluz/fix_813
Transformed documentation to RST format
2016-03-21 11:31:18 +01:00
William Durand
476348de54 Merge pull request #825 from nelmio/conflict
Mark symfony ^2.7.7 as conflict
2016-03-21 11:30:06 +01:00
William Durand
4986e02ec1
Mark symfony ~2.7.8 as conflict 2016-03-21 11:18:46 +01:00
ImmortaL
df10a4769c Little template fixes for sandbox 2016-03-18 21:23:22 +03:00
tcz
aef6a89329 Adding request body and curl command to sandbox 2016-03-17 16:09:47 +01:00
Javier Eguiluz
db5303fcd7 Transformed all files 2016-03-05 19:49:21 +01:00
William Durand
2a0f95eac0 Merge pull request #792 from rodrigm/master
Fix #565
2016-02-24 19:00:28 +01:00
Rodrigo Gómez
89f459dc07 Fix #565
Change PUT by PATCH

Refactor tests for #565
2016-02-24 17:57:22 +01:00
William Durand
4381f065cb Merge pull request #794 from mcfedr/patch-1
Remove incorrect usage of hasOption
2016-02-24 17:51:24 +01:00