Gobiru é uma ferramenta de linha de comando para gerar documentação de APIs Go automaticamente.
1.7K
Dockerfile linksGobiru é uma ferramenta de linha de comando para gerar documentação de APIs Go automaticamente. Ele analisa suas rotas do Gorilla Mux e gera documentação no formato OpenAPI (Swagger), fornecendo uma interface web interativa para visualização da documentação.

$ docker run -p 8081:8081 jeffemart/gobiru:latest
$ docker run -p 8081:8081 \
-v $(pwd)/routes.go:/app/routes.go \
-v $(pwd)/docs:/app/docs \
jeffemart/gobiru:latest
version: '3.8'
services:
gobiru:
image: jeffemart/gobiru:latest
ports:
- "8081:8081"
volumes:
- ./routes.go:/app/routes.go
- ./docs:/app/docs
PORT - Porta do servidor (default: 8081)API_TITLE - Título da API na documentaçãoAPI_DESCRIPTION - Descrição da APIAPI_VERSION - Versão da API/app/routes.go - Arquivo com as rotas da API/app/docs - Diretório onde a documentação será geradaView license information for the software contained in this image.
linux/amd64linux/arm64If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
Para reportar vulnerabilidades de segurança, por favor envie um email para [email protected] ao invés de abrir uma issue pública.
Content type
Image
Digest
sha256:54bf6c003…
Size
7.5 MB
Last updated
over 1 year ago
docker pull jeffemart/gobiru