gnostic – github.com/google/gnostic Directories

gnostic command

Gnostic is a tool for building better REST APIs through knowledge.

Gnostic reads declarative descriptions of REST APIs that conform to the OpenAPI Specification, reports errors, resolves internal dependencies, and puts the results in a binary form that can be used in any language that is supported by the Protocol Buffer tools.

Gnostic models are validated and typed. This allows API tool developers to focus on their product and not worry about input validation and type checking.

Gnostic calls plugins that implement a variety of API implementation and support features including generation of client and server support code.

Directories

PathSynopsis
apps
apps/disco
apps/petstore-builder
apps/reportreport is a demo application that displays information about an OpenAPI description.
apps/report-messagesFilter and display messages produced by gnostic invocations.
compilerPackage compiler provides support functions to generated compiler code.
discoveryPackage discovery_v1 is a generated protocol buffer package.
extensionsPackage openapiextension_v1 is a generated protocol buffer package.
generate-gnosticgenerator generates Protocol Buffer models and support code from JSON Schemas.
jsonschemaPackage jsonschema supports the reading, writing, and manipulation of JSON Schemas.
jsonwriter
linters
linters/go
linters/go/gnostic-lint-descriptionsgnostic_lint is a tool for analyzing OpenAPI descriptions.
linters/go/gnostic-lint-pathsgnostic-lint-paths is a tool for analyzing paths in OpenAPI descriptions.
OpenAPIv2Package openapi_v2 is a generated protocol buffer package.
OpenAPIv3Package openapi_v3 is a generated protocol buffer package.
OpenAPIv3/schema-generatorschema-generator is a support tool that generates the OpenAPI v3 JSON schema.
pluginsPackage gnostic_plugin_v1 is a generated protocol buffer package.
plugins/gnostic-analyzegnostic_analyze is a tool for analyzing OpenAPI descriptions.
plugins/gnostic-analyze/statistics
plugins/gnostic-analyze/summarizesummarize is a tool for summarizing the results of gnostic_analyze runs.
plugins/gnostic-go-generatorgnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API.
plugins/gnostic-go-generator/examples
plugins/gnostic-go-generator/examples/googleauth
plugins/gnostic-go-generator/examples/v2.0
plugins/gnostic-go-generator/examples/v2.0/bookstore
plugins/gnostic-go-generator/examples/v2.0/bookstore/bookstorePackage bookstore exists to allow this repo to work with recursive go get.
plugins/gnostic-go-generator/examples/v2.0/bookstore/service
plugins/gnostic-go-generator/examples/v2.0/sample
plugins/gnostic-go-generator/examples/v2.0/sample/samplePackage sample exists to allow this repo to work with recursive go get.
plugins/gnostic-go-generator/examples/v2.0/sample/service
plugins/gnostic-go-generator/examples/v2.0/xkcd
plugins/gnostic-go-generator/examples/v2.0/xkcd/xkcdPackage xkcd exists to allow this repo to work with recursive go get.
plugins/gnostic-go-generator/examples/v3.0
plugins/gnostic-go-generator/examples/v3.0/bookstore
plugins/gnostic-go-generator/examples/v3.0/bookstore/bookstorePackage bookstore exists to allow this repo to work with recursive go get.
plugins/gnostic-go-generator/examples/v3.0/bookstore/service
plugins/gnostic-go-generator/examples/v3.0/urlshortener
plugins/gnostic-go-generator/examples/v3.0/urlshortener/urlshortenerPackage urlshortener exists to allow this repo to work with recursive go get.
plugins/gnostic-summarygnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API.
printerPackage printer provides support for writing generated code.
surfacePackage surface_v1 is a generated protocol buffer package.
tools
tools/format-schemaformat-schema canonically formats a JSON schema.
tools/j2y2jj2y2j converts JSON to YAML and YAML to JSON.
Version
v0.2.2
Published
May 19, 2018
Platform
js/wasm
Imports
19 packages
Last checked
now

Tools for package owners.