From 901f9bdb38794814978d5fd83f905c2d140a260d Mon Sep 17 00:00:00 2001 From: Julie Qiu Date: Sun, 26 May 2024 10:49:41 -0400 Subject: [PATCH] Update README.md Fix this error in the installation instructions: ``` go install github.com/google/gnostic/cmd/protoc-gen-openapi go: 'go install' requires a version when current directory is not in a module Try 'go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest' to install the latest version ``` --- cmd/protoc-gen-openapi/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/protoc-gen-openapi/README.md b/cmd/protoc-gen-openapi/README.md index 154d7202..80efa37b 100644 --- a/cmd/protoc-gen-openapi/README.md +++ b/cmd/protoc-gen-openapi/README.md @@ -6,7 +6,7 @@ Protocol Buffer service. Installation: - go install github.com/google/gnostic/cmd/protoc-gen-openapi + go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest Usage: @@ -62,4 +62,4 @@ refers to additional .proto files in the same directory as application/json: schema: $ref: '#/components/schemas/google.rpc.Status' - ``` \ No newline at end of file + ```