Skip to content

Commit

Permalink
Merge pull request #56 from SimplicityGuy/master
Browse files Browse the repository at this point in the history
Making the `index.html` point to the local swagger.json.
  • Loading branch information
softlns committed Jan 27, 2016
2 parents a3f78e3 + efbc139 commit fd2e621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swagger_py_codegen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .command import generate

__version__ = '0.1.12'
__version__ = '0.1.13'
2 changes: 1 addition & 1 deletion swagger_py_codegen/templates/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if (url && url.length > 1) {
url = decodeURIComponent(url[1]);
} else {
url = "http://petstore.swagger.io/v2/swagger.json";
url = "{{ spec_path }}";
}

// Pre load translate...
Expand Down

0 comments on commit fd2e621

Please sign in to comment.