629 Commits

Author SHA1 Message Date
Piotr Antosik
3fdbfbed1c select used parsers 2013-12-28 18:41:59 +01:00
William DURAND
af7c04cdfc Merge PR #298 from 'skler/extended_class 2013-12-28 18:28:07 +01:00
William DURAND
dc9c706b51 [Test] Extended Class test case 2013-12-28 18:27:48 +01:00
William Durand
f65a9c9965 Merge pull request #304 from h4cc/patch-2-squashed
Use only JMS/GroupExclusion if groups are there
2013-12-28 02:30:51 -08:00
Julius Beckmann
0845377300 Use only JMS/GroupExclusion if groups are there
When no groups are given in the ApiDoc, there should be no GroupExclusion and the Entity should be parsed wihtout exclusions.

Otherwise only the "Default" group of the Entity would be parsed, which may not be used.

The ApiDoc should not enforce the Entity to be grouped with "Default", to generate a "full-view" of it.
2013-12-20 15:08:26 +01:00
William DURAND
4b6efc6631 Fix undefined index in AbstractFormatter 2.4.4 2013-12-16 16:47:21 +01:00
William Durand
d21833daea Merge pull request #290 from rajasaur/dumpcommand_bugfix
Fix DumpCommand to generate html with/out sandbox
2013-12-16 06:30:50 -08:00
William DURAND
c3097c7439 cs 2013-12-11 01:59:59 +01:00
William Durand
cb8b0c6f90 Merge pull request #294 from marcj/outsource-classic-phpdoc
Outsourced the parsing of the classic phpDoc into a extra handler.
2013-12-10 16:58:18 -08:00
Marc J. Schmidt
ead8174192 Outsourced the parsing of the classic phpDoc into a extra handler.
This makes it possible to overwrite route-requirements/description through a own handler.
Otherwise it's impossible e.g. to overwrite a `@param string $page` annotation via a own handler.
2013-12-11 01:40:16 +01:00
William Durand
7380f95fa5 Merge pull request #293 from marcj/patch-1
Remove the annoying scroll-jumping on method-click.
2013-12-10 04:18:30 -08:00
Marc J. Schmidt
d7ef725613 Suppressed the auto-scrolling on click and fixed initial-jump issues.
For the initial auto-scrolling to the selected route in location.hash:
 - Fixed typo in the calculation of the offset-top position.
 - Fixed requesting the selected route that has special chars (e.g. "/content/{page}")
 - Fixed for refreshes with F5. It needs a setTimeout workaround to get that working in Webkit.
    It needs also in Firefox a other dom element to fire scrollTop at.

Fixed also some old .delegation calls, which are deprecated in jQuery 1.7.

