Skip to content

gnostic generator

Tim Burks edited this page Jul 16, 2017 · 4 revisions

gnostic is largely built from generated code.

A code generator in the generate-gnostic directory reads an OpenAPI JSON schema and generates an equivalent Protocol Buffer representation and Go-language support code that converts JSON or YAML input into this representation. The generator supports OpenAPI 2.0, a preliminary version of OpenAPI 3.0, and third-party "vendor" or "specification" extensions.

Output of the generator is committed to the gnostic repository in the OpenAPIv2 and OpenAPIv3 directories.

Clone this wiki locally