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
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
Vincent CHALAMON
a1517543e8
Enable PHPDoc @link feature
2013-08-16 19:18:05 +02: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
Pierre-Yves LEBECQ
13efea8975
Added support for the jms version annotations in formatters
2013-05-12 14:54:01 +02:00
marapper
fd860b43cd
Icons as data URI
2013-05-07 22:52:18 +04:00
Benjamin Laugueux
5cc7cf212d
Added support for host parameter
2013-04-11 22:03:40 +02:00
Patryk Kala
3b6e9da91a
Ability to mark function as deprecated
2013-03-31 20:35:46 +02:00
Florent DUBOST
53b2537aef
Add cache annotation extractor
2013-03-26 11:49:12 +01:00
William DURAND
026fcc4761
Merge pull request #117 from gregholland/master
...
Add a config option for a default Accept header
2013-03-16 18:53:19 +01:00
William DURAND
43b8f89845
Merge pull request #123 from fvilpoix/authentication_attribute
...
adding 'authentication' attribute
2013-03-16 18:22:28 +01:00
Toni Van de Voorde
e0fb5c3afe
Support multiple descriptions for a Status Code
2013-02-18 21:07:59 +01:00
Greg Holland
62b30fdb87
Fix spacing & indentation
2013-01-08 16:38:52 -08:00
fvilpoix
066da73b05
change icon for authentication parameter
2013-01-03 09:52:49 +01:00
fvilpoix
0aa1619c5f
adding 'authentication' attribute
2012-12-26 12:23:28 +01:00
Greg Holland
fef40329a4
Add a config option for a default sandbox accept header
2012-12-11 17:59:03 -08:00
Baldur Rensch
ef5cbd9b73
Added padlock icon for secure routes
...
This fixes #115
- Added an https property to the annotation
- Added glyphicon padlock icon
- Updated Templates
- Updated Unit tests
2012-12-10 10:21:04 -08:00
William DURAND
2f62db82a9
'type' becomes 'dataType' for consistency purpose
2012-11-17 17:41:12 +01:00
Baldur Rensch
742e53b99b
Added status codes
2012-11-13 04:45:07 +00:00
Evan Villemez
41b8622d8b
updated sandbox to not show readonly properties, visually separated filters, requirements and parameters
2012-09-12 14:20:31 -04:00
Evan Villemez
5dc7a417c5
fixed table header in method template
2012-08-31 09:54:34 -04:00
Evan Villemez
da1116a43a
stopped displaying readonly input parameters in html template
2012-08-30 15:57:43 -04:00
Evan Villemez
94a3d5858f
removed required and readonly properties from html output when documenting return
2012-08-29 14:12:12 -04:00
Evan Villemez
ebba238f1c
fixed method template
2012-08-29 13:30:08 -04:00
Evan Villemez
0d7c2272bc
updated documentation to reflect return property, updated markdown formatter tests to reflect parameter readonly property
2012-08-28 16:43:47 -04:00
Samuel Gordalina
87475f5b3a
Add requirement input text fields
2012-07-26 12:34:43 +01:00
William DURAND
e35e977479
Fix Twig filter name
2012-07-20 17:38:39 +02:00
William DURAND
a8e0b24b95
Fix tests, fix markdown/html requirements output
2012-07-20 02:02:45 +02:00
William DURAND
bee518f92e
Allow to disable the sandbox, refactor the configuration. Fix #37
2012-07-18 13:21:31 +02:00
Jordi Boggiano
0868d39e9a
Merge pull request #43 from willdurand/fix-13
...
Add support for FOSRest annotations. Fix #13
2012-07-18 03:29:41 -07:00
William DURAND
163d96a295
Add support for FOSRest annotations. Fix #13
2012-07-18 12:23:57 +02:00
William DURAND
b19822dde5
Merge branch '1.0.x'
2012-07-14 13:58:37 +02:00
William DURAND
59a6b87f71
Add div instead of p for documentation content
2012-07-14 13:57:58 +02:00
William DURAND
e2e647bb03
Merge branch '1.0.x'
2012-07-13 15:32:51 +02:00
William DURAND
3ec87522b2
Add markdown transformation in HTML output, fix Markdown formatter
2012-07-13 15:31:53 +02:00
Samuel Gordalina
2b02733ee9
Added ability to extract inline documentation from docblock
2012-07-13 13:44:11 +01:00
William DURAND
f678fd4fe9
Merge branch '1.0.x'
2012-07-10 14:30:59 +02:00
Samuel Gordalina
4fdc526b42
Change content class name to request-content
2012-07-06 00:23:38 +02:00
Samuel Gordalina
557e4523de
Add content textarea to sandbox
...
Problem: Its not possible to POST content in the sandbox.
With this change it becomes possible to, e.g.: POST JSON data
to the api.
Note: The content will take precedence over parameters if set.
2012-07-05 19:44:35 +02:00
William DURAND
23451fe192
Merge branch '1.0.x'
2012-07-05 11:13:15 +02:00
Samuel Gordalina
5b78bee151
Moved response headers above response body with a click to expand/shrink
2012-07-04 23:42:38 +02:00
kphoen
c8792f8b53
Fix: only filters were used to build the sandbox form
2012-07-02 21:52:03 +01:00
William DURAND
d5ab75fd9e
Added button to get raw response in the sandbox
2012-06-28 10:40:33 +02:00
kphoen
e6438d657f
Add: sandbox, to easily try API methods
2012-06-27 09:45:06 +02:00
William DURAND
d1be0d5093
Added parsing of @param doc blocks. Fixes #8
2012-04-19 20:27:27 +02:00
William DURAND
4c984c2ca9
Fixed regression
2012-04-13 14:00:13 +02:00
William DURAND
3aec03f6c7
Fixed issue if you add an array in a filter attribute
2012-04-13 12:51:09 +02:00
William DURAND
1e178669b7
Fixed regression in UI
2012-04-13 12:29:00 +02:00
William DURAND
8b018e6de5
Added a way to comment each field of a Form Type
2012-04-13 12:17:11 +02:00
William DURAND
a51d25b94f
Used Twig instead of plain PHP in the HtmlFormatter. Fixes #1
2012-04-13 11:25:53 +02:00