Tobias Schultze
09e82fa6d3
make form and validation extractors optional
2013-10-28 19:12:43 +01:00
William Durand
bef7da0ef9
Merge pull request #218 from konradpodgorski/feature/extendedAnnotation
...
Option to set requirements and parameters directly from ApiDoc annotation
2013-10-15 15:39:44 -07:00
Konrad Podgórski
74d30d9e39
Option to set requirements and parameters directly from ApiDoc annotation
...
Sometimes required parameters are not used through routing but still they are mandatory. I wanted to have API with
resource.json?foo=bar&something=else
format, that was possible through QueryParam annotation or requirements in routing BUT!
There was no way to set dataType or description
This PR solves problem for me.
Side note: if you want to declare e.g. _format requirement through Annotation or any other param that is used in url ({foo} format) then it won't work. Because Bundle still overrides requirements and parameters after the constuctor in ApiDoc is called. This might be solved in separate PR by adding check if given requirements or parameters was already defined.
2013-10-15 15:28:54 +02:00
Jordi Boggiano
22cd63f9bd
Merge pull request #258 from fdubost/master
...
Allow to named resources
2013-10-11 09:47:55 -07:00
Florent DUBOST
f16aa64cf0
more readable
2013-10-11 16:40:26 +02:00
Florent DUBOST
8f6ac59c97
Adding test for named resource
2013-10-11 16:18:02 +02:00
Florent DUBOST
56fdd4e64c
Adding possibilty to name resource
2013-10-11 15:44:31 +02:00
William Durand
7317c7aa81
Merge pull request #255 from adrienbrault/form-type-name
...
Can now specifiy form name
2013-10-09 16:18:34 -07:00
Adrien Brault
083ae3aef1
Can now specifiy form name
...
If you create you forms using FormFactoryInterface::createNamed, then you should now be able to tell the ApiDocBundle the correct form prefix.
2013-10-08 12:09:46 -07:00
William Durand
c2d36d9ef0
Merge pull request #221 from kmfk/documentation-in-handler
...
Modify the `documentation` property inside annotation handlers
2013-09-12 01:51:49 -07:00
William Durand
9dc3f10828
Merge pull request #240 from kbsali/ids
...
Make it possible to refer to methods through a URI
2013-09-11 05:13:05 -07:00
Kevin Saliou
23bc2b6f47
make api method headers anchor links so a speicif method can be refered to through its unique id
2013-09-06 13:42:19 +02:00
William Durand
f690529fc6
Merge pull request #233 from ckdarby/patch-2
...
Fixing border to not be applied to children
2013-08-29 16:16:09 -07:00
Cory
912906578a
Fixing border to not be applied to children
2013-08-29 12:00:18 -04:00
William Durand
a2dc56d6e5
Merge pull request #230 from eillarra/patch-1
...
Not all "strict" params should be "Requirements" in the documentation, closes #229
2013-08-18 13:44:37 -07:00
Eneko Illarramendi
fef656cd13
Not all "strict" params should be "Requirements" in the documentation
...
View https://github.com/nelmio/NelmioApiDocBundle/issues/229
2013-08-18 22:33:04 +02:00
William Durand
6455a8669d
Merge pull request #228 from vincentchalamon/master
...
Fix #226
2013-08-16 17:10:44 -07:00
Vincent CHALAMON
a1517543e8
Enable PHPDoc @link feature
2013-08-16 19:18:05 +02:00
Vincent CHALAMON
4fb050175a
fix #226
2013-08-16 17:02:18 +02:00
William Durand
96b40b8a8c
Merge pull request #210 from jhallbachner/validation2
...
Added Support for Validation Component (refactored)
2013-08-13 03:28:09 -07:00
Jordi Boggiano
475ecf349b
Speed up toggling
2013-08-07 12:56:32 +02:00
Jordi Boggiano
d9607477ba
Merge pull request #219 from jsampedro77/header-auth
...
Adds custom header Authentication method
2013-07-31 03:28:43 -07:00
Jordi Boggiano
44ec2c257b
Merge pull request #222 from Bladrak/improvedFormRendering
...
Increased input field width for sandbox forms to improve readability wit...
2013-07-31 03:27:14 -07:00
Hugo Briand
c90bd7cce4
Increased input field width for sandbox forms to improve readability with long keys
2013-07-31 10:38:09 +02:00
keith kirk
f67dfb05db
adds the ability to modify the documentation
property inside custom extractor handlers
2013-07-25 13:47:54 -07:00
William Durand
3b6223feb2
Merge pull request #220 from qpleple/patch-1
...
Clarify config snippet
2013-07-23 03:03:30 -07:00
Quentin Pleplé
e3f1f55d27
Clarify config snippet
2013-07-22 12:54:08 -07:00
jsampedro
7f2cff2ac5
Adds custom header Authentication method
2013-07-19 10:05:57 +02:00
Jordi Boggiano
a8957a5915
Merge pull request #216 from lioshi/master
...
Add missed border-top's pane for sandbox form
2.3.1
2013-07-12 02:15:36 -07:00
lioshi
112f027b20
Add missed border-top pane for Sandbox form
2013-07-12 10:23:13 +02:00
William Durand
9e02563860
Merge pull request #205 from fterrier/escape-input
...
html encode the url when it is written to the page
2013-07-08 00:43:16 -07:00
Jordi Boggiano
2a87244869
Fix build
2013-07-05 00:27:42 +02:00
Jordi Boggiano
65c52577d8
Merge pull request #212 from stof/patch-1
...
Fixed the branch alias for master
2013-07-04 04:22:18 -07:00
Christophe Coevoet
b0022d78a2
Fixed the branch alias for master
...
2.3.0 has already been released
2013-07-04 13:21:13 +02:00
Josh Hall-Bachner
54a6ad566d
Updated postParse logic to utilize an interface and to avoid unnecessary "supports" checks.
...
Expanded documentation on new classes and methods.
2013-07-02 21:57:09 -07:00
Josh Hall-Bachner
23f64b84f6
Fixed multi-level validation nesting.
...
Removed "class" parameters from results after processed.
Updated README.
2013-06-30 23:46:43 -07:00
Josh Hall-Bachner
5e1549a29d
Built parse-merging into the ApiDocExtractor.
...
Wired up a "post-parse" pass to allow recursive parsing across multiple parsers.
2013-06-30 23:46:41 -07:00
Josh Hall-Bachner
0913157399
Added the initial structure for a Symfony Validation handler that is injected into the parsers.
2013-06-30 23:46:41 -07:00
François Terrier
9236e9471d
using a simpler version
2013-06-20 15:05:02 +02:00
François Terrier
b4bb454518
html encode the url when it is written to the page
2013-06-20 14:29:58 +02:00
William Durand
0b17291084
Merge pull request #203 from choomz/patch-1
...
Update FormTypeParser.php
2013-06-19 01:25:17 -07:00
Valentin Ferriere
475c92f17f
Update FormTypeParser.php
...
This catch is missing, because it can break here https://github.com/symfony/Form/blob/master/FormRegistry.php#L89
2013-06-19 10:17:37 +02:00
William Durand
01044bb7ac
Merge pull request #198 from jhallbachner/json
...
Add BodyFormat Selector and Support Json-Encoded Api Requests In Sandbox
2.3.0
2013-06-18 06:46:45 -07:00
William Durand
0eb7ec27ec
Merge pull request #152 from adriensamson/issue-147
...
Fix Illegal offset warning in FormTypeParser (closes #147 )
2013-06-18 06:44:06 -07:00
Josh Hall-Bachner
c5beab777f
Fixed parameter encoding for GET requests.
2013-06-14 16:15:43 -07:00
Jordi Boggiano
7857921186
Merge pull request #200 from lsmith77/add-missing-link
...
add missing link to the api doc overview
2.2.4
2013-06-13 03:33:30 -07:00
Lukas Kahwe Smith
bcecc03139
add missing link to the api doc overview
2013-06-13 12:05:01 +02:00
Josh Hall-Bachner
6ba548e21e
Removed stray console.log
2013-06-05 19:20:12 -07:00
Josh Hall-Bachner
c237d65bad
Added a helper method to enable deep encoding of nested parameters when encoding requests into JSON.
2013-06-05 18:51:01 -07:00
Josh Hall-Bachner
defe9c0b36
Updated README to reflect additional parameter.
2013-06-04 15:52:27 -07:00