| 1 |
# OpenAPI v3 Protocol Buffer Models |
| 2 |
|
| 3 |
This directory contains a Protocol Buffer-language model and related code for |
| 4 |
supporting OpenAPI v3. |
| 5 |
|
| 6 |
Gnostic applications and plugins can use OpenAPIv3.proto to generate Protocol |
| 7 |
Buffer support code for their preferred languages. |
| 8 |
|
| 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. |
| 11 |
|
| 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. |
| 15 |
|
| 16 |
openapi-3.1.json is a JSON schema for OpenAPI 3.1 that is automatically |
| 17 |
generated from the OpenAPI 3.1 specification. It is not an official JSON Schema |
| 18 |
for OpenAPI. |
| 19 |
|
| 20 |
The schema-generator directory contains support code which generates |
| 21 |
openapi-3.1.json from the OpenAPI 3.1 specification document (Markdown). |