Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSDK ¶
type ClientSDK struct { // CurrentDir sets the path for sgen to run in. Defaults to the // current directory. CurrentDir string // TemplateData is the dynamic data parts fetched and assumed from // the swagger.yaml file to render the client api sdk. TemplateData }
func (*ClientSDK) Render ¶
Render renders the client api sdk from the given templates using the swagger configuration data loaded by viper and applying it to the templates to render a set of .go files.
func (*ClientSDK) RenderClient ¶
Render renders the client api sdk from the given templates using the swagger configuration data loaded by viper and applying it to the templates to render a set of .go files.
type Operation ¶
type Operation struct { Path string Props spec.OperationProps }
Click to show internal directories.
Click to hide internal directories.