Skip to content

Commit

Permalink
Fix Javascript code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
naviat committed Oct 3, 2019
1 parent 3a5df0e commit cb0d8dd
Show file tree
Hide file tree
Showing 5 changed files with 4,406 additions and 4,540 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jspm_packages
# Optional REPL history
.node_repl_history
.idea

slate.md
index1.html
# Vim
.*.sw*
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

## Swagger to Slate
```
widdershins --search true --language_tabs 'shell:cURL' 'javascript--nodejs:Node.JS' 'go:GO' 'ruby:Ruby' 'python:Python' --summary swagger.yml -o slate.md
widdershins --search true --language_tabs 'shell:cURL' 'javascript:JavaScript' 'go:GO' 'ruby:Ruby' 'python:Python' --summary swagger.yml -o slate.md
```

Change the httpsnippet for javascript key to `javascript:JavaScript` . [Read more](https://github.com/Kong/httpsnippet/tree/master/src/targets)

## Run localy
`node arapaho`

Expand Down
Loading

0 comments on commit cb0d8dd

Please sign in to comment.