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
Links
Contact
- Joan Oliva joanoj@gmail.com