Gnostic is a command-line tool and Go library developed by Google for converting OpenAPI specifications (in JSON or YAML) to and from Protocol Buffer (protobuf) representations. It allows developers to handle OpenAPI documents in a strongly typed, language-neutral, and extensible way by generating structured data models that can be used across different programming languages supported by protobuf. Using these protobuf models, developers can safely parse, validate, and manipulate OpenAPI specifications, resolve dependencies, and export results as JSON, YAML, or binary files. Gnostic also provides a plugin interface similar to protoc, enabling integration with external API tooling and the generation of additional artifacts, such as annotated protobuf APIs, Go clients, and vocabulary summaries. It supports multiple OpenAPI versions (v2, v3) and Google Discovery Documents.

Features

  • Converts OpenAPI JSON/YAML to Protocol Buffer and back
  • Provides type-safe OpenAPI data models for Go and other languages
  • Plugin system for extending functionality (e.g., gRPC annotations, Go client generation)
  • Resolves internal dependencies and validates OpenAPI structure
  • Supports OpenAPI v2, v3, and Google Discovery documents
  • Integration-ready for Go environments and protobuf toolchains

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow Gnostic

Gnostic Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gnostic!

Additional Project Details

Programming Language

Go

Related Categories

Go Compilers

Registered

2025-10-10