0.13.7 • Published 2 years ago

@varkes/openapi-mock v0.13.7

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
2 years ago

OpenAPI Mock

npm version

The OpenAPI mock mocks the application APIs based on the OpenAPI specification.

Features

The OpenAPI mock brings you the following features:

  • OpenAPI Mock uses Swagger-Express-Middleware to parse, validate, and dereference OpenAPI files. You can also create your custom implementation for responses or errors. See this document to learn how the API mock reacts to incoming requests.

  • Returns the OpenAPI specification as metadata: Call '/metadata' to see the OpenAPI specification in text or x-yaml format.

Development

Make sure you have first executed make resolve from the project root!

To run the OpenAPI mock locally, use an empty configuration:

npm start

To run it locally with debug logs enabled, and an example configuration from the test suite, run:

npm run start:dev

After the startup, you have access to:

  • rest API - http://localhost:10000/myApiBasePath/metadata
  • console - http://localhost:10000/myApiBasePath/console
0.13.6

2 years ago

0.13.7

2 years ago

0.13.4

2 years ago

0.13.5

2 years ago

0.13.3

2 years ago

0.13.0

2 years ago

0.12.0

2 years ago

0.11.2

3 years ago

0.11.1

3 years ago

0.11.0

4 years ago

0.10.7

4 years ago

0.10.6

4 years ago

0.10.5

4 years ago

0.10.4

4 years ago

0.10.3

4 years ago

0.10.2

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2-alpha.0

5 years ago

0.0.0

5 years ago