added support for swagger-spec 1.2

This commit is contained in:
Tony Tam
2013-06-30 21:37:21 -07:00
parent dd3037f481
commit 9efb0a798e
2 changed files with 12 additions and 2 deletions

2
dist/index.html vendored
View File

@@ -19,7 +19,7 @@
<script type="text/javascript">
$(function () {
window.swaggerUi = new SwaggerUi({
discoveryUrl:"http://petstore.swagger.wordnik.com/api/api-docs.json",
discoveryUrl:"http://localhost:8002/api/api-docs",
apiKey:"special-key",
dom_id:"swagger-ui-container",
supportHeaderParams: false,