Documentation ¶
Overview ¶
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 |
---|---|
Package openapi_v2 is a generated protocol buffer package.
|
Package openapi_v2 is a generated protocol buffer package. |
Package openapi_v3 is a generated protocol buffer package.
|
Package openapi_v3 is a generated protocol buffer package. |
schema-generator
schema-generator is a support tool that generates the OpenAPI v3 JSON schema.
|
schema-generator is a support tool that generates the OpenAPI v3 JSON schema. |
apps
|
|
report
report is a demo application that displays information about an OpenAPI description.
|
report is a demo application that displays information about an OpenAPI description. |
Package compiler provides support functions to generated compiler code.
|
Package compiler provides support functions to generated compiler code. |
Package discovery_v1 is a generated protocol buffer package.
|
Package discovery_v1 is a generated protocol buffer package. |
Package openapiextension_v1 is a generated protocol buffer package.
|
Package openapiextension_v1 is a generated protocol buffer package. |
generator generates Protocol Buffer models and support code from JSON Schemas.
|
generator generates Protocol Buffer models and support code from JSON Schemas. |
Package jsonschema supports the reading, writing, and manipulation of JSON Schemas.
|
Package jsonschema supports the reading, writing, and manipulation of JSON Schemas. |
Package gnostic_plugin_v1 is a generated protocol buffer package.
|
Package gnostic_plugin_v1 is a generated protocol buffer package. |
gnostic-analyze
gnostic_analyze is a tool for analyzing OpenAPI descriptions.
|
gnostic_analyze is a tool for analyzing OpenAPI descriptions. |
gnostic-analyze/summarize
summarize is a tool for summarizing the results of gnostic_analyze runs.
|
summarize is a tool for summarizing the results of gnostic_analyze runs. |
gnostic-go-generator
gnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API.
|
gnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API. |
gnostic-summary
gnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API.
|
gnostic_go_generator is a sample Gnostic plugin that generates Go code that supports an API. |
Package printer provides support for writing generated code.
|
Package printer provides support for writing generated code. |
Package surface_v1 is a generated protocol buffer package.
|
Package surface_v1 is a generated protocol buffer package. |
tools
|
|
format-schema
format-schema canonically formats a JSON schema.
|
format-schema canonically formats a JSON schema. |
j2y2j
j2y2j converts JSON to YAML and YAML to JSON.
|
j2y2j converts JSON to YAML and YAML to JSON. |
Click to show internal directories.
Click to hide internal directories.