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

Update for using Handlers (by @WBerredo) and support for routing annotations (basic) #38

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5a13dd3
Initial test
WBerredo Nov 13, 2014
3c9a713
Work with handlers as service
WBerredo Nov 20, 2014
8c09680
Revert "Initial test"
WBerredo Nov 20, 2014
812692d
restore VoryxController class, for older controllers.
WBerredo Nov 20, 2014
eb08d00
refactory of put template
WBerredo Nov 20, 2014
28d43e9
Use the NelmioApiDocBundle to document the API
WBerredo Nov 20, 2014
72219c3
Add 'use' statement to NelmioAPiDoc
WBerredo Nov 20, 2014
a36a39f
Merge branch 'master' of https://github.com/WBerredo/restgeneratorbundle
WBerredo Nov 20, 2014
5c1b219
Fix the function that update DependencyInjection file
WBerredo Nov 24, 2014
e12a93b
Make documentation be optional
WBerredo Nov 24, 2014
a4f9247
Fix ident on documentation
WBerredo Nov 24, 2014
ad5bc07
Indent of functions on controller
WBerredo Nov 24, 2014
19c410c
Make the resource as object be optional.
WBerredo Nov 24, 2014
5cd1c9e
Update the templates.
WBerredo Nov 24, 2014
45fddae
Allow getAll function on handler without parameters
WBerredo Nov 28, 2014
e99058a
Permit show delete message.
WBerredo Dec 1, 2014
4e55ef3
Fix PHPdocs messages
WBerredo Dec 22, 2014
357cf75
update to composer for symfony 3
WickedSilver Mar 30, 2016
37fa661
added .idea in gitignore
WickedSilver Mar 30, 2016
b660a16
merged 'Work with handlers as service' including nelmio api doc by WB…
WickedSilver Mar 30, 2016
189dac3
create the DependencyInjection folder if it doesn't exist
WickedSilver Mar 30, 2016
7ab41e3
create everything including the BundleExtension.php
WickedSilver Mar 30, 2016
12dfff6
now fixed creation of the DependencyInjection the right way. also che…
WickedSilver Mar 31, 2016
9a8d0ec
added extension bare class file when not yet created and added phpdoc…
WickedSilver Mar 31, 2016
591d749
added type-fixing and fixed the extension generation
WickedSilver Mar 31, 2016
83b24af
fixed formattting issues
WickedSilver Mar 31, 2016
dff4ea3
more formatting fixes in docs and added ApiDoc input/output by default
WickedSilver Apr 1, 2016
938e268
fix for re-generate form using the --overwrite option
WickedSilver Apr 1, 2016
e0e36e3
added basic support for annotation routing format
WickedSilver Apr 1, 2016
09d9215
added entity name after route prefix in route annotation above contro…
WickedSilver Apr 1, 2016
c548387
added function route annotations for the REST controller methods and …
WickedSilver Apr 1, 2016
34a19ff
added Symfony3 readme, bin/console instead of app/console
WickedSilver Apr 1, 2016
d13c39a
resolved conflict on composer.json with voryx master
WickedSilver Apr 1, 2016
06b221d
testing of nicely saving the servicesREST.xml file
WickedSilver Apr 1, 2016
5c9f439
undid previous commit
WickedSilver Apr 1, 2016
92f8fad
removed input/output from ApiDoc which caused failures
WickedSilver Apr 13, 2016
a54d6c7
alpha version of test generation
WickedSilver Apr 15, 2016
0fea7c3
bug fix for wrong reference to test.php.twig
WickedSilver Apr 15, 2016
fae1f64
undid rendering of tests since it gave hard errors
WickedSilver Apr 15, 2016
f9cb269
Develop > Master (Implemented tests and fixed interactive mode) (#2)
WickedSilver Apr 22, 2016
b08b191
implemented/updated creating form to be compliant with symfony 2.8+ a…
WickedSilver Apr 25, 2016
f857083
resolved merge conflicts with current master version of voryx/restgen…
WickedSilver Apr 25, 2016
2e5f84d
hotfix for generating yml service when no yml exists
WickedSilver Apr 25, 2016
be3e8d5
hotfix for failing test generation on Length Validator
WickedSilver Apr 25, 2016
26a350c
Develop > Master (#3)
WickedSilver Apr 29, 2016
13e383e
fixed routing issues for generation of sub-entities (#4)
WickedSilver May 12, 2016
0132d8b
fixed minor typo in cgetAction api doc block
WickedSilver May 13, 2016
efbcb07
Fix to support Symfony >=2.8
boskee Jul 5, 2016
bbf1a4e
Update README.md
WBerredo Feb 24, 2017
d04571a
Merge pull request #6 from WBerredo/patch-1
WickedSilver Feb 24, 2017
55260df
Updated Dependencies
sujayjaju Jul 5, 2017
b39b6b5
Merge pull request #5 from boskee/master
WickedSilver Nov 23, 2017
9b01059
Merge pull request #7 from sujayjaju/master
WickedSilver Jan 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
hotfix for failing test generation on Length Validator
  • Loading branch information
WickedSilver committed Apr 25, 2016
commit be3e8d5ea0767bf1a6d344381124434ff1bcf4cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
{%- elseif 'LengthValidator' in constraint.validatedBy() %}
{% set random_number = random(constraint.max - constraint.min) + constraint.min %}
{% set test_data = '' %}
{% for 0..random_number %}
{% for i in 1..random_number %}
{% set test_data = test_data ~ random('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890') %}
{% endfor %}
{%- elseif 'UuidValidator' in constraint.validatedBy() %}
Expand Down