Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mockoon/mock-samples

Start using Mockoon in no time with popular APIs mock samples.
https://github.com/mockoon/mock-samples

api json-mock json-mock-server mock mock-api mock-data mock-samples mock-server mocking mocking-utility openapi3 prototyping rest rest-api server

Last synced: about 1 month ago
JSON representation

Start using Mockoon in no time with popular APIs mock samples.

Awesome Lists containing this project

README

        
















Mockoon's moc samples


Welcome to Mockoon's mock API samples repository. You will find in the [`apis`](/mock-apis) folder many mock samples from popular APIs (Open Weather, Giphy, etc.). We will be adding more samples from time to time.

You will find the full list of sample mock APIs on our website too: https://mockoon.com/mock-samples/

---

## How to open the samples in Mockoon

To open the samples in Mockoon application, you have two possibilities:

1. Download the sample JSON file and click on the open button:

![open environment](/docs/open-environment.png)

1. Copy the sample file content from this repository to the clipboard and open the `File` menu and choose `New environment from clipboard`:

![new environment from clipboard](/docs/new-environment-from-clipboard.png)

In both cases, a new environment will be created and ready to use after running it by pressing the green "play" button.

![Run the mock API](/docs/run-api.png)

## How to use the samples with Mockoon CLI

To run the mock samples with the [CLI](https://github.com/mockoon/cli) you can diractly run the following command using the sample raw file GitHub URL:

`mockoon-cli start --data https://raw.githubusercontent.com/mockoon/mock-samples/main/mock-apis/data/giphycom.json`

## Support/feedback

You can discuss all things related to Mockoon, and ask for help, on the [official community](https://github.com/mockoon/mockoon/discussions). It's also a good place to discuss bugs and feature requests before opening an issue on this repository. For more chat-like discussions, you can also join our [Discord server](https://discord.gg/FtJjkejKGp).

## Contributing

If you are interested in contributing to Mockoon website and documentation, please take a look at the [contributing guidelines](https://github.com/mockoon/mockoon.com/blob/main/CONTRIBUTING.md).

Please also take a look at our [Code of Conduct](https://github.com/mockoon/mockoon.com/blob/main/CODE_OF_CONDUCT.md).

## Documentation

You will find Mockoon's [documentation](https://mockoon.com/docs/latest/) on the official website. It covers Mockoon's most complex features. Feel free to contribute or ask for new topics to be covered.

## Roadmap

If you want to know what will be coming in the next release you can check the global [Roadmap](https://github.com/orgs/mockoon/projects/9).

New releases will be announced on Mockoon's [Twitter account @GetMockoon](https://twitter.com/GetMockoon) and through the newsletter to which you can subscribe [here](https://mockoon.com/newsletter/).