Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neotoolkit/dummy
Run mock server based off an API contract with one command
https://github.com/neotoolkit/dummy
api dummy faker golang mocking openapi3
Last synced: 3 months ago
JSON representation
Run mock server based off an API contract with one command
- Host: GitHub
- URL: https://github.com/neotoolkit/dummy
- Owner: neotoolkit
- License: mit
- Archived: true
- Created: 2021-11-12T06:54:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T15:04:52.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T20:52:54.138Z (6 months ago)
- Topics: api, dummy, faker, golang, mocking, openapi3
- Language: Go
- Homepage:
- Size: 5.37 MB
- Stars: 177
- Watchers: 2
- Forks: 9
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - dummy - Run mock server based off an API contract with one command. (Server Applications / HTTP Clients)
- zero-alloc-awesome-go - dummy - Run mock server based off an API contract with one command. (Server Applications / HTTP Clients)
- awesome-go-extra - dummy - 11-12T06:54:04Z|2022-08-25T14:22:38Z| (Server Applications / HTTP Clients)
README
# dummy
[![CI-img]][CI-url]
[![pkg-img]][pkg-url]
[![reportcard-img]][reportcard-url]
[![coverage-img]][coverage-url]
[![version-img]][version-url]Run mock server based off an API contract with one command
[Dummy](https://evrone.com/dummy?utm_source=github&utm_campaign=dummy) is created & supported by [Evrone](https://evrone.com?utm_source=github&utm_campaign=dummy)
## Features
- Supports `OpenAPI 3.x`## Installation
```shell
go install github.com/neotoolkit/dummy/cmd/dummy@latest
```## Usage
Dummy can help you run mock server based off an API contract, which helps people see how your API will work before you even have it built. Run it locally with the `dummy s` command to run your API on a HTTP server you can interact with.
```shell
dummy s openapi.yml
```
```shell
dummy s https://raw.githubusercontent.com/neotoolkit/dummy/main/examples/docker/openapi.yml
```
More usage [examples](examples)## Documentation
See [these docs][pkg-url].## License
[MIT License](LICENSE).## Sponsors
[CI-img]: https://github.com/neotoolkit/dummy/workflows/CI/badge.svg
[CI-url]: https://github.com/neotoolkit/dummy/actions
[pkg-img]: https://pkg.go.dev/badge/neotoolkit/dummy
[pkg-url]: https://pkg.go.dev/github.com/neotoolkit/dummy
[reportcard-img]: https://goreportcard.com/badge/neotoolkit/dummy
[reportcard-url]: https://goreportcard.com/report/neotoolkit/dummy
[coverage-img]: https://codecov.io/gh/neotoolkit/dummy/branch/main/graph/badge.svg
[coverage-url]: https://codecov.io/gh/neotoolkit/dummy
[version-img]: https://img.shields.io/github/v/release/neotoolkit/dummy
[version-url]: https://github.com/neotoolkit/dummy/releases