Skip to content

Commit

Permalink
fix(templates): Fine tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
monkey0722 committed Jun 14, 2021
1 parent 90a3fdf commit cd02469
Show file tree
Hide file tree
Showing 6 changed files with 856 additions and 1,090 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# swagger-ts-gen
# @tughril/swagger-ts-gen

A generator for typescript from Swagger

## Installation

```bash
npm install -D swagger-ts-gen
npm install -D @tughril/swagger-ts-gen
```

## Usage

```ts

import { Generator } from "swagger-ts-gen";
import { Generator } from "@tughril/swagger-ts-gen";

const content = fs.readFileSync("path to swagger", "utf-8");
const generator = new CodeGenerator(JSON.parse(content), {
Expand Down
Loading

0 comments on commit cd02469

Please sign in to comment.