Skip to content

Commit 0a76146

Browse files
committed
refactor: rename /mock to /mock-server
1 parent 92a6873 commit 0a76146

File tree

17 files changed

+11
-8
lines changed

17 files changed

+11
-8
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
node-version: ${{ matrix.node-version }}
3636

3737
- name: Install dependencies & build (mock)
38-
working-directory: ./mock
38+
working-directory: ./mock-server
3939
run: npm install
4040

4141
- name: Install dependencies & build (proxy)

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node_modules
2-
mock/node_modules
3-
mock/build/
2+
mock-server/node_modules
3+
mock-server/build/
44
.idea/
55
.vscode/settings.json
66
.markdownlint.json
File renamed without changes.
File renamed without changes.

mock/README.md renamed to mock-server/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# OpenAPI Backend Mock API
1+
# OpenAPI Mock Server
22

3-
Mock API based on [openapi-backend](https://github.com/anttiviljami/openapi-backend) example.
3+
Mock server that based
4+
on [openapi-backend express-ts-mock](https://github.com/anttiviljami/openapi-backend/tree/c34c97e53f94034dee2908f25f724b9e39cf4c0b/examples/express-ts-mock)
5+
example. It mocks responses using the [examples](https://swagger.io/docs/specification/adding-examples/) defined in the
6+
OpenAPI document.
47

58
## QuickStart
69

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)