removed handlebars reference

This commit is contained in:
Tony Tam
2014-12-29 17:54:14 -08:00
parent 355a7e4a2c
commit a03e0a4f60

View File

@@ -31,10 +31,9 @@ You can use the swagger-ui code AS-IS! No need to build or recompile--just clon
### Build ### Build
You can rebuild swagger-ui on your own to tweak it or just so you can say you did. To do so, follow these steps: You can rebuild swagger-ui on your own to tweak it or just so you can say you did. To do so, follow these steps:
1. install [handlebars](http://handlebarsjs.com/) 1. npm install
2. npm install 2. npm run-script build
3. npm run-script build 3. You should see the distribution under the dist folder. Open ./dist/index.html to launch Swagger UI in a browser
4. You should see the distribution under the dist folder. Open ./dist/index.html to launch Swagger UI in a browser
### Use ### Use
Once you open the Swagger UI, it will load the [Swagger Petstore](http://petstore.swagger.wordnik.com/api/api-docs) service and show its APIs. You can enter your own server url and click explore to view the API. Once you open the Swagger UI, it will load the [Swagger Petstore](http://petstore.swagger.wordnik.com/api/api-docs) service and show its APIs. You can enter your own server url and click explore to view the API.