go-microservice

command module
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 19 Imported by: 0

README

go-microservice

Demo API microservice is covered by OpenAPI/Swagger-generated documentation. Communicates with gRPC service.

📌 OpenAPI/Swagger-generated API Documentation based on Swagger UI is available by localhost:9090/swagger OpenAPI/Swagger-generated API Documentation based on Swagger UI

📌 OpenAPI/Swagger-generated API Documentation based on Redoc is available by localhost:9090/redoc OpenAPI/Swagger-generated API Documentation based on Redoc UI

⚠️ gRPC server must be running before.

⚠️ Install swagger locally before generate:

git clone https://github.com/go-swagger/go-swagger && cd go-swagger
git checkout v0.30.5
go install -ldflags "-X github.com/go-swagger/go-swagger/cmd/swagger/commands.Version=$(git describe --tags) -X github.com/go-swagger/go-swagger/cmd/swagger/commands.Commit=$(git rev-parse HEAD)" ./cmd/swagger

⚠️ Clear sdk directory before generate documentation.

🎥 Thanks Nic Jackson for sharing his knowledge.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Documentation of microservice API
Documentation of microservice API
sdk

Jump to

Keyboard shortcuts

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