forked from loafle/openapi-generator-original
* update echo to newer version * add github workflow * minor fix * add install * go get * install middleware * test go api server * trigger build * test go-api-server * Revert "test go api server" This reverts commit 42f24e578ff5a0e0b2be5fa1c506be237ec4cbe0. * Revert "Revert "test go api server"" This reverts commit 7ce773275b0c223208421eff9d84b64a079874be. * update samples * test go gin in github workflow * go install * Revert "go install" This reverts commit ec099b48c138c2a03503bbf1de8995cbca2d7598. * Revert "test go gin in github workflow" This reverts commit 120516856eaa5adbeebc558a68be8e26797b8749. * remove go api, echo server tests
Go Echo API Server for openapi
This is a sample server Petstore server. For this sample, you can use the api key special-key
to test the authorization filters.
Overview
This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
To see how to make this your own, look here:
- API version: 1.0.0
Running the server
To run the server, follow these simple steps:
go mod download
go build -o app
To run the server in a docker container
docker build --network=host -t openapi .
Once the image is built, just run
docker run --rm -it openapi
Known Issue
TBA