Documentation ¶
Overview ¶
Package oapigen generates tables from OpenAPI documents.
Package oapigen generates tables from OpenAPI documents.
Package oapigen generates tables from OpenAPI documents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "version": { Type: schema.TypeInt, Required: true, }, "documents": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, Required: true, }, "prefix": { Type: schema.TypeString, Required: true, }, }
ConfigSchema defines the config params for the oapigen plugin.
Functions ¶
func PluginTables ¶
PluginTables defines all the tables from the OpenaAPI documents.
Types ¶
type Config ¶
type Config struct { Version int `cty:"version"` Documents []string `cty:"documents" steampipe:"watch"` Prefix *string `cty:"prefix"` }
Config is a go type to represent the plugin config.
func GetConfig ¶
func GetConfig(connection *plugin.Connection) Config
GetConfig :: retrieve and cast connection config from query data
Click to show internal directories.
Click to hide internal directories.