mockapi

command module
v0.0.0-...-d6deb8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2015 License: MIT Imports: 7 Imported by: 0

README

mockapi

Mockapi is a simple Go application to create a mock server from a given API Blueprint standard document specification.

How to install and run

First of all, you have to get the source from github.com by using the following command:

go get https://github.com/joliva-ob/mockapi.git

And then, just run the program with just two parameters:

  • -f Path to the apiblueprint file
  • -p Server port

Example:

go run mockapi -p ./myapi.apib -p 8000

or run in background with output redirected to a log file.

go run mockapi.go -f ./myapi.apib -p 8000 > mockapi.log

Contact

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL