Permalink
Browse files

posale.fsh now generates rest endpoints as well as scaffolding

  • Loading branch information...
1 parent 45ca5ae commit a870ed2713b710d8e281302dd76ffda66b4dafee @lincolnthree lincolnthree committed Jan 10, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 showcase/posale.fsh
View
@@ -41,6 +41,9 @@ cd ProductOrder.java;
field manyToOne --named shippingAddress --fieldType ~.domain.Address.java;
cd ..;
scaffold from-entity ~.domain.* --scaffoldType faces --overwrite;
+cd ~~;
+rest setup;
+rest endpoint-from-entity ~.domain.*;
build;
set ACCEPT_DEFAULTS true;
-cd ~~;
+cd ~~;

0 comments on commit a870ed2

Please sign in to comment.