Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs out of date on mocki.io #28

Open
KorySchneider opened this issue Jun 21, 2023 · 0 comments
Open

Docs out of date on mocki.io #28

KorySchneider opened this issue Jun 21, 2023 · 0 comments

Comments

@KorySchneider
Copy link

The documentation at https://mocki.io/docs is out of date. On the site it says to run locally: mocki start --config config.yml, but the correct way now is mocki run --path config.yml as seen in the readme in this repo.

Also, the yaml formatting is a bit messed up on both the site and the readme.

This is what the example should look like when properly formatted:

name: mocki
port: 3001
endpoints:
  - path: /hello
    method: get
    responses:
      - statusCode: 200
        body:
          message: Hello from Mocki!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant