From a29c580205095055bca97f598f664d80a68115c8 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Sun, 23 Sep 2012 16:38:32 -0700 Subject: [PATCH] updated links in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4718749f94a..e6eec92f917 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ You can build a client against Wordnik's [petstore](http://petstore.swagger.word ./bin/scala-petstore.sh ``` -This will run the script in [src/main/scala/ScalaPetstoreCodegen.scala](https://github.com/wordnik/swagger-codegen/blob/master/src/main/scala/ScalaPetstoreCodegen.scala) and create the client. You can then +This will run the script in [samples/client/petstore/ScalaPetstoreCodegen.scala](https://github.com/wordnik/swagger-codegen/blob/master/samples/client/petstore/scala/ScalaPetstoreCodegen.scala) and create the client. You can then compile and run the client, as well as unit tests against it: ``` -cd samples/petstore/scala +cd samples/client/petstore/scala mvn package ``` @@ -49,7 +49,7 @@ It's just as easy--you can either run the default generators: Replace `Scala` with `Flash`, `PHP`, `Python`, `Java`. You will probably want to override some of the defaults--like packages, etc. For doing this, just create a scala -script with the overrides you want. Follow [ScalaPetstoreCodegen](https://github.com/wordnik/swagger-codegen/blob/master/src/main/scala/ScalaPetstoreCodegen.scala) as an example: +script with the overrides you want. Follow [ScalaPetstoreCodegen](https://github.com/wordnik/swagger-codegen/blob/master/samples/client/petstore/scala/ScalaPetstoreCodegen.scala) as an example: For example, create `src/main/scala/MyCodegen.scala` with these contents: