Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
julieqiu authored May 26, 2024
1 parent ad271d5 commit 901f9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/protoc-gen-openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -62,4 +62,4 @@ refers to additional .proto files in the same directory as
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
```
```

0 comments on commit 901f9bd

Please sign in to comment.