Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Run mock server based off an API contract with one command

Awesome Lists containing this project

README

        

# dummy

[![CI-img]][CI-url]
[![pkg-img]][pkg-url]
[![reportcard-img]][reportcard-url]
[![coverage-img]][coverage-url]
[![version-img]][version-url]

dummy

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



Sponsored by Evrone

[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