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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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