Skip to content

Commit

Permalink
Add javadoc that document how to make working swagger ui for DemoServer
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyrjala committed Nov 29, 2014
1 parent 510954c commit 56f5b8c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
import com.nitorcreations.nflow.jetty.StartNflow;
import com.nitorcreations.nflow.metrics.NflowMetricsContext;

/**
* To enable swagger ui (http://localhost:7500/docs) Execute "mvn compile"
* before starting.
*/
public class DemoServer {
public static void main(String[] args) throws Exception {
new StartNflow().registerSpringContext(NflowMetricsContext.class).startJetty(7500, "local", "jmx");
Expand Down

0 comments on commit 56f5b8c

Please sign in to comment.