Skip to content

yuhrao/cow-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cow Rest

go-version

A REST API interface to use cowsay

Start application

With Go

Remember to configure your GOPATH correctly

go run ./main.go

To build the app, run go build -o cowrest ./main.go

Using the binary

You can find the binaries for download on releases page

Enter the binary location and run.

linux: ./cowrest

MacOS: ./darwin_cowrest

windows: ./cowrest.exe

API documentation

You can get the API Docs on this link

The OpenAPI specs can be found in doc/ folder. You can use one of the tools below for visualization:

Next steps

  • Get cow files
  • Create new cows
  • Generate swagger specs automatically