Skip to content

Commit a0d2092

Browse files
committed
refactor: refactor api commands
1 parent daa7479 commit a0d2092

File tree

9 files changed

+31
-56
lines changed

9 files changed

+31
-56
lines changed

openapi/asyncapi-generator/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
######################################################################
2+
3+
### install
4+
5+
### homebrew
6+
brew install asyncapi

openapi/asyncapi/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

openapi/openapi-generator/README.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
######################################################################
22

3+
### install
4+
5+
### install openapi generator cli
6+
brew install openapi-generator
7+
8+
### install swagger codegen
9+
brew install swagger-codegen
10+
11+
######################################################################
12+
313
openapi-generator generate -i petstore.yaml -o petstore -g go-echo-server
414

515
openapi-generator generate -i openapi.yaml -o sample -g typescript-fetch

openapi/postman/README.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

openapi/postman/postman-commands.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
######################################################################
22

3+
### install
4+
5+
### homebrew
6+
brew install --cask postman
7+
8+
### chocolatey
9+
choco install -y postman
10+
11+
######################################################################
12+
313
### Converting Postman collections from v1 to v2
414

515
### Install the Postman Collection Transformer

openapi/prism/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
# Stoplight Prism
22

33
Prism is a API mocking and contract testing tool. It supports mock servers and validation proxy from OpenAPI specification.
4-
5-
## Install Prism
6-
7-
```sh
8-
npm install -g @stoplight/prism-cli
9-
```

openapi/prism/prisim-commands.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
######################################################################
22

3+
### install
4+
npm install -g @stoplight/prism-cli
5+
6+
######################################################################
7+
38
npx prism mock -d petstore3.json

0 commit comments

Comments
 (0)