Why suppressing auto-scrolling on click:
When clicking through all methods it's very annoying when the browser always jumps to the clicked method,
especially when you go through all methods from bottom to up. This jump is unexpected and disturbing.
2013-12-10 03:35:06 +01:00
rajasaur
9eee2e263f Fix DumpCommand to generate html with/out sandbox
api:doc:dump --format=html always disables the Sandbox since the check in
DumpCommand seems to be wrong. Fixed that as well as introduce a dummy
Request Object as the layout.html.twig expects an app.request object.
2013-12-06 15:28:19 +05:30
William DURAND
21a0774265 Fix travis-ci config 2.4.3 2013-12-05 21:36:37 +01:00
William DURAND
3166640c5a Rework documentation, add reference config 2013-12-05 17:10:38 +01:00
Samuel ROZE
95e8c9d200 Fix typo
$route parameter of ApiDocExtractor::get is a string. Passing a Route object throw an error.
2013-11-21 15:05:45 +01:00
William Durand
2ceea4871a Merge pull request #274 from sroze/patch-2
Add support of `All` constraint
2013-11-18 02:06:15 -08:00
Samuel ROZE
1112cca784 Add support of All constraint 2013-11-18 10:24:56 +01:00
William Durand
6c01424a95 Merge pull request #272 from sroze/patch-1
Merge output parameters
2013-11-17 09:28:45 -08:00
Samuel ROZE
184a364fa4 Merge output parameters 2013-11-16 17:29:23 +01:00
William Durand
eaee55e44a Merge pull request #279 from nord-ua/patch-1
Typo fix
2013-11-15 02:31:53 -08:00
Сергей Рябенко
aae9af23c2 Typo fix 2013-11-15 13:29:32 +03:00
William DURAND
4ff018b111 Fix composer again 2.4.2 2013-11-14 17:01:56 +01:00
William DURAND
fb75ceb318 update branch-alias 2.4.1 2013-11-14 16:28:08 +01:00
William DURAND
28e192290c Fix composer 2.4.0 2013-11-14 16:25:39 +01:00
William DURAND
e59ae1e1ef Fix tests for Symfony2 2.1 2013-11-14 14:20:51 +01:00
William DURAND
a2d8629f68 Composer minimum stability is not 'dev' anymore 2013-11-14 13:31:38 +01:00
William DURAND
3ce5dca429 Fix a failing test 2013-11-14 13:26:10 +01:00
William DURAND
88d56cb445 Fix travis-ci config 2013-11-14 12:09:06 +01:00
William DURAND
4edc91ea46 Add a note about PR desc in CONTRIBUTING file 2013-11-14 12:07:19 +01:00
William DURAND
e9439de94e Move doc to its own folder 2013-11-14 11:43:09 +01:00
William DURAND
e7b7c87113 Update README, move LICENSE to meta folder 2013-11-14 11:39:29 +01:00
William DURAND
291f2e8efc Add CONTRIBUTING file 2013-11-14 11:35:51 +01:00
William DURAND
87328e27f5 Merge pull request #206 from dothiv/master
Show authorized roles in key icon tooltip
2013-11-14 11:17:06 +01:00
William DURAND
7fdcd65286 Add not blank format validation
All credits go to @spolischook

See: https://github.com/nelmio/NelmioApiDocBundle/pull/234

Closes #234
2013-11-14 11:12:58 +01:00
William DURAND
32183f2618 Better travis-ci config 2013-11-14 11:09:27 +01:00
William DURAND
46275a51be Merge PR #235 2013-11-14 11:05:12 +01:00
Martin Westergaard Lassen
83315fcc80 Set format according to Date, DateTime and Time annotations 2013-11-14 11:05:05 +01:00
William DURAND
be130a2d10 Fix incompatibility with Symfony2 2.1
All credits go to @restyler

See: https://github.com/nelmio/NelmioApiDocBundle/pull/237

Closes: #231
Replaces: #237
2013-11-14 11:00:44 +01:00
William Durand
f91a0868a8 Merge pull request #247 from domnikl/xsd
add XML namespace and XSD
2013-11-14 01:51:01 -08:00
William Durand
7ac9c1c1b6 Merge pull request #251 from Peekmo/patch-1
Showing default values in sandbox
2013-11-14 01:50:29 -08:00
William Durand
357d1ff967 Merge pull request #262 from skler/issue-259-2
[FIX] Issue 259
2013-11-14 01:47:29 -08:00
William Durand
29965ec7bb Merge pull request #264 from driebit/embedded-forms
Add support for embedded forms
2013-11-14 01:42:43 -08:00
William Durand
8e41122ca7 Merge pull request #268 from konradpodgorski/feature/optionalRequirementsFields
Optional requirements fields: requirement, dataType and description
2013-11-14 01:41:14 -08:00
William DURAND
d7fd929379 Fix CS 2.3.2 2013-11-14 10:33:57 +01:00
William Durand
f94d6403f5 Merge pull request #277 from adriensamson/sandbox-host
Add support for host in sandbox
2013-11-14 00:25:50 -08:00
Adrien SAMSON
f71ba12d48 Add support for host in sandbox 2013-11-13 17:04:49 +01:00
William Durand
8728e825ea Merge pull request #270 from sroze/patch-1
Support "callback" on Choice Validator
2013-11-06 17:53:53 -08:00
Samuel ROZE
f02a6729eb Support "callback" on Choice Validator 2013-11-06 15:25:10 +01:00
Konrad Podgórski
4a831c3a20 Requirements fields: requirement, dataType and description can be optional 2013-10-30 16:38:32 +01:00