Skip to content
Tim Burks edited this page Jan 26, 2017 · 25 revisions

OpenAPI Compiler

The OpenAPI Compiler (openapic) is a tool for reading and processing API models described by the OpenAPI Specification. API models can be in JSON or YAML and referenced with local file names or URLs. openapic reads specified models, checks for errors, and generates a binary Protocol Buffer representation of the API that can be used by other tools and openapic plugins. These tools and plugins can use models and support code that allow efficient, statically-typed access to OpenAPI models.

openapic currently supports OpenAPI 2.0 with compiler and protocol buffer code that is automatically generated from the OpenAPI 2.0 schema. Applications and plugins can be built from code generated from OpenAPIv2.proto.

openapic uses a Plugin Architecture to support creation of OpenAPI tools in any language that is supported by protoc, the Protocol Buffer compiler.

Here are some notes on our plans to generate Extension Compilers for parsing OpenAPI vendor extensions.

Clone this wiki locally