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 ΒΆ
Path | Synopsis |
---|---|
apps | |
apps/disco | |
apps/petstore-builder | |
apps/report | report is a demo application that displays information about an OpenAPI description. |
apps/report-messages | Filter and display messages produced by gnostic invocations. |
compiler | Package compiler provides support functions to generated compiler code. |
discovery | Package discovery_v1 is a generated protocol buffer package. |
extensions | Package openapiextension_v1 is a generated protocol buffer package. |
generate-gnostic | generator generates Protocol Buffer models and support code from JSON Schemas. |
jsonschema | Package jsonschema supports the reading, writing, and manipulation of JSON Schemas. |
jsonwriter | |
linters | |
linters/go | |
linters/go/gnostic-lint-descriptions | gnostic_lint is a tool for analyzing OpenAPI descriptions. |
linters/go/gnostic-lint-paths | gnostic-lint-paths is a tool for analyzing paths in OpenAPI descriptions. |
OpenAPIv2 | Package openapi_v2 is a generated protocol buffer package. |
OpenAPIv3 | Package openapi_v3 is a generated protocol buffer package. |
OpenAPIv3/schema-generator | schema-generator is a support tool that generates the OpenAPI v3 JSON schema. |
plugins | Package gnostic_plugin_v1 is a generated protocol buffer package. |
plugins/gnostic-analyze | gnostic_analyze is a tool for analyzing OpenAPI descriptions. |
plugins/gnostic-analyze/statistics | |
plugins/gnostic-analyze/summarize | summarize is a tool for summarizing the results of gnostic_analyze runs. |
plugins/gnostic-go-generator | gnostic_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/bookstore | Package 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/sample | Package 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/xkcd | Package 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/bookstore | Package 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/urlshortener | Package urlshortener exists to allow this repo to work with recursive go get. |
plugins/gnostic-summary | gnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API. |
printer | Package printer provides support for writing generated code. |
surface | Package surface_v1 is a generated protocol buffer package. |
tools | |
tools/format-schema | format-schema canonically formats a JSON schema. |
tools/j2y2j | j2y2j 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.