Skip to content

Commit 07e9a1a

Browse files
committed
Merge pull request #379 from tlbdk/develop_2.0
Fix documentation and sample code for browser usage
2 parents 2a1eab5 + f623031 commit 07e9a1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

browser/index.html

+7
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@
22
<head>
33
<title>Test Swagger Client</title>
44
<script src="swagger-client.js"></script>
5+
<script type="text/javascript">
6+
// initialize swagger
7+
var swagger = new SwaggerClient({
8+
url: "http://petstore.swagger.io/api/api-docs",
9+
success: function() {}
10+
});
11+
</script>
512
</head>
613
</html>

0 commit comments

Comments
 (0)