File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ can import packages from `gnostic-models` instead of `gnostic`.
37
37
38
38
[ google/gnostic-grpc] ( https://github.com/google/gnostic-grpc ) contains a
39
39
gnostic plugin that can generate an annotated Protocol Buffer description of an
40
- API that, when transcode , produces an API that conforms to a specified OpenAPI
40
+ API that, when transcoded , produces an API that conforms to a specified OpenAPI
41
41
document. To go from protobuf to OpenAPI, see the
42
42
[ protoc-gen-openapi] ( cmd/protoc-gen-openapi ) tool in this project.
43
43
@@ -69,12 +69,12 @@ and later.
69
69
git clone https://github.com/google/gnostic
70
70
cd gnostic
71
71
72
- 2 . Verify that you have a local installation of ` protoc ` . You can get protoc
72
+ 2 . Verify that you have a local installation of ` protoc ` . You can get ` protoc `
73
73
[ here] ( https://github.com/protocolbuffers/protobuf ) .
74
74
75
75
3 . Build ** gnostic** with ` make ` . This uses
76
76
[ go generate] ( https://blog.golang.org/generate ) to build support code
77
- including code generated by ` protoc ` and the Go protoc plugin, which is
77
+ including code generated by ` protoc ` and the Go ` protoc ` plugin, which is
78
78
automatically downloaded from
79
79
[ github.com/golang/protobuf] ( https://github.com/golang/protobuf ) by the
80
80
[ COMPILE-PROTOS.sh] ( COMPILE-PROTOS.sh ) script. This also builds all plugins
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ Gnostic applications and plugins can use OpenAPIv3.proto to generate Protocol
7
7
Buffer support code for their preferred languages.
8
8
9
9
OpenAPIv3.go is used by Gnostic to read JSON and YAML OpenAPI descriptions into
10
- the Protocol Buffer-based datastructures generated from OpenAPIv3.proto.
10
+ the Protocol Buffer-based data structures generated from OpenAPIv3.proto.
11
11
12
12
OpenAPIv3.proto and OpenAPIv3.go are generated by the Gnostic compiler
13
- generator, and OpenAPIv3.pb.go is generated by protoc, the Protocol Buffer
14
- compiler, and protoc-gen-go, the Protocol Buffer Go code generation plugin.
13
+ generator, and OpenAPIv3.pb.go is generated by ` protoc ` , the Protocol Buffer
14
+ compiler, and ` protoc-gen-go ` , the Protocol Buffer Go code generation plugin.
15
15
16
- openapi-3.1.json is a JSON schema for OpenAPI 3.1 that is automatically
16
+ ` openapi-3.1.json ` is a JSON schema for OpenAPI 3.1 that is automatically
17
17
generated from the OpenAPI 3.1 specification. It is not an official JSON Schema
18
18
for OpenAPI.
19
19
You can’t perform that action at this time.
0 commit comments