From fca38786ab485e8b1b89d18f1c92579a5d8dcadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=C3=B6tzinger?= Date: Wed, 20 May 2020 15:42:31 +0200 Subject: [PATCH 1/2] mention flamingo framework support --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 880f9bbed..9c962b8ac 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ $ swag init Make sure to import the generated `docs/docs.go` so that your specific configuration gets `init`'ed. If your General API annotations do not live in `main.go`, you can let swag know with `-g` flag. ```sh - swag init -g http/api.go + swag init --generalInfo=http/api.go ``` ## swag cli @@ -88,6 +88,7 @@ OPTIONS: - [echo](http://github.com/swaggo/echo-swagger) - [buffalo](https://github.com/swaggo/buffalo-swagger) - [net/http](https://github.com/swaggo/http-swagger) +- [flamingo](https://github.com/i-love-flamingo/swagger) ## How to use it with Gin From e72e13e01d3fcf0892015116781b2a8a821c587c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=C3=B6tzinger?= Date: Mon, 25 May 2020 11:36:52 +0200 Subject: [PATCH 2/2] readme: adjust flag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c962b8ac..25e15c36e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ $ swag init Make sure to import the generated `docs/docs.go` so that your specific configuration gets `init`'ed. If your General API annotations do not live in `main.go`, you can let swag know with `-g` flag. ```sh - swag init --generalInfo=http/api.go + swag init -g http/api.go ``` ## swag cli