@redocly/mock-server 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +3 -0
  2. package/README.md +17 -0
  3. package/dist/bin.js +419 -0
  4. package/package.json +82 -0
package/LICENSE ADDED
@@ -0,0 +1,3 @@
1
+ Copyright 2022 (c) Redocly Inc. All rights reserved.
2
+
3
+ See license agreement here: https://redoc.ly/subscription-agreement/
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # Redocly Mock Server
2
+
3
+ Spins up an HTTP server that mimics a real server adhering to the OpenAPI definition.
4
+
5
+ ## Local development
6
+
7
+ To start the server locally in development mode, you just have to:
8
+
9
+ 1. `npm install`
10
+ 2. `npm start`
11
+ 3. The server will start listening the port `8080`
12
+
13
+ You can play with the OpenAPI definition located at [`test/fixtures/large-openapi.json`](test/fixtures/large-openapi.json).
14
+
15
+ ## Documentation
16
+
17
+ See documentation in the [docs folder](docs) folder.