This project provides swagger-mock-api-server command to start a mock server with temporal database persistence.
Command allows usage of JSON and YAML files
- Go to swagger project directory:
$ cd my-swagger-project
- Execute command:
$ swagger-mock-api-server
// OR
$ swagger-mock-api-server serve
| Option | Description | Default value |
|---|---|---|
| --help | Muestra ayuda | |
| --port | port to bind on | 8000 |
| --host | Server host | "0.0.0.0" |
| --file | Swagger file | "swagger.json" |
| --verbose, -v | false |