Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
opiepj committed May 17, 2017
1 parent b9ed6e5 commit 11f8f4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm install swagger-js-codegen-1337
## Example
```javascript
var fs = require('fs');
var CodeGen = require('swagger-js-codegen').CodeGen;
var CodeGen = require('swagger-js-codegen-1337').CodeGen;

var file = 'swagger/spec.json';
var swagger = JSON.parse(fs.readFileSync(file, 'UTF-8'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "swagger-js-codegen-1337",
"main": "./lib/codegen.js",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Swagger codegen for JavaScript -- Modified by Patrick Opie",
"scripts": {
"test": "grunt",
Expand Down
2 changes: 1 addition & 1 deletion templates/typescript-class.mustache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#definitions}}
type {{&name}} = {{#tsType}}{{> type}}{{/tsType}};
interface {{&name}} { {{#tsType}}{{> type}};{{/tsType}} };
{{/definitions}}

{{#methods}}
Expand Down

0 comments on commit 11f8f4d

Please sign in to comment.