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
cmd
cmd/disco
cmd/parse-linter-output
cmd/petstore-builder
cmd/protoc-gen-jsonschema
cmd/protoc-gen-jsonschema/generator
cmd/protoc-gen-openapi
cmd/protoc-gen-openapi/generator
cmd/protoc-gen-openapi/generator/wellknown
cmd/reportreport is a demo application that displays information about an OpenAPI description.
cmd/report-messagesFilter and display messages produced by gnostic invocations.
cmd/vocabulary-operations
compilerPackage compiler provides support functions to generated compiler code.
conversions
discovery
extensions
generate-gnosticgenerator generates Protocol Buffer models and support code from JSON Schemas.
jsonschemaPackage jsonschema supports the reading, writing, and manipulation of JSON Schemas.
jsonwriter
lib
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.
metrics
metrics/lint
metrics/metrics
metrics/rules
metrics/sourceinfo
metrics/vocabularyPackage gnostic_vocabulary provides operation for Vocabulary structs
openapiv2
openapiv3
openapiv3/schema-generatorschema-generator is a support tool that generates the OpenAPI v3 JSON schema.
plugins
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-complexitygnostic-complexity is a plugin that generates a complexity summary of an API.
plugins/gnostic-linter
plugins/gnostic-plugin-requestgnostic-plugin-request is a development tool that captures and optionally displays the contents of the gnostic plugin interface.
plugins/gnostic-process-plugin-responsegnostic-process-plugin-response is a development tool that processes the output of a gnostic plugin in the same way that it would be handled by gnostic itself.
plugins/gnostic-summarygnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API.
plugins/gnostic-vocabulary
printerPackage printer provides support for writing generated code.
surface
tools
tools/format-schemaformat-schema canonically formats a JSON schema.
tools/j2y2jj2y2j converts JSON to YAML and YAML to JSON.
Version
v0.7.0 (latest)
Published
Aug 25, 2023
Platform
linux/amd64
Imports
3 packages
Last checked
1 week ago

Tools for package owners.