Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Manweill committed Aug 27, 2018
1 parent 1fae862 commit 5336f84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ codegen({

### use static method

```
```js
codegen({
methodNameMode: 'operationId',
remoteUrl: 'http://localhost:22742/swagger/v1/swagger.json',
Expand All @@ -78,7 +78,7 @@ codegen({
before


```
```js

import { UserService } from './service'
const userService = new UserService()
Expand All @@ -88,7 +88,7 @@ await userService.GetAll();

after

```
```js

import { UserService } from './service'

Expand Down

0 comments on commit 5336f84

Please sign in to comment